DESAIN DHCP
SETTING ROUTER
-Klik Router
-Pilih CLI
-Isikan Script
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa 0/1
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(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
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa 0/1
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(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
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router(config-if)#no shutdown
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool cobadhcp
Router(dhcp-config)#network 192.168.10.1 255.255.255.0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router(config-if)#no shutdown
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool cobadhcp
Router(dhcp-config)#network 192.168.10.1 255.255.255.0
FastEthernet 0/1 di Router dan Switch harus sama
SETTING DHCP
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool cobadhcp
Router(dhcp-config)#network 192.168.10.3 255.255.255.0
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#exit
Router(config)#do write memory
Building configuration...
[OK]
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
IP ADDRESS saat di setting host ID di network harus sama dengan host ID di router
setting IP yang digunakan 192.168.10.1 dengan Network 192.168.10.2 & dengan network 192.168.10.3
IP CONFIG DHCP DI PC0
&
IP CONFIG DHCP DI PC1
IP CONFIG DHCP DI PC1