|After a "service network restart" command is run, the "service startips start" script needs to be run. The startips script is run at bootup time, but on some systems, it seems that the network restart is called again, after the initial startup.|
One solution is to run:
/sbin/service startips startafter each startup, but usually, admins can't watch their boxes all day long.
The easier solution is to setup the alised IPs into the network settings so they're loaded with the network, no matter how many times it's restarted.
If you type "/sbin/ifconfig", it will tell you what your ethenernet device name is for your main server IP.. usually eth0 or eth1.
Let's use eth0 for the example.
You'll create a file called:
in it, you'll add the code:
Once done, you can type:
/sbin/service network restartto test it out. (make sure you're logged into your server IP when yo do this, or you might get disconnected if it fails).
|Manually adding an additional IP to a specific network device|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST