Ethernet on 8260
Murray Jensen
Murray.Jensen at cmst.csiro.au
Tue Jul 17 14:22:21 EST 2001
On 16 Jul 2001 17:19:36 -0700, Brad Bonkoski <bradb59 at home.com> writes:
>Essentailly, I have them all set up on the same
>network: 192.168.0.X.
Use different IP network numbers for each ethernet interface. e.g.
FCC1 - eth0 - 192.168.1.x
FCC2 - eth1 - 192.168.2.x
FCC3 - eth2 - 192.168.3.x
(assuming a netmask of 255.255.255.0). If they all have the same IP *network*
number (i.e. the number is the same after applying the netmask), then Linux
will only use one of them. In other words, you can only have one route for
each subnet.
By the way, if you want Linux to forward packets between the interfaces, then
ensure you enable forwarding (echo 1 > /proc/sys/net/ipv4/ip_forward).
Also, you could by-pass all this IP stuff and do things at the ethernet level
(using a RAW socket?). Cheers!
Murray...
--
Murray Jensen, CSIRO Manufacturing Sci & Tech, Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia. Fax: +61 3 9662 7853
Internet: Murray.Jensen at cmst.csiro.au (old address was mjj at mlb.dmt.csiro.au)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list