Friday, November 30, 2007

CISCO DHCP configurations - sample

Username: cisco
Password:
CFN3>en
Password:
CFN3#config t
Enter configuration commands, one per line. End with CNTL/Z.
CFN3(config)#service dhcp
CFN3(config)#ip dhcp pool Mypool(can asssign any name you like)
CFN3(dhcp-config)#network 192.168.0.0 255.255.255.0 (your Network ID)
CFN3(dhcp-config)#dns-server 202.124.160.2 (your ISPs DNS servers)
CFN3(dhcp-config)#default-router 192.168.0.1
CFN3(dhcp-config)#lease 0 4 0
CFN3(dhcp-config)#ip dhcp excluded-address 192.168.0.10 192.168.0.20 (optional; if you want to exclude a range of IPs)
ARC3(config)#exit
ARC3#copy run startup-config ( write the changes you have made on the router)

0 Comments:

Post a Comment

<< Home