[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03653) Re: Multicast on loopback



Thanks David for this insightfull answer.

Basically, I was surprised by the different behavior between FreeBSD and Linux. I thought that something was missing in multicast handling for loopback in usagi. But maybe I am putting too much confidence in the FreeBSD stack ;) I will try to get a more precise idea by digging RFCs :] I will also try to look for another architecture where DHCP will not run on loopback ...

Thanks for your help !

--
Bruno STEVANT - Point6

Le 11 avr. 06 à 20:14, David Stevens a écrit :

The error we are tryong to avoid occurs later, when dhcpv6 try to
send a message

./dhcp6c -dDf lo
[...]
Apr/11/2006 18:45:47: client6_send: transmit failed: Network is
unreachable

I don't know if it's relevant or not to your problem, but loopback, by default, is not multicast-capable, and it also does not have a MAC address (used to generate the client ID). And, of course, there isn't much use in running DHCP on loopback. :-) "ifconfig lo multicast" appears to set the interface flag, though I don't know if that means it works properly. The client I have fails on "lo" with error messages "doesn't support hardware type 772", "failed to get hardware address", and "failed to get a DUID" (in that order). You can use "strace" to find out specifically what it did, but my guess is that it's a bug in the application.

                                                +-DLS