[lug] DHCP whining...
Alan Robertson
alanr at suse.com
Wed Apr 12 06:21:04 MDT 2000
Ralf Mattes wrote:
>
> On Wed, 12 Apr 2000, Alan Robertson wrote:
>
> > Hi,
> >
> > I've been trying to get DHCP going on my SuSE 6.3 laptop. I have fixed
> > IP address enet going fine. But, when it comes to DHCP, I'm clueless.
> >
> > I reconfigured things with yast to use dhcp, but so far no luck.
> >
> > eth0 Link encap:Ethernet HWaddr 08:00:46:05:DB:47
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:147 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:0 errors:2372 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:100
> > Interrupt:9 Base address:0x5000
> >
> >
> > I run dhclient, but when it tries to send packets on eth0, I get this:
> >
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
> > send_packet: No such device
> >
> > So... What am I doing wrong? ifconfig shows eth0 as present.
> >
>
> 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"?
sudo /sbin/route add -host 255.255.255.255 eth0
SIOCADDRT: No such device
This is what happens when I tried this...
-- Alan Robertson
alanr at suse.com
More information about the LUG
mailing list