Hi
The man page says that static routes per interface should be in the format:
IP/mask:gateway and space separated for multiple entries.
So I have added:
{ip's are fictional}
20.17.1.20/255.255.255.255:20.17.96.253
20.17.17.1/255.255.255.255:20.17.96.253
10.17.4.20/255.255.255.255:20.17.96.253
but I get:
20.17.1.20/255.255.255.255 via 20.17.96.253
20.17.17.1/255.255.255.255 via 20.17.96.253
20.17.4.20/255.255.255.255 via 20.17.96.253
Setting up of the routes fail when networking starts up with the error:
an inet prefix is expected rather than 20.17.1.20/255.255.255.255 via
20.17.96.253
So firstly, have I read the man page wrong for cobbler? What should the
values be? and secondly
the /usr/share/doc/initscripts-8.45.30/sysconfig.txt documetation recommends
ADDRESSn=<network>
NETMASKn=<network/prefix mask>
GATEWAYn=<next-hop router/gateway IP address>
The "n" can be any integer number, but is expected to be monotonically
increasing and counting starts from 0. For example:
ADDRESS0=192.168.2.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.1.1
Admittedly I am using an older version of cobbler:
cobbler-2.0.11-2.el5
cobbler-web-2.0.11-2.el5
and have not had the opportunity to test in a new environment yet with a
new cobbler instance. So is this fixed in newer versions or is the problem
I am seeing specific only to Red Hat/CentOS?
Regards
--
Gerhardus Geldenhuis
Show replies by date