R1#configure terminal
R1(config)#ip dhcp pool NET-192.168.1.0R1(dhcp-config)#default-router 192.168.1.1
R1(dhcp-config)#dns-server 192.168.1.2
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10

No comments:
Post a Comment