TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:8342] Multiple Ethernet



Thanks, I'll look into it...

I'm away from the box right now, but I should be able to get to it soon...
-----Original Message-----
From: Eric Hillman <ehillman@cccu.com>
To: tclug-list@mn-linux.org <tclug-list@mn-linux.org>
Date: Monday, September 20, 1999 10:53 AM
Subject: RE: [TCLUG:8342] Multiple Ethernet


> Right now, eth0 is set to an addy on 205.218, and eth1 is on 192.168.
>
> Both of these are plugged into the switch, which goes to the router, which
> is forwarding BOTH domains.  Right now, internet stuff works, but
> no internal
> networking works on these two cards.  I can't see other computers on our
> hubs, and they cant see me.


  Okay.  What about the routing tables on the linux box?  If you type
/sbin/route -n at a command prompt, you should see something like this:


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
205.218.0.0     0.0.0.0         255.255.0.0     U     0      0      XXX eth0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0      XXX eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0      XXX lo
0.0.0.0         205.218.NNN.NNN 0.0.0.0         UG    0      0      XXX eth0

(That last entry with the NNNs should be your router. The XXX's will be
replaced by numbers indicating the number of packets sent since the last
time the interface was reset, or something.)

You'll want to read the manpages for route before dealing with this, but
what you need to do is make sure the machine understands that:

Packets for 205.218.x.x go out eth0;
Packets for 192.168.x.x go out eth1; and
Everything else (0.0.0.0) goes out eth0, via the router.

The syntax for adding and deleting "route" entries is a little complex, but
it's all in the manual.


---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
For additional commands, e-mail: tclug-list-help@mn-linux.org