Coenraad Loubser wrote:
> Tauno Voipio wrote:
> > Coenraad Loubser wrote:
> >
> >> Hi All
> >>
> >> I'm looking for a quick fix:
> >>
> >> I've got several pc's connected wirelessly to a linux server doing
DHCP.
> >>
> >> login as: donkey
> >> Password:
> >> Last login: Thu Apr 14 21:18:18 2005 from frog.peanuts.org.za
> >> Have a lot of fun...
> >> www:~ # killproc dhcpd
> >> www:~ # dhcpd
> >> Internet Systems Consortium DHCP Server V3.0.2rc3
> >> Copyright 2004 Internet Systems Consortium.
> >> All rights reserved.
> >> For info, please visit http://www.isc.org/sw/dhcp/
> >> Wrote 0 deleted host decls to leases file.
> >> Wrote 0 new dynamic host decls to leases file.
> >> Wrote 30 leases to leases file.
> >>
> >> DHCP works beautifully...
> >>
> >> Some of the wireless clients are running Windows XP, software
bridging
> >> to switches and other pcs. These other PC's also get their
assigned IP
> >> adresses.
> >>
> >> Now I have a unique problem. I need some of these PC's that
provide
> >> the software bridging to be assigned specific IP addresses via
DHCP.
> >>
> >> Problem is, soon as I tell my DHCP server to give a specific IP to
a
> >> specific MAC, it assigns that IP to the bridging machine, and all
the
> >> devices bridged by it. Consequently only the bridging machine's
> >> networking works.
> >>
> >> Free trips to the Comores to eveyrone with answers!!!
> >> 
> >>
> >> Coenraad
> >
> >
> > Can you use something else than the MAC as the client
> > identifier for the bridging hosts?
> >
> > Your problem is in the very nature of bridging and using
> > the bridge MAC as client ID.
> >
> > Maybe putting a DHCP relay in the bridging hosts could
> > avoid sending the bridge MAC as the ID for the hosts
> > behind the bridge.
> >
> > Just my EUR 0.02...
> >
>
> Thanks, as I suspected. Now if only I could find out what else I can
use
> for this DHCP server to know this pc needs that address...
>
> Another thing.. whats up with this DHCP server, why does it pick
random
> IP's cant it just stick to one per host... Hmm
> weird, how does it anyway assign different IP's to the bridged
clients
> under normal circumstances?
>
> Computers suck
Not always ... but
As T.V. suggests, you probably ought to sniff the wire and see exactly
what's passing between the client and server.
That said, I'm suggesting you look at dhcp option "client-identifier"
as a way to key on the "special" machines.
In Linux, it's pretty easy to set client-identifier but in XP it's a
pain-in-the-arse (so what's new, right?).
In Linux, just look at the man pages:
http://default.co.yu/~bc/rtfm/index....=dhclient.conf
and search for "send {" [no quotes]
and look here:
http://default.co.yu/~bc/rtfm/index....d=dhcp-options
for
option dhcp-client-identifier
This is really just a string meant to signify a specific client
regardless of it's MAC address. Normally, it's set to the MAC, but can
be set to something else.
And now we come to Windows. I won't try to explain or vouch for it's
effectiveness. Look here to see the "official" POV:
http://support.microsoft.com/kb/q172408/
My real qualm has to do with just _what_ the wireless AP is futzing
with. I _assume_ it's the MAC address field from the BOOTP days. If
it's mucking with the clientID option, then all bets are off. In case
you have not guessed, I'm pretty "wireless illiterate" re: the details
of wireless bridging.
To take a look at the header layout of DHCP, see:
http://www.networksorcery.com/enp/protocol/dhcp.htm
and
http://www.networksorcery.com/enp/pr...tp/options.htm
The RFC for dhcp is here:
http://www.faqs.org/rfcs/rfc2131.html
and maybe something useful here:
http://www.faqs.org/rfcs/rfc2132.html
hth,
prg