I am running RH 6.1 and have a problem regarding linuxconf and the menu
"Config/Networking/Client tasks/Routing and gateways/Set routes to
alternate local nets".
When I enter the network data from the second network which is routed to my
eth0 interface the file /etc/sysconfig/static-routes shows a line like
any net <my network number> netmask <my netmask> gw eth0
and the script /etc/rc.d/init.d/network tries to process this line to setup
the route like this:
/sbin/route add -net <my network number> netmask <my netmask> gw eth0
The problem with that is, that its not a legal call to the route (v1.96)
command since I do not want to route to a certain host but to the device
The command which should be created (and which works when I run it
/sbin/route add -net <my network number> netmask <my netmask> dev eth0
The "gw" argument must be replaced with "dev" in this case because the
program asks for a device and not a hostname.
Am I wrong to use this menu for my needs or is this a bug?
Thanks for any help.
Closing because we don't ship linuxconf anymore
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.