Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP question

Status
Not open for further replies.

Roberti

Technical User
Mar 2, 2001
96
0
0
NL
I'm configuring dhcp on our router, but I'm running into some problems.

we use mainly static addresses, like IP: 10.2.106.1 Subnet: 255.255.0.0
I want to setup dhcp to use addresses 10.2.3.0 - 10.2.3.255, but with subnet 255.255.0.0

When I type: network 10.2.3.0 255.255.0.0 it puts 10.2.0.0 255.255.0.0 in the config. This is to be expected, but is there a way to start the pool at 10.2.3.0 and end it with 10.2.3.255 at subnet 255.255.0.0?
 

Hei

You need to exclude the addresses you don't want...

----- -----
ip dhcp excluded-address ?
----- -----

Hope this helps. :)
--
--'?' is the most powerfull command on a cisco device.
--Use it & Use it often. :)
--
 
From global config mode use:

ip dhcp excluded-address 10.2.4.0 10.2.255.255

Peter Mesjar
CCNA, A+ certified
pmesjar@centrum.sk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top