Oke,,bertemu lagi dengan saya Mukti satria,pada Blog saya kali ini saya akan membahas"BAGAIMANA SIH KONFIGURASI DHCP SERVER 2 ROUTER".
Okee,Lansung saja ke materi.
Topologi
konfigurasi Router 1
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enaRouter>enable
Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname router1-DHCPSERVER
router1-DHCPSERVER(config)#int
router1-DHCPSERVER(config)#interface fa
router1-DHCPSERVER(config)#interface fastEthernet 0/0
router1-DHCPSERVER(config-if)#ip add
router1-DHCPSERVER(config-if)#ip address 192.168.2.3 255.255.255.0
router1-DHCPSERVER(config-if)#no shut
router1-DHCPSERVER(config-if)#no shutdown
router1-DHCPSERVER(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
router1-DHCPSERVER(config-if)#exit
router1-DHCPSERVER(config)#ip dhcp pool SERVER
router1-DHCPSERVER(dhcp-config)#defa
router1-DHCPSERVER(dhcp-config)#default-router 192.168.2.3
router1-DHCPSERVER(dhcp-config)#net
router1-DHCPSERVER(dhcp-config)#network 192.168.2.0 255.255.255.0
router1-DHCPSERVER(dhcp-config)#dns
router1-DHCPSERVER(dhcp-config)#dns-server 192.168.2.3
router1-DHCPSERVER(dhcp-config)#exit
router1-DHCPSERVER(config)#ip dhcp
router1-DHCPSERVER(config)#ip dhcp ex
router1-DHCPSERVER(config)#ip dhcp excluded-address 192.168.2.3 192.168.2.4
router1-DHCPSERVER(config)#exit
router1-DHCPSERVER#
%SYS-5-CONFIG_I: Configured from console by console
router1-DHCPSERVER#copy
router1-DHCPSERVER#copy runn
router1-DHCPSERVER#copy running-config star
router1-DHCPSERVER#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Konfigurasi Router 2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router>enable
Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostn
Router(config)#hostname Router2-DHCPSERVER
Router2-DHCPSERVER(config)#int
Router2-DHCPSERVER(config)#interface fa
Router2-DHCPSERVER(config)#interface fastEthernet 1/0
Router2-DHCPSERVER(config-if)#ip add
Router2-DHCPSERVER(config-if)#ip address 192.168.4.3
Router2-DHCPSERVER(config-if)#no shut
Router2-DHCPSERVER(config-if)#no shutdown
Router2-DHCPSERVER(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
Router2-DHCPSERVER(config-if)#exit
Router2-DHCPSERVER(config)#ip dhcp pool SERVER
Router2-DHCPSERVER(dhcp-config)#net
Router2-DHCPSERVER(dhcp-config)#defa
Router2-DHCPSERVER(dhcp-config)#default-router 192.168.4.3
Router2-DHCPSERVER(dhcp-config)#net
Router2-DHCPSERVER(dhcp-config)#network 192.168.4.0 255.255.255.0
Router2-DHCPSERVER(dhcp-config)#dns
Router2-DHCPSERVER(dhcp-config)#dns-server 192.168.4.3
Router2-DHCPSERVER(dhcp-config)#exit
Router2-DHCPSERVER(config)#ip dhcp ex
Router2-DHCPSERVER(config)#ip dhcp excluded-address 192.168.4.3 192.168.4.4
Router2-DHCPSERVER(config)#exit
Router2-DHCPSERVER#
%SYS-5-CONFIG_I: Configured from console by console
Router2-DHCPSERVER#copy runn
Router2-DHCPSERVER#copy running-config star
Router2-DHCPSERVER#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router2-DHCPSERVER#
konfigurasi ip address tiap komputer(PC) 1
keterangan:Ceklis DHCP,seperti berikut.
keterangan:sama seperti di atas ceklis DHCP.
Demikian lah cara konfigurasi DHCP SERVER 2 ROUTER telah selesai semoga bermanfaat bagi pembacanya.
wasalamualaikum wr.wb
No comments:
Post a Comment