In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/.
I would like to know how the network settings (e.g. IP address, gateway, etc) in the configuration files are sync with the GUI and vice versa. Do I need to restart any service to sync the data?
When NetworkManager is running, do I need to turn off network service? e.g.
/etc/init.d/network stop?If I have edited the configuration files in
/etc/sysconfig/network-scripts/, and I want to sync the new configuration with the GUI, do I need to use/etc/init.d/network restart? If/etc/init.d/networkhas been stopped due to#1above, how can I sync the new configuration from text files to GUI without restarting/etc/init.d/network?When I change network settings in the GUI, will it automatically edit the configuration files in
/etc/sysconfig/network-scripts/? It will edit the file immediately or users need to reboot?What is the relation between
NetworkManagerandsystem-config-networkGUI? Issystem-config-networkGUI part of the NetworkManager package?If I have stopped
/etc/init.d/networkservice, can I still use thesystem-config-networkGUI to configure network settings?
Thanks.