DHCP Protocol

 dhcp protocal



Router>enable

Router#configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#interface GigabitEthernet0/0

Router(config-if)#ip address 192.168.10.1 255.255.255.0

Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up


Router(config-if)#ex

Router(config)#ip dhcp pool agrawal

Router(dhcp-config)#default-router 192.168.10.1

Router(dhcp-config)#network 192.168.10.0 255.255.255.0

Router(dhcp-config)#dns-server 8.8.8.8

Router(dhcp-config)#ex

Router(config)#


Comments

Popular Posts