Linux - Network Config Files
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=linux
GATEWAY=192.168.1.1
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:50:FS:41:03:12
ONBOOT=yes
TYPE=Ethernet
BROADCAST=192.168.4.255
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
# cat /etc/modules.conf
(optional) Driver Info
# cat /etc/resolv.conf
nameserver 203.168.223.201
nameserver 61.10.1.130
# cat /etc/hosts
127.0.0.1 linux localhost.localdomain localhost
192.168.1.1 Router
NETWORKING=yes
HOSTNAME=linux
GATEWAY=192.168.1.1
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:50:FS:41:03:12
ONBOOT=yes
TYPE=Ethernet
BROADCAST=192.168.4.255
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
# cat /etc/modules.conf
(optional) Driver Info
# cat /etc/resolv.conf
nameserver 203.168.223.201
nameserver 61.10.1.130
# cat /etc/hosts
127.0.0.1 linux localhost.localdomain localhost
192.168.1.1 Router
Comments
Post a Comment