Re: Running seperate eth0 & ppp0 networks
On Wed, Dec 16, 1998 at 01:32:43PM -0500, Mark Tucker wrote:
> I've been working on a similar setup only with with two ethernet cards,
> one for the lan and the other for internet access. The problem I've been
> having is that when I attempt to specify the device I get an error:
> "SIOCADDRT: Invalid argument" when I load the commandline
>
> route add -net [local net address] dev eth0
>
> or
>
> route add -net [wan address] dev eth1
>
> Both interfaces recieve correctly but all outbound is going through the
> latter (eth1) interface. I'd love to know how to get this to work
> correctly.
>
> Mark
I don't know what the error message means. Two ethernet cards work for
me. As far as I can tell you just ifconfig the cards and then add the
routes. What does ifconfig say after both cards have been configured? It
should provide info on lo, eth0, and eth1.
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:63058924 errors:0 dropped:0 overruns:0 frame:0
TX packets:63058924 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth0 Link encap:Ethernet HWaddr 08:00:09:DC:89:1A
..info similar to lo deleted..
eth1 Link encap:Ethernet HWaddr 00:10:5A:1D:83:EF
..info similar to lo deleted..
--
Lee Bradshaw lee@sectionIV.com (preferred)
Alantro Communications lee@alantro.com
Reply to: