Hello all,

I have two ethernet cards in my box:

% ifconfig
eth0      Link encap:Ethernet
          inet addr:192.168.2.206  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:584213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:326021 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:305752115 (291.5 Mb)  TX bytes:85830925 (81.8 Mb)
          Interrupt:31 Base address:0x2400 Memory:fe6a0000-fe6c0000

eth1      Link encap:Ethernet
          inet addr:192.168.30.22  Bcast:192.168.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:100605 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19069 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7891457 (7.5 Mb)  TX bytes:2005931 (1.9 Mb)
          Interrupt:30 Base address:0x2440 Memory:fe680000-fe6a0000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:330595 errors:0 dropped:0 overruns:0 frame:0
          TX packets:330595 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:111182120 (106.0 Mb)  TX bytes:111182120 (106.0 Mb)

Both cards are running multicast. When I send a multicast packet I suppose
it goes out both interfaces. I'd like it to go out only one
interface--eth1. I could always do this:
% ifconfig eth0 -multicast

to turn off multicast on eth0

Alternatively, could I add a static route, something like
%route add -net 224.0.0.0 netmask 255.0.0.0 eth1

Would that work to force all multicast traffic origniating from my box to
go out eth1?

Any advantages/disadvantages to either way?

ideas?

MRB




____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to