Adding static routes with fc17

Ed Greshko Ed.Greshko at greshko.com
Tue Jul 17 05:00:33 UTC 2012


On 07/17/2012 09:37 AM, Alex wrote:
> I have an fc17 install with a single interface and need to add another
> route in addition to the default route. Previously, I could create
> "route-eth0" (assuming eth0) with the following:
>
> x.x.x.x/z.z.z.z dev eth0

FWIW, I switched over a VM to use network instead of NetworkManager....

created route-p2p1

with the content...

192.168.1.0/24 dev p2p1

And on reboot....

[egreshko at f17 ~]$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 p2p1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 p2p1
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 p2p1
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 p2p1

So, it should work for you too.....


-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the users mailing list