ip dhcp excluded-address 172.20.1.1 172.20.1.15
!
ip dhcp pool DHCPPOOL
network 172.20.1.0 255.255.255.0
default-router 172.20.1.1
dns-server 12.34.5.6
!
interface Ethernet0
ip address 172.20.1.1 255.255.255.0
There are plenty of other options you can set in the scope like netbios node type, wins server, etc. Also, you put multiple dns servers on the same line like this:
dns-server 12.34.5.6 78.90.12.3
Note that the excluded address is a global config. Go figure.
Hope this helps.
MadChef
For some reason I think that if you're using 11.x code, you need the IP plus feature set to do this, but I could be completely wrong. Test it out. It works in the main code line of 12.x, for sure.
[This message has been edited by MadChef (edited 01-08-2001).]
Report this post to a moderator
|