Adding static routes with fc17

Ed Greshko Ed.Greshko at greshko.com
Tue Jul 17 01:48:27 UTC 2012


On 07/17/2012 09:37 AM, Alex wrote:
> Hi,
>
> 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
>
> where x is the network and z is the netmask, and it would add the
> route. With this same configuration on fc17, it just complains about
> "Error: Unknown connection" along with some random ID number.
>
> I can create the route manually using route such as:
>
> # route add -net x.x.x.x netmask z.z.z.z dev eth0
>
> I'm unable to find the corresponding documentation that I used for
> fc16 for fc17. What is the proper way to add a static route with fc17?
>
> There is no router for the x.x.x.x network defined above -- it's just
> a flat network with a default route on the same network as its IP
> address.
>

Do you use NetworkManager?

If so, in the IPv4 settings there is a "Routes" button to click to add routes in
GNOME.  In KDE it is a drop-down.

Have you tried that?



-- 
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