DHCP Server from Router


Configuration Script:

Router>enable

Router#conf terminal
Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.9

Router(config)#ip dhcp pool LAN_192

Router(dhcp-config)#network 192.168.1.0 255.255.255.0

Router(dhcp-config)#default-router 192.168.1.1

Router(dhcp-config)#dns-server 192.168.1.4
Router(dhcp-config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#write
Building configuration...
[OK]

Router#
Router#
Router#
Share this article :
 
Copyright © 2011. Telecommunication and IT Today - All Rights Reserved
Proudly powered by http://telecomedu.blogspot.com