In Linux family operating system CentOS, RedHat, SuSe, Debian, Gentoo, Slackware, Ubuntu and etc. most of every operating system network configuration path is difference. The following information shows network configuration, hostname and default gateway location.
RedHat :
Network Interface location /etc/sysconfig/network-scripts/ifcfg-*
Hostname and default gateway location /etc/sysconfig/network
Location of static routes /etc/sysconfig/static-routes
CentOS :
Network Interface location /etc/sysconfig/network-scripts/ifcfg-*
Hostname and default gateway location /etc/sysconfig/network
Location of static routes /etc/sysconfig/network-scripts/route-interface
Ubuntu :
Network Interface location /etc/NetworkManager/system-connections/*
Debian
Interface and route location /etc/network/interfaces
Gentoo
Interface and route location /etc/conf.d/net
SuSe - version >= 8.0
Interface location /etc/sysconfig/network/ifcfg-*
Static route location /etc/sysconfig/network/routes
Interface specific static route location /etc/sysconfig/network/ifroute-*
SuSe version <= 8.0
Interface and route location /etc/rc.config
Slackware
Interface and route location /etc/rc.d/rc.inet1
Comments (0)