Re: 2 NIC, 2 Gateway

2002-10-11 Thread Doug MacFarlane
On 11 Oct 2002, 18:20:19, Crispin Wellington wrote: When you put gw: in your interfaces thats the *default* gateway. That is, the host to send it to if no route matches. Set it up something like this. interface eth0: 210.182.232.22 gw: 210.182.232.1 interface eth1: 192.168.0.12 *no

Re: 2 NIC, 2 Gateway

2002-10-11 Thread Jeff
david hong, 2002-Oct-11 14:20 +0800: what nate said is closest to what i am asking for. my network is a bit tricky. the linux box eth0 is connecting to internet. the eth1 is connecting to one of the VLan. what i am trying to achive is to do a portforwarding for smtp to a different

Re: 2 NIC, 2 Gateway

2002-10-11 Thread Crispin Wellington
On Fri, 2002-10-11 at 23:25, Doug MacFarlane wrote: On 11 Oct 2002, 18:20:19, Crispin Wellington wrote: When you put gw: in your interfaces thats the *default* gateway. That is, the host to send it to if no route matches. Set it up something like this. interface eth0:

2 NIC, 2 Gateway

2002-10-10 Thread david hong
eth0: 210.182.232.22 gw: 210.182.232.1 and eth1: 192.168.0.12 gw: 192.168.0.1 if i insert the setting into ifcfg-eth0 ifcfg-eth1, will i able to ping 2 different subnet ip? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: 2 NIC, 2 Gateway

2002-10-10 Thread Elizabeth Barham
david hong [EMAIL PROTECTED] writes: eth0: 210.182.232.22 gw: 210.182.232.1 and eth1: 192.168.0.12 gw: 192.168.0.1 if i insert the setting into ifcfg-eth0 ifcfg-eth1, will i able to ping 2 different subnet ip? Yes, your box will see that you are closer to certain networks and

Re: 2 NIC, 2 Gateway

2002-10-10 Thread nate
david hong said: eth0: 210.182.232.22 gw: 210.182.232.1 and eth1: 192.168.0.12 gw: 192.168.0.1 if i insert the setting into ifcfg-eth0 ifcfg-eth1, will i able to ping 2 different subnet ip? I hate to disagree with someone else on the list but my experience would tell me that doing

Re: 2 NIC, 2 Gateway

2002-10-10 Thread Elizabeth Barham
nate [EMAIL PROTECTED] writes: david hong said: eth0: 210.182.232.22 gw: 210.182.232.1 and eth1: 192.168.0.12 gw: 192.168.0.1 if i insert the setting into ifcfg-eth0 ifcfg-eth1, will i able to ping 2 different subnet ip? I hate to disagree with someone else on the

Re: 2 NIC, 2 Gateway

2002-10-10 Thread Crispin Wellington
On Fri, 2002-10-11 at 12:56, nate wrote: Elizabeth Barham said: nate [EMAIL PROTECTED] writes: david hong said: So, if there is a host 192.168.0.11, and David attempts to ping it, the packet may *not* go out eth1 (in this example)? it might go out eth1, I am not certain. but