Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

script dhcp server

ip pool add ranges=192.168.0.2-192.168.0.20 name=client


ip dhcp-server add address-pool=client interface=ether1 name=dhcp1
ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1 dns-server
=8.8.8.8
ip dhcp-server enable
script dhcp client
ip dhcp-client add interface=ether1 use-peer-dns=yes add-default-route=yes disa
bled=no

You might also like