[lug] DHCP whining...

Ralf Mattes rm at ns.aura.de
Wed Apr 12 08:27:30 MDT 2000


On Wed, 12 Apr 2000, Alan Robertson wrote:

> Ralf Mattes wrote:
> > 
> > [...]
> > 
> > > >
> > > > DHCP needs to send out his request to 255.255.255.255 (as the
> > > > message tells you). Is this address reachable via eth0 (you didn't
> > > > show us the routing). You need at least a host route to this
> > > > address.
> > > >
> > > >  Ralf
> > >
> > > I don't remember any routes like that at that time, but dhcp *has to* to
> > > do it's magic on an interface basis, so it shouldn't *need* a route.
> > > And, if that were the problem wouldn't it give "no route to host"?
> > 
> > Well, dhcp is somehow 'between' the layers. I remember this
> > route from the docs for dhcpd. AFAIK it's not possible to
> > send (and receive) pakets unless an interface is configured
> > (correct me if i'm wrong). I had the same problem recently
> > (during the GNOME conference in Paris); my 'quick hack'
> > solution was to give my eth0 a temporary ip-address and then
> > run 'dhclient' -- pretty ugly but it worked.
> > 
> > > sudo /sbin/route add -host 255.255.255.255 eth0
> > > SIOCADDRT: No such device
> > >
> > > This is what happens when I tried this...
> > 
> > Works for me :-/ What Kernel are you running?
> > 
> 
> 
> Linux kathyamy 2.2.13 #1 Mon Nov 8 15:37:25 CET 1999 i686 unknown  

Interesting! I just tried it on a 2.2.7 box and indeed it 
doesn't work (the box it works on is a 2.0.38). Strange ...

 Ralf

*-------------------------------------------------------------------*
|                                     |                             |==
| Ralf Mattes                         | rm at schauinsland.com         |==
| Programming, Administration         | rm at ns.aura.de               |==
|                                     |                             |==
*-------------------------------------------------------------------*==
   ====================================================================





More information about the LUG mailing list