cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
252
Views
0
Helpful
1
Replies

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 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: