Voip network remote site

 Voip Network Remote Site

nama    : M al haytami
kelas    : XI TKJA

Langkah - langkah    :

1. Setting Voice Vlan 1 di switch 0


Pada konfigurasi ini kita akan men-set port untuk mengakses vlan voice, Klik pada Switch, pilih
Tab CLI kemudian ketikan perintah berikut :
Press RETURN to get started!
Switch>enable 
Switch#configure terminal
Switch(config)#host SW1
SW1(config)#int ra fa0/2–4
SW1(config-if-range)#switchport voice vlan 1
SW1(config-if-range)#exit
SW1(config)#exit
  • pada perintah diatas "interface range fastEthernet 0/2-4" untuk melakukankonfigurasi pada beberapa interface sekaligus.
  • perintah "switchport voice vlan 1" untuk menset interface 0/1 - 0/5 untukmengakses voice vlan 1.

2. Setting Voice Vlan 1 di switch 1



Pada konfigurasi ini kita akan men-set port untuk mengakses vlan voice, Klik pada Switch, pilih
Tab CLI kemudian ketikan perintah berikut :
Press RETURN to get started!
Switch>enable 
Switch#configure terminal
Switch(config)#host S2
S2(config)#int ra fa0/2–3
S2(config-if-range)#switchport voice vlan 1
S2(config-if-range)#exit
S2(config)#exit
 pada perintah diatas "interface range fastEthernet 0/2-3" untuk melakukan
konfigurasi pada beberapa interface sekaligus.

 perintah "switchport voice vlan 1" untuk menset interface 0/1 - 0/5 untuk
mengakses voice vlan 1.

3. Setting IP DHCP di Router 0





Klik pada router, pilih Tab CLI kemudian ketikan perintah berikut :
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>enable
Router#configure terminal 
Router#host R1 
R1(config)#int fa0/0
R1(config-if)#no sh
R1(config-if)#ex
R1(config_if)#ip dhcp pool voice
R1(config-if)#network 192.168.20.0 255.255.255.0
R1(config-if)#default-router 192.168.20.1
R1(config-if)#option 150 ip 192.168.20.1
R1(config-if)#ex
R1(config)#ip dhcp excluded-address 192.168.20.1
R1(config)# int fa0/0
R1(config-if)#ip add 192.168.20.1 255.255.255.0
R1(config-if)#ex

4. Setting Telephony service di Router 0


R1(config)#telephony-service
R1(config-telephony)#max-ephones 3
R1(config-telephony)#max-dn 3
R1(config-telephony)#ip source-address 192.168.20.1 port 2000
R1(config-telephony)#auto assign 1 to 5
R1(config-telephony)#auto assign 4 to 6
R1(config-telephony)#ex
R1(config)#ephone-dn 1
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1,
changed state to up

R1(config-ephone-dn)#number 1001
R1(config-ephone-dn)#ephone-dn 2
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1,
changed state to up

%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.2 Socket:2
DeviceType:Phone has registered.

R1(config-ephone-dn)#number 1002
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.20.3 Socket:2
DeviceType:Phone has registered.

R1(config-ephone-dn)#ephone-dn 3
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1,
changed state to up

R1(config-ephone-dn)#number 1003
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.20.4 Socket:2
DeviceType:Phone has registered.

Open Shortest Path First (OSPF) adalah sebuah protokol routing otomatis (Dynamic
Routing) yang mampu menjaga, mengatur dan mendistribusikan informasi routing
antar network mengikuti setiap perubahan jaringan secara dinamis.

5. Setting Remote Site Router di Router 0 (Routing)





R1(config)#int fa0/1
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R1(config-if)#ip add 30.30.30.1 255.255.255.252
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,
changed state to up

R1(config)#router ospf 1
R1(config-router)#network 192.168.20.0 255.255.255.0 area 0
R1(config-router)#network 30.30.30.0 255.255.255.252 area 0
R1(config-router)#ex
R1(config)#
02:38:41: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.24.1 on
FastEthernet0/1 from LOADING to FULL, Loading Done

R1(config)#do sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
30.0.0.0/30 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/1
C 192.168.20.0/24 is directly connected, FastEthernet0/0

O 192.168.24.0/24 [110/2] via 30.30.30.2, 00:00:25, FastEthernet0/1

R1(config)#dial-peer voice 200 voip
R1(config-dial-peer)#session target ipv4:30.30.30.2
R1(config-dial-peer)#destination-pattern 2001
R1(config-dial-peer)#destination-pattern 2002
R1(config-dial-peer)#destination-pattern 2003
R1(config-dial-peer)#destination-pattern 200.
R1(config-dial-peer)#ex
R1(config)#

6. Setting IP DHCP di Router 1


Klik pada router, pilih Tab CLI kemudian ketikan perintah berikut :
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!

Router>enable
Router#configure terminal 
Router#host R2 
R2(config)#int fa0/0
R1(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,
changed state to up
R2(config-if)#ex
R2(config_if)#ip dhcp pool voice
R2(config-if)#network 192.168.24.0 255.255.255.0
R2(config-if)#default-router 192.168.24.1
R2(config-if)#option 150 ip 192.168.24.1
R2(config-if)#ex
R2(config)#ip dhcp excluded-address 192.168.24.1
R2(config)# int fa0/0
R2(config-if)#ip add 192.168.24.1 255.255.255.0
R2(config-if)#ex

7. Setting Telephony service di Router 1


R2(config)#telephony-service
R2(config-telephony)#max-ephones 2
R2(config-telephony)#max-dn 2
R2(config-telephony)#ip source-address 192.168.24.1 port 2000
R2(config-telephony)#auto assign 1 to 5
R2(config-telephony)#auto assign 4 to 6
R2(config-telephony)#ex
R2(config)#ephone-dn 1

R2(config-ephone-dn)#number 2001
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1,
changed state to up

R2(config-ephone-dn)#ephone-dn 2
R2(config-ephone-dn)#number 2002
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.24.3 Socket:2
DeviceType:Phone has registered.

R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1,
changed state to up

R1(config-ephone-dn)#ex
R1(config)#

8. Setting Remote Site Router di Router 1 (Routing)



R2(config)#int fa0/1
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R1(config-if)#ip add 30.30.30.2 255.255.255.252
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,
changed state to up

R1(config)#router ospf 1
R1(config-router)#network 192.168.24.0 255.255.255.0 area 0
R1(config-router)#network 30.30.30.0 255.255.255.252 area 0
R1(config-router)#ex
R1(config)#
02:38:33: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.20.1 on
FastEthernet0/1 from LOADING to FULL, Loading Done

R1(config)#do sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
30.0.0.0/30 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/1

C 192.168.20.0/24 is directly connected, FastEthernet0/0
O 192.168.24.0/24 [110/2] via 30.30.30.1, 00:00:51, FastEthernet0/1

R1(config)#dial-peer voice 200 voip
R1(config-dial-peer)#session target ipv4:30.30.30.1
R1(config-dial-peer)#destination-pattern 1001
R1(config-dial-peer)#destination-pattern 1002
R1(config-dial-peer)#destination-pattern 1003
R1(config-dial-peer)#destination-pattern 100.
R1(config-dial-peer)#ex
R1(config)#

Komentar

Postingan populer dari blog ini

VoIP menggunakan VLAN