[lug] DHCP whining...

Ralf Mattes rm at ns.aura.de
Wed Apr 12 07:05:35 MDT 2000


[...]

> > 
> > 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?

 Ralf 

*-------------------------------------------------------------------*
|                                     |                             |==
| Ralf Mattes                         | ralf.mattes at pyramid.de      |==
| Programming, Administration         | rm at ns.aura.de               |==
|                                     |                             |==
*-------------------------------------------------------------------*==
   ====================================================================





More information about the LUG mailing list