On 2011-04-01, Andrew Lunn <[email protected]> wrote: > Hi Grant > >> Adding the 224.0.0.0/24 route seems to work if I first add a default >> route. > > I've not looked at the code, i'm just speculating here.... > > I've seen cases where a unicast subnet route is rejected if there is > no route which leads to the gateway. It could be your multicast route > is being rejected for the same reason.
Since the route specifies a device to use and doesn't have the gateway flag set, it would seem to me that the gateway address should be ignored. But, it could be another bug in the stack. > An idea.... > > Grab a live CD of FreeBSD. http://livecd.sourceforge.net/ Run strace, > or what ever the BSD equivalent is, on adding the route. You can then > see what parameters it passes. I thought about that. I'd have to modify strace to print out the contents of rtenty -- all it prints by default is the address of the structure. I did do something similar on Linux, and it passes 0.0.0.0 as the gateway address when doing the "route -net" command that everybody says is what you should do. I think next I'll try passing either my own address (10.0.0.102, or the local network 10.0.0.0 and see what happens). -- Grant Edwards grant.b.edwards Yow! A can of ASPARAGUS, at 73 pigeons, some LIVE ammo, gmail.com and a FROZEN DAQUIRI!! -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
