Hostnames and interface files - Debian and Red Hat
On Debian the host is defined once: - /etc/hosts
It's defined twice in a RH, Fedora, CentOS box:-
[0] /etc/hosts and [1] /etc/sysconfig/network. Why is this? I guess the hosts file is the most important but what is network file for? Is it just for setting stuff like ipv6 or ipv4?
Finally, why does RH have a seperate file for each interface in /etc/sysconfig/network-scripts/ifcg-{eth,wlan}X? I think that it's simpler to have all of the interfaces specified in one file the way Debian does it in /etc/network/interfaces.
|