Cara Mengkonfigurasikan Voip Antar Kota ( VOIP NETWORK )
Bismillahirrahmanirrahim,
Assalamualaikum warahmatullahi wabarakatuh,
1. Masuk ke aplikasi Cisco Packet Tracer dan buat topologi seperti berikut.
Ket :
A. Pada Kota Bekasi :
Network 192.168.10.0/24
1 router jenis 2811
1 switch
3 IpPhone
Kabel straight
B. Pada Kota Bogor :
Network 192.168.20.0/24
1 router jenis 2811
1 switch
3 IpPhone
kabel straight
3. Lakukan konfigurasi di switch pada Kota Bekasi.
Berikut scriptnya :
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#interface range fastethernet0/1-3
SW1(config-if-range)#switchport voice vlan 1
SW1(config-if-range)#exit
SW1(config)#
%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
4. Lakukan konfigurasi di router pada Kota Bekasi.
Berikut scriptnya :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#interface fastethernet0/0
R1(config-if)#no shutdown
R1(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
R1(config-if)#exit
R1(config)#ip dhcp pool voice
R1(dhcp-config)#network 192.168.10.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.10.1
R1(dhcp-config)#option 150 ip 192.168.10.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.10.1
Router(config)#interface fastethernet0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#exit
R1(config)#telephony-service
R1(config-telephony)#max-ephones 3
R1(config-telephony)#max-dn 3
R1(config-telephony)#ip source-address 192.168.10.1 port 2000
R1(config-telephony)#auto assign 1 to 5
R1(config-telephony)#auto assign 4 to 6
R1(config-telephony)#exit
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)#exit
Routephone-dn 1ephone-dn 2
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.10.2 Socket:2 DeviceType:Phone has registered.
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
R1(config-number 1001number 1002
R1(config-ephone-exitexit
Routephone-dn 2ephone-dn 3
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
R1(config-number 1002number 1002
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.10.3 Socket:2 DeviceType:Phone has rnumber 1003
R1(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.10.4 Socket:2 DeviceType:Phone has registered.
R1(config-number 1003number 1003
R1(config-ephone-dn)#exit
6. Lakukan konfigurasi di switch pada Kota Bogor.
Berikut scriptnya :
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#h SW2
SW2(config)#int ra f0/1-3
SW2(config-if-range)#sw voi vl 1
SW2(config-if-range)#exit
SW2(config)#
7. Lakukan konfigurasi di router pada Kota Bogor.
Berikut scriptnya :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#interface fastethernet0/0
R2(config-if)#no shutdown
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)#exit
R2(config)#ip dhcp pool voice
R2(dhcp-config)#network 192.168.20.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.20.1
R2(dhcp-config)#option 150 ip 192.168.20.1
R2(dhcp-config)#exit
R2(config)#ip dhcp excluded-address 192.168.20.1
R2(config)#interface fastethernet0/0
R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#exit
R2(config)#telephony-service
R2(config-telephony)#max-ephones 2
R2(config-telephony)#max-dn 2
R2(config-telephony)#ip source-address 192.168.20.1 port 2000
R2(config-telephony)#auto assign 1 to 5
R2(config-telephony)#auto assign 4 to 6
R2(config-telephony)#exit
R2(config)#ephone-dn 1
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
R2(config-ephone-dn)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.20.2.
number 2001
R2(config-ephone-dn)#exit
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.2 Socket:2 DeviceType:Phone has registered.
R2(config)#ephone-dn 2
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
number 2002
R2(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.20.3 Socket:2 DeviceType:Phone has registered.
R2(config-ephone-dn)#ephone-dn 3
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
R2(config-ephone-dn)#number 2003
R2(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.4 Socket:2 DeviceType:Phone has registered.
R2(config-ephone-dn)#exit
R2(config)#
10. Lakukan konfigurasi Routing pada router Kota Bekasi dan Bogor.
Berikut scriptnya :
A. Pada Kota Bekasi
R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastethernet0/1
R1(config-if)#ip address 30.30.30.1 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R1(config)#router ospf 1
R1(config-router)#network 192.168.10.0 255.255.255.0 area 0
R1(config-router)#network 30.30.30.0 255.255.255.252 area 0
R1(config-router)#exit
B. Pada Kota Bogor
R2(config)#interface fastethernet0/1
R2(config-if)#ip address 30.30.30.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config)#interface fastethernet0/0
R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#network 192.168.20.0 255.255.255.0 area 0
R2(config-router)#network 30.30.30.0 255.255.255.252 area 0
R2(config-router)#exit
11. Lakukan konfigurasi dial peer pada router Kota Bekasi dan Bogor.
Berikut scriptnya :
A. Pada Kota Bekasi
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.
B. Pada Kota Bogor
R2(config)#dial-peer voice 200 voip
R2(config-dial-peer)#session target ipv4:30.30.30.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.
Assalamualaikum warahmatullahi wabarakatuh,
Kali ini saya akan melanjutkan pembelajaran dalam mata pelajaran Teknologi Layanan Jaringan (TLJ). Pada kesempatan kali saya akan memberikan cara konfigurasi Connect VoIP Network. Pada blog saya sebelumnya sudah ada konfigurasi VoIP dan konfigurasi VoIP dengan Vlan. Nah pada kesempatan ini saya mencoba melakukan konfigurasi VoIP network. Jadi kita akan membuat jaringan VoIP antar kota. Berikut tutorialnya..
1. Masuk ke aplikasi Cisco Packet Tracer dan buat topologi seperti berikut.
Ket :
A. Pada Kota Bekasi :
Network 192.168.10.0/24
1 router jenis 2811
1 switch
3 IpPhone
Kabel straight
B. Pada Kota Bogor :
Network 192.168.20.0/24
1 router jenis 2811
1 switch
3 IpPhone
kabel straight
2. Kita colokkan terlebih dahulu kabel adapternya pada semua IpPhone. Klik IpPhone lalu klik kabel adapternya lalu ditahan dan digeser seperti tanda dibawah ini.
3. Lakukan konfigurasi di switch pada Kota Bekasi.
Berikut scriptnya :
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#interface range fastethernet0/1-3
SW1(config-if-range)#switchport voice vlan 1
SW1(config-if-range)#exit
SW1(config)#
%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
4. Lakukan konfigurasi di router pada Kota Bekasi.
Berikut scriptnya :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#interface fastethernet0/0
R1(config-if)#no shutdown
R1(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
R1(config-if)#exit
R1(config)#ip dhcp pool voice
R1(dhcp-config)#network 192.168.10.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.10.1
R1(dhcp-config)#option 150 ip 192.168.10.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.10.1
Router(config)#interface fastethernet0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#exit
R1(config)#telephony-service
R1(config-telephony)#max-ephones 3
R1(config-telephony)#max-dn 3
R1(config-telephony)#ip source-address 192.168.10.1 port 2000
R1(config-telephony)#auto assign 1 to 5
R1(config-telephony)#auto assign 4 to 6
R1(config-telephony)#exit
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)#exit
Routephone-dn 1ephone-dn 2
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.10.2 Socket:2 DeviceType:Phone has registered.
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
R1(config-number 1001number 1002
R1(config-ephone-exitexit
Routephone-dn 2ephone-dn 3
R1(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
R1(config-number 1002number 1002
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.10.3 Socket:2 DeviceType:Phone has rnumber 1003
R1(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.10.4 Socket:2 DeviceType:Phone has registered.
R1(config-number 1003number 1003
R1(config-ephone-dn)#exit
5. Lakukan pengecekan apakah antar IpPhone pada Kota Bekasi sudah bisa saling terhubung atau belum. Kita masukkan nomer yang akan dituju lalu enter. Jika berhasil maka akan ada sinyal lampu menyala-nyala. Kita lihat jika sudah terhubung maka statusnya akan connected.
6. Lakukan konfigurasi di switch pada Kota Bogor.
Berikut scriptnya :
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#h SW2
SW2(config)#int ra f0/1-3
SW2(config-if-range)#sw voi vl 1
SW2(config-if-range)#exit
SW2(config)#
7. Lakukan konfigurasi di router pada Kota Bogor.
Berikut scriptnya :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#interface fastethernet0/0
R2(config-if)#no shutdown
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)#exit
R2(config)#ip dhcp pool voice
R2(dhcp-config)#network 192.168.20.0 255.255.255.0
R2(dhcp-config)#default-router 192.168.20.1
R2(dhcp-config)#option 150 ip 192.168.20.1
R2(dhcp-config)#exit
R2(config)#ip dhcp excluded-address 192.168.20.1
R2(config)#interface fastethernet0/0
R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#exit
R2(config)#telephony-service
R2(config-telephony)#max-ephones 2
R2(config-telephony)#max-dn 2
R2(config-telephony)#ip source-address 192.168.20.1 port 2000
R2(config-telephony)#auto assign 1 to 5
R2(config-telephony)#auto assign 4 to 6
R2(config-telephony)#exit
R2(config)#ephone-dn 1
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
R2(config-ephone-dn)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.20.2.
number 2001
R2(config-ephone-dn)#exit
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.2 Socket:2 DeviceType:Phone has registered.
R2(config)#ephone-dn 2
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
number 2002
R2(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.20.3 Socket:2 DeviceType:Phone has registered.
R2(config-ephone-dn)#ephone-dn 3
R2(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
R2(config-ephone-dn)#number 2003
R2(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.4 Socket:2 DeviceType:Phone has registered.
R2(config-ephone-dn)#exit
R2(config)#
8. Lakukan pengecekan apakah antar IpPhone pada Kota Bogor sudah bisa saling terhubung atau belum. Kita masukkan nomer yang akan dituju lalu enter. Jika berhasil maka akan ada sinyal lampu menyala-nyala. Kita lihat jika sudah terhubung maka statusnya akan connected.
9. Nah sekarang kita coba untuk melakukan panggilan dari Kota Bekasi ke Kota Bogor. Masukkan nomor yang akan dituju lalu enter. Bisa kita lihat dibawah ini ada notifikasi unknown number yang artinya bahwa telepon belum bisa tersambung. Hal ini dikarenakan kita belum melakukan konfigurasi antar networknya atau konfigurasi routing.
10. Lakukan konfigurasi Routing pada router Kota Bekasi dan Bogor.
Berikut scriptnya :
A. Pada Kota Bekasi
R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastethernet0/1
R1(config-if)#ip address 30.30.30.1 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R1(config)#router ospf 1
R1(config-router)#network 192.168.10.0 255.255.255.0 area 0
R1(config-router)#network 30.30.30.0 255.255.255.252 area 0
R1(config-router)#exit
B. Pada Kota Bogor
R2(config)#interface fastethernet0/1
R2(config-if)#ip address 30.30.30.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config)#interface fastethernet0/0
R2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#network 192.168.20.0 255.255.255.0 area 0
R2(config-router)#network 30.30.30.0 255.255.255.252 area 0
R2(config-router)#exit
11. Lakukan konfigurasi dial peer pada router Kota Bekasi dan Bogor.
Berikut scriptnya :
A. Pada Kota Bekasi
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.
B. Pada Kota Bogor
R2(config)#dial-peer voice 200 voip
R2(config-dial-peer)#session target ipv4:30.30.30.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.
12. Terakhir lakukan percobaan penelponan dari Kota Bekasi ke Kota Bogor apakah sudah tersambung atau belum. Bisa kita lihat seperti dibawah ini bahwa koneksi telepon antar kota sudah tersambung. Maka statusnya connected.
Alhamdulillah,,Oke sekian mungkin ilmu yang saya dapat bagikan,, kurang lebih nya mohon maaf dan saya senang bila kalian memberikan komentar agar saya dapat evaluasi lebih lanjut,akhir kata wabilahitaufikwalfidayyah wassalammualaikum warahmatullahi wabarakatuh..
Komentar
Posting Komentar