Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

DHCP on 1721. Router

I have a 1721 router with basic IOS that I want to configure DHCP on.

The basic commands would be

Router (config) # IP dhcp pool pool-x

Router (dhcp-config) # network 192.31.46.0 255.255.255.0

Router (dhcp-config) # default router 192.31.46.1

Router (dhcp-config) # dhcp-config dns-server 10.4.2.20

Router (dhcp-config) # dhcp-config netbios-name-server 10.4.2.20

Please confirm if the basic commands are correct.

Now, my query, is how do I EXCLUDE an IP address or range of addresses(eg 192.31.46.1 to 192.31.46.48) from being assigned via the interface from the DHCP Scope?

The IP addresses shown above are assumed.

1 REPLY
VIP Purple

Re: DHCP on 1721. Router

Hello,

your proposed configuration is ok. To exclude the desire range, add the following line in global configuration mode:

ip dhcp excluded-address 192.31.46.1 192.31.46.48

Regards,

Georg

95
Views
0
Helpful
1
Replies
CreatePlease to create content