Halo teman-teman pada kesempatan kali ini saya akan membuat Konfigurasi Voip Network to remote site 2 server,sebelum kita memulai membuat konfigurasinya sebaiknya kita harus membuat topologi seperti ini
dan jangan lupa menyalakan ip phone nya sebelum melakukan konfigurasi
Alat alat yang dibutuhkan :
2 router 2811
2 switch 2960
5 IP phone
Langkah-langkah konfigurasi:
KOTA 1
SWITCH 1
1. Setting ip range di switch 1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SW-01
SW-01(config)#int r fa0/1-3
SW-01(config-if-range)#sw voice vl 1
SW-01(config-if-range)#ex
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SW-01
SW-01(config)#int r fa0/1-3
SW-01(config-if-range)#sw voice vl 1
SW-01(config-if-range)#ex
ROUTER 1
1. Setting ip fa 0/0 dan fa 0/1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.18.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int fa0/1
R1(config-if)#ip add 18.18.18.1 255.255.255.252
R1(config-if)#no sh
R1(config-if)#ex
2. Setting ip dhcp
R1(config)#ip dhcp excluded-address 192.168.18.1
R1(config)#ip dhcp pool voice
R1(dhcp-config)#network 192.168.18.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.18.1
R1(dhcp-config)#option 150 ip 192.168.18.1
R1(dhcp-config)#ex
3.Setting ip phone
R1(config)#telephony-service
R1(config-telephony)#max-ephones 3
R1(config-telephony)#max-dn 3
R1(config-telephony)#ip source-address 192.168.18.1 port 2000
R1(config-telephony)#auto assign 1 to 4
R1(config-telephony)#ex
4. Setting dial number ip phone
R1(config)#ephone-dn 1
R1(config-ephone-dn)#number 1001
R1(config-ephone-dn)#ephone-dn 2
R1(config-ephone-dn)#number 1002
R1(config-ephone-dn)#ephone-dn 3
R1(config-ephone-dn)#number 1003
R1(config-ephone-dn)#ex
5. Setting OSPF pada router(single area)
R1(config)#router ospf 1
R1(config-router)#network 192.168.18.0 255.255.255.0 area 0
R1(config-router)#network 18.18.18.0 255.255.255.252 area 0
R1(config-router)#ex
7. Setting dial peer
R1(config)#dial-peer voice 200 voip
R1(config-dial-peer)#session target ipv4:18.18.18.2
R1(config-dial-peer)#destination-pattern 2001
R1(config-dial-peer)#destination-pattern 2002
R1(config-dial-peer)#destination-pattern 200.
R1(config-dial-peer)#ex
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.18.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int fa0/1
R1(config-if)#ip add 18.18.18.1 255.255.255.252
R1(config-if)#no sh
R1(config-if)#ex
2. Setting ip dhcp
R1(config)#ip dhcp excluded-address 192.168.18.1
R1(config)#ip dhcp pool voice
R1(dhcp-config)#network 192.168.18.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.18.1
R1(dhcp-config)#option 150 ip 192.168.18.1
R1(dhcp-config)#ex
3.Setting ip phone
R1(config)#telephony-service
R1(config-telephony)#max-ephones 3
R1(config-telephony)#max-dn 3
R1(config-telephony)#ip source-address 192.168.18.1 port 2000
R1(config-telephony)#auto assign 1 to 4
R1(config-telephony)#ex
4. Setting dial number ip phone
R1(config)#ephone-dn 1
R1(config-ephone-dn)#number 1001
R1(config-ephone-dn)#ephone-dn 2
R1(config-ephone-dn)#number 1002
R1(config-ephone-dn)#ephone-dn 3
R1(config-ephone-dn)#number 1003
R1(config-ephone-dn)#ex
5. Setting OSPF pada router(single area)
R1(config)#router ospf 1
R1(config-router)#network 192.168.18.0 255.255.255.0 area 0
R1(config-router)#network 18.18.18.0 255.255.255.252 area 0
R1(config-router)#ex
7. Setting dial peer
R1(config)#dial-peer voice 200 voip
R1(config-dial-peer)#session target ipv4:18.18.18.2
R1(config-dial-peer)#destination-pattern 2001
R1(config-dial-peer)#destination-pattern 2002
R1(config-dial-peer)#destination-pattern 200.
R1(config-dial-peer)#ex
KOTA 2
SWITCH 2
1. Setting ip range di switch 1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SW-02
SW-02(config)#int r fa0/1-2
SW-02(config-if-range)#sw voice vl 1
SW-02(config-if-range)#ex
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SW-02
SW-02(config)#int r fa0/1-2
SW-02(config-if-range)#sw voice vl 1
SW-02(config-if-range)#ex
ROUTER 2
1. Setting ip fa 0/0 dan fa 0/1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R2
R2(config)#int fa0/0
R2(config-if)#ip add 192.168.81.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int fa0/1
R2(config-if)#ip add 18.18.18.2 255.255.255.252
R2(config-if)#no sh
R2(config-if)#ex
2. Setting ip dhcp
R2(config)#ip dhcp excluded-address 192.168.81.1
R2(config)#ip dhcp pool voice
R2(dhcp-config)#network 192.168.81.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.81.1
R2(dhcp-config)#option 150 ip 192.168.81.1
R2(dhcp-config)#ex
3.Setting ip phone
R2(config)#telephony-service
R2(config-telephony)#max-ephones 3
R2(config-telephony)#max-dn 3
R2(config-telephony)#ip source-address 192.168.81.1 port 2000
R2(config-telephony)#auto assign 1 to 3
R2(config-telephony)#ex
3.Setting ip phone
R2(config)#ephone-dn 1
R2(config-ephone-dn)#number 2001
R2(config-ephone-dn)#ephone-dn 2
R2(config-ephone-dn)#number 2002
R2(config-ephone-dn)#ex
4. Setting dial number ip phone
R2(config)#router ospf 1
R2(config-router)#network 192.168.81.0 255.255.255.0 area 0
R2(config-router)#network 18.18.18.0 255.255.255.252 area 0
R2(config-router)#ex
7. Setting dial peer
R2(config)#dial-peer voice 200 voip
R2(config-dial-peer)#session target ipv4:18.18.18.1
R2(config-dial-peer)#destination-pattern 1001
R2(config-dial-peer)#destination-pattern 1002
R2(config-dial-peer)#destination-pattern 1003
R2(config-dial-peer)#destination-pattern 100.
R2(config-dial-peer)#ex
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R2
R2(config)#int fa0/0
R2(config-if)#ip add 192.168.81.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int fa0/1
R2(config-if)#ip add 18.18.18.2 255.255.255.252
R2(config-if)#no sh
R2(config-if)#ex
2. Setting ip dhcp
R2(config)#ip dhcp excluded-address 192.168.81.1
R2(config)#ip dhcp pool voice
R2(dhcp-config)#network 192.168.81.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.81.1
R2(dhcp-config)#option 150 ip 192.168.81.1
R2(dhcp-config)#ex
3.Setting ip phone
R2(config)#telephony-service
R2(config-telephony)#max-ephones 3
R2(config-telephony)#max-dn 3
R2(config-telephony)#ip source-address 192.168.81.1 port 2000
R2(config-telephony)#auto assign 1 to 3
R2(config-telephony)#ex
3.Setting ip phone
R2(config)#ephone-dn 1
R2(config-ephone-dn)#number 2001
R2(config-ephone-dn)#ephone-dn 2
R2(config-ephone-dn)#number 2002
R2(config-ephone-dn)#ex
4. Setting dial number ip phone
R2(config)#router ospf 1
R2(config-router)#network 192.168.81.0 255.255.255.0 area 0
R2(config-router)#network 18.18.18.0 255.255.255.252 area 0
R2(config-router)#ex
7. Setting dial peer
R2(config)#dial-peer voice 200 voip
R2(config-dial-peer)#session target ipv4:18.18.18.1
R2(config-dial-peer)#destination-pattern 1001
R2(config-dial-peer)#destination-pattern 1002
R2(config-dial-peer)#destination-pattern 1003
R2(config-dial-peer)#destination-pattern 100.
R2(config-dial-peer)#ex
Jika sudah berhasil maka ip phone antar router bisa terhubung
Sekian dari blog saya,semoga kalian bisa mengikuti dengan benar tutorial saya kali ini,terima kasih ^_^
Konfigurasi Voip Network to remote site 2 server
Reviewed by FaryzX
on
September 19, 2019
Rating:
Tidak ada komentar: