From: Kenneth Wygand (KWygand@customonline.com)
Date: Thu Oct 14 2004 - 14:56:24 GMT-3
Tim,
Here's a clue. You didn't mention what you wanted the subnet mask to be
on your clients: 255.255.255.0 or 255.255.255.128 or something else.
Does the question state this?
If so, how does the DHCP server (which is a router, in your case) know
what subnet mask to distribute to a client's request? This is a field
that must be distributed in the server's "DHCP offer" packet to a
clients "DHCP Request" packet.
Once you have the answer to this, you answered your own question. ;-)
Kenneth E. Wygand
Systems Engineer, Project Services
CCIE #13720, CISSP #37102, CCNP/DP, ACSP,
Cisco IPT Design Specialist, MCP, CNA, Network+, A+
Custom Computer Specialists, Inc.
"Failure only occurs at the point in which one stops trying."
-Anonymous
Custom Computer Specialists, Inc.
"Celebrating 25 Years of Excellence"
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ccie2be
Sent: Thursday, October 14, 2004 1:42 PM
To: Group Study
Subject: DHCP
Hi guys,
I need to configure dhcp to meet these requirements:
Assign ip addresses from 163.3.6.128 thorugh 163.3.6.250
Exclude ip address: 163.3.6.130
My solution was like this:
ip dhcp excluded-address 163.3.6.251 163.3.6.255
ip dhcp excluded-address 163.3.6.130
!
ip dhcp pool ADDRESSES
network 163.3.6.128 255.255.255.128 <-- Is this allowed?
However, the "official" solution was like this:
ip dhcp excluded-address 163.3.6.251 163.3.6.255
ip dhcp excluded-address 163.3.6.130
ip dhcp excluded-address 163.3.6.0 163.3.6.127
ip dhcp pool ADDRESSES
network 163.3.6.0 255.255.255.0
So, the only difference between my solution and the official solution
was that
I used a different subnet and mask and therefore shouldn't need to
exclude
host ip addresses from 0 to 127.
I can't test this, so I was wondering if my solution would work OK.
Thanks, Tim
This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:47 GMT-3