天天看點

Which process sets a static route and IP when server or network are restarted ?

Which process sets a static route and IP when server or network are restarted ?

環境

問題

  • 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 respective ​

    ​runlevel​

    ​ in which the system is booting.

繼續閱讀