Hello there, thanks for taking your time to help others.
I have a machine with two network cards.
eth0 has the following settings:
address = 10.242.28.27
netmask = 255.255.255.0
eth1 has the following settings:
address = 192.168.100.11
netmask = 255.255.255.0
the current default gateway for the system is 10.242.28.1
my problem is this. The 192 subnet is connected to the internet. The 10 subnet is connected to my VOIP Vendor. in the current configuration my phones work but my machine can not see the internet. this is problematic because when i connect to my FPX server from outside the office the packets make it to the server, but then instead of routing back, they go out the 10 interface. What I would like to accomplish is the following:
all traffic on 10 network route through 10.242.28.1
all trafic on 192 network route through 192.168.100.1
this would enable the phone traffic to route over the 10 network and all other traffic to route over the 192 network which is where the internet is located.
if i change the default route to the 10 network the phones work but no internet. if I change the default route to the 192 network i have internet and no phones. I have searched hi and low to find an answer and I have been out of luck so far. I am going to update the /etc/sysconfig/network and /etc/sysconfig/network-scripts/route-eth0 and eth1 files to make this permanant.
any help you can offer with the commands and or advice would be greatly appreciated.
I did see static routes and thats where I am having my problem. Its easy to change the default gateway to the 192 address and then internet works fine. I cant seem to formulate the route command to allow the addition of the static route for the sip traffic? Can you help me out with correct syntax?