ip routes to specific interface

Posted by user65053 on Server Fault See other posts from Server Fault or by user65053
Published on 2010-12-30T05:38:48Z Indexed on 2010/12/30 5:57 UTC
Read the original article Hit count: 280

Filed under:
|

I am trying to figure out how to get all traffic to 10.8.78.* to connect using interface ppp0 when available how would I properly handle this (centos) and can I fall back on eth0 when pp0 is not up?

/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
69.19.219.69    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         10.0.1.1        0.0.0.0         UG    0      0        0 eth0

© Server Fault or respective owner

Related posts about ip

Related posts about routes