On Feb 7, 2006, at 11:26 AM, Iván Sánchez Ortega wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Martes 07 de Febrero de 2006 19:03, Marc Krochmal escribió:
[...] there's still many poor customers in the world that don't have the benefits of Zeroconf, [...] This doesn't work when you have two cameras on
the network that both use the same IP [...]

I can see your point. If Avahi returned the 192.168.x.x IPs for the cameras, I'd be running into that problem. So the right way for Avahi to do this is,
as you say, to use the 169.254.x.x addresses...

(I now wonder if windoze's uPnP can handle two cameras with the same
192.168.x.x IP... I guess not)

Nope, IP networking in general can't handle two machines with the same IP address.




[...]
169.254.x.x [...] So it sounds like your computer doesn't know about this
address range.

Yes; I now have a IP alias (eth0:0) with a 169.254.x.x address.

However, the default network configuration for most Linux boxes is to have just one IP, and not be aware of the 169.254.0.0 network. I guess that making Avahi aware of the routing table to decide whether to get the 169.154.x.x or
the 192.168.x.x IP would be a real mess.

Right, you don't need to configure an additional IP address on your box. You just need to add a routing table entry indicating that 169.254 addresses are local.

-Marc

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to