Router>enable
Router#configure terminal
Router(config)# no ip dhcp use
vrf connected
Router(config)# ip dhcp
excluded-address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Router(config)# ip dhcp
excluded-address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Router(config)#ip dhcp pool
pool1
Router(dhcp-config)#network xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Router(dhcp-config)#default_router xxx.xxx.xxx.xxx
Router(dhcp-config)#Domain-name pool2
Router(dhcp-config)#dns-server xxx.xxx.xxx.xxx
Router(dhcp-config)#option 150 ip xxx.xxx.xxx.xxx
Router(dhcp-config)# lease
infinite
Router(dhcp-config)#exit
Router(config)#ip dhcp pool
domain2
Router(dhcp-config)#network xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Router(dhcp-config)#default_router xxx.xxx.xxx.xxx
Router(dhcp-config)#Domain-name
domain2
Router(dhcp-config)#dns-server xxx.xxx.xxx.xxx
Router(dhcp-config)#option 150 ip xxx.xxx.xxx.xxx
Router(dhcp-config)# lease
infinite
Router(dhcp-config)#end
Router#write
DHCP Option list
http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml
DHCP Option list
http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml
No comments:
Post a Comment