Hi there,
I have a problem with setting my fixed IP in /etc/init.d/net
Example:
What I need in /etc/init.d/net is
config_eth0=( "123.456.789.000/24 netmask 255.255.255.255 brd 123.456.789.000" )
routes_eth0=( "default via 123.456.789.1" )
But while booting the server can not handle the ->/24<- in 123.456.789.000/24
So - at the moment - I have do boot the server with
config_eth0=( "123.456.789.000 netmask 255.255.255.255 brd 123.456.789.000" )
routes_eth0=( "default via 123.456.789.1" )
and log onto the server via a cosole and set the ip by hand:
ifconfig eth0 123.456.789.000/24
route add default gw 123.456.789.1
After that I can ping the server.
Without the /24 in the IP I can not set the default route.
Is there a way to post set the /24 in /etc/init.d/net. Just like to boot everything without re-login onto my system.
BTW: is there a special name for the information /24: just want to inform myself for what it is good for.
Thanks for every advice.
Talk soon
Holm

