×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

DHCP on 1721. Router

Unanswered Question
Apr 20th, 2004
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Georg Pauwen Tue, 04/20/2004 - 08:29
User Badges:
  • Purple, 4500 points or more
  • Cisco Designated VIP,

    2017 WAN

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

Actions

This Discussion