Can't get DHCP IP, may be avahi related

J. Pablo Fernández pupeno at pupeno.com
Thu Jun 28 20:35:08 UTC 2007


On Wednesday 27 June 2007 00:34:29 Terence Simpson wrote:
> J. Pablo Fernández wrote:
> > Furthermore, my routing table seems to have some remains of this avahi
> > thing: $ route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface 172.28.3.0      0.0.0.0         255.255.255.0   U     0      0     
> >   0 eth0 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0  
> >      0 eth0 0.0.0.0         172.28.3.254    0.0.0.0         UG    0     
> > 0        0 eth0
> >
> > but I don't have the avahi thing anymore so I don't have any IPs in the
> > 169... network:
> >
> > 1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
> >     inet 127.0.0.1/8 scope host lo
> > 2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen
> > 1000 inet 172.28.3.205/24 brd 172.28.3.255 scope global eth0
> >
> > Isn't it invalid to have such a route? I've tried deleting it, maybe I've
> > got the syntax wrong, but I couldn't do it:
>
> No, that's the avahi route.

I know it is an avahi route, but as far as I know, to have a route you have to 
have an IP for that route, and I have the avahi route without any avahi IP.

> > pupeno at silver:~$ sudo route del 169.254.0.0
> > SIOCDELRT: No such process
> >
> > Any ideas what's going on and/or how to fix it? Anyone experiencing
> > something similar?
> >
> > Thank you
>
> It's unlikely that avahi would stop you getting an IP address, you only
> get an avahi address when you don't get a DHCP/static IP address. Avahi
> won't do anything if you can get a normal IP address.

Ok, then it's not avahi, it is something else and avahi running is just part 
of the sympthon.
-- 
J. Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)




More information about the kubuntu-users mailing list