YUM using wrong NIC
I have a Fedora Core 4 box with dual NIC's, running a phone system. One NIC (eth1) on the internet, one (eth0) on the LAN (which accesses the internet via a different firewall).
I have setup IPtables so that only one protocol can get out eth1, used for the phone system. All other traffic is supposed to go out eth0 (including YUM updates).
My dmesg shows that YUM is always trying eth1 - which is blocked. How do I force YUM and other apps to use eth0? In case this is route related, here is my info (eth0 = NIC A):
[root@pbx etc]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.31.254.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.31.253.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 172.31.253.1 0.0.0.0 UG 0 0 0 eth1
[
Any ideas? How do I change the route/path used for all traffic EXCEPT my phone traffic?
|