MEMBUAT
JARINGAN VOIP DENGAN 1 ROUTER,1 SWITCH,DAN 10 IPHONE.DI CISCO PAKET TRACKER.
BAHAN-BAHAN :
-1 BUAH ROUTER 2811
-1 BUAH SWITCH 2950-24
-10 BUAH IP IPHONE
SEBELUM MENULIS
SCRIPT KITA COLOKKAN KABEL IPHONE NYA TERLEBIH DAHULU.
LANGSUNG SAJA KITA
KETIK SCRIPTNYA
SCRIPT ROUTER
Router>en
Router#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#ip
dhcp pool voice
Router(dhcp-config)#network
192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router
192.168.1.1
Router(dhcp-config)#option
150 ip 192.168.1.1
Router(dhcp-config)#exit
Router(config)#ip
dhcp excluded-address 192.168.1.1
Router(config)#int
fastethernet 0/0
Router(config-if)#ip
add 192.1168.11.1 255.255.255.0
^
% Invalid input
detected at '^' marker.
Router(config-if)#ip
add 192.168.1.1 255.255.255.0
Router(config-if)#no
sh
Router(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
Router(config-if)#ex
Router(config)#telephony-service
Router(config-telephony)#max-ephone
10
Router(config-telephony)#max-dn
10
Router(config-telephony)#ip
source-address 192.168.1.1 port %DHCPD-4-PING_CONFLICT: DHCP address conflict:
server pinged 192.168.1.11.
%DHCPD-4-PING_CONFLICT:
DHCP address conflict: server pinged 192.168.1.12.
%DHCPD-4-PING_CONFLICT:
DHCP address conflict: server pinged 192.168.1.8.
% Incomplete
command.
Router(config-telephony)#ip
source-address 192.168.1.1 port 3000
Router(config-telephony)#auto
assign 4 to 6
Router(config-telephony)#auto
assign 1 to 10
Router(config-telephony)#ephone-dn
1
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 1.1, changed state to up
Router(config-ephone-dn)#number
1
Router(config-ephone-dn)#
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-1 IP:192.168.1.3 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
2
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 2.1, changed state to up
Router(config-ephone-dn)#number
2
Router(config-ephone-dn)#
Router(config-ephone-dn)#%DHCPD-4-PING_CONFLICT:
DHCP address conflict: server pinged 192.168.1.5.
%IPPHONE-6-REGISTER:
ephone-10 IP:192.168.1.6 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
3
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 3.1, changed state to up
Router(config-ephone-dn)#number
3
Router(config-ephone-dn)#
Router(config-ephone-dn)#%DHCPD-4-PING_CONFLICT:
DHCP address conflict: server pinged 192.168.1.12.
%IPPHONE-6-REGISTER:
ephone-6 IP:192.168.1.5 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
4
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 4.1, changed state to up
Router(config-ephone-dn)#number
4
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-8 IP:192.168.1.4 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
5
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 5.1, changed state to up
Router(config-ephone-dn)#number
5
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-4 IP:192.168.1.7 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
6
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 6.1, changed state to up
Router(config-ephone-dn)#number
6
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-3 IP:192.168.1.10 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
7
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 7.1, changed state to up
Router(config-ephone-dn)#number
7
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-9 IP:192.168.1.8 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
8
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 8.1, changed state to up
Router(config-ephone-dn)#number
8
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-7 IP:192.168.1.12 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
9
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 9.1, changed state to up
Router(config-ephone-dn)#number
9
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-2 IP:192.168.1.9 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#ephone-dn
10
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 10.1, changed state to up
Router(config-ephone-dn)#number
10
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-5 IP:192.168.1.11 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#
Router con0 is
now available
Press RETURN to
get started.
SCRIPT SWITCH
Switch>en
Switch#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
range fa0/1-24
Switch(config-if-range)#switch
voice vlan 1
Switch(config-if-range)#exit
Switch(config)#
%LINK-5-CHANGED:
Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet0/1, changed state to up
Switch con0 is
now available
Press RETURN to
get started.
DAN INI HASILNYA BERHASIL !!!