outgoing trafi c when you have two ethnet interface
Posted on 2006-05-21
I have two ethernet interface on the RH enterprise linux box which is configure as follow:
Eth0 : 192.168.168.1
Eth1 : 192.168.168.2
On a hardware firewall on the network I have configured that to allow all the trafic incoming/outgoing from eth0
And deny any trafic from eth1. but when I try to ping out I see on the firewall log screen that trafic is coming from eth1.
Now, How do I tell the OS that when I do ping out or try to reach outside world use the eth0 interface.