Which process sets a static route and IP when server or network are restarted ?
SOLUTION 已验证 - 已更新 2015年十月2日17:35 -
环境
Red Hat Enterprise Linux 5
Red Hat Enterprise Linux 6
问题
- Trying to identify the process that sets a static route, IP and all network details when server or network service are restarted.
决议
- When network service is restarted the main
/etc/init.d/network
script is executed with sets the IP, route and all network details in the system as per configuration. - While system is booted the same script via
/etc/rc.d/rc[X].d/S10network
gets execute where X is the respectiverunlevel
in which the system is booting.