Wednesday, January 31, 2018

√ Dhcp Pool

DHCP pool

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown

%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)#exit
Router(config)#ip dhcp pool tasikmalaya
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.1.2 192.168.1.15
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#


ROUTER RIP
 ( 1 )
Router>en
Router#config t
Router(config)#interface fa0/0
Router(config-if)#ip a ddress 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#interface s0/0
Router(config-if)#ip address 202.10.10.100 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router rip
Router(config-router)#network 202.10.10.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 193.168.1.0
Router(config-router)#end
Router#show ip route


( 2 )
Router>en
Router#config t
Router(config)#interface fa0/0
Router(config-if)#ip address 193.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#interface s0/0
Router(config-if)#ip address 202.10.10.200 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router rip
Router(config-router)#network 202.10.10.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 193.168.1.0
Router(config-router)#end
Router#show ip route

Sumber http://farihinmuhamad.blogspot.com