S> I have a m/c with the following IP configurations :
S> en0 : 192.9.205.217
S> en1 : 192.9.2.217
S> I want to send a multicast packet using socket (SOCK_DGRAM) calls (sendto)
S> through the "en1" interface. How can I tell the system that it should send
S> the multicast packets thru en1 and not en0 ? Linux by default sends through
S> the en0 interface. Binding to a particular interface using bind call didn't
S> help!!
In fact, even if I set up a static route for all MC addresses as follows:
/sbin/route add -net 224.0.0.0 netmask 240.0.0.0 eth1
and then do a "traceroute 224.0.0.1" or "ping 224.0.0.1" (I realize that nobody
will answer this), Linux automatically routes these to eth0 by default.
AAargh! This has got to be broken!
Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]