From: Huan Pham (Huan.Pham@peopletelecom.com.au)
Date: Tue Aug 12 2008 - 23:12:36 ART
Hi Si,
I do not see anything wrong with the first option
ip dhcp excluded-address 10.1.64.*0* 10.1.64.99
ip dhcp excluded-address 10.1.64.101 10.1.64.*255*
Technically, you do not even need to exclude the IP address of the
router interface, so if your router is 10.1.64.1, you only need
ip dhcp excluded-address 10.1.64.*2* 10.1.64.99
ip dhcp excluded-address 10.1.64.101 10.1.64.254
But I see nothing wrong with being over-conservative in the first case
when we exclude the addresses that the router already knows as not
useable.
http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_dhcp_
svr_cfg_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1046221
Excluding IP Addresses
Perform this task to specify IP addresses (excluded addresses) that the
DHCP server should not assign to clients.
The IP address configured on the router interface is automatically
excluded from the DHCP address pool. The DHCP server assumes that all
other IP addresses in a DHCP address pool subnet are available for
assigning to DHCP clients.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
CCIE3000
Sent: Tuesday, 12 August 2008 7:21 PM
To: Cisco certification
Subject: Is it wrong?? DHCP excluded addresses
Hi Guys,
What's your opinion on the following.
From the IE workbooks I've got in the habit of configuring something
along the following when doing DHCP stuff.
If you have a /24 bit pool and you want to only assign 10.1.64.100 via
dhcp
ip dhcp excluded-address 10.1.64.*0* 10.1.64.99 ip dhcp excluded-address
10.1.64.101 10.1.64.*255*
Now technically you only need to do the following:
ip dhcp excluded-address 10.1.64.*1*10.1.64.99 ip dhcp excluded-address
10.1.64.101 10.1.64.*254*
**
But is the first wrong if there are aren't any statements saying you
can't do it in such a manner.
I think the first is okay, can you think of a reason that if using such
a method you are doing something wrong?
Thanks,
Si.
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:30 ART