Difference between revisions of "redhat centos static network ifcfg example"
From thelinuxwiki
				
								
				
				
																
				
				
								
				| Line 1: | Line 1: | ||
| + | file /etc/sysconfig/network-scripts/ifcfg-eth0   | ||
| + | |||
  DEVICE=eth0  |   DEVICE=eth0  | ||
  HWADDR=E6:97:60:37:9F:9F  |   HWADDR=E6:97:60:37:9F:9F  | ||
Latest revision as of 13:52, 29 April 2017
file /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 HWADDR=E6:97:60:37:9F:9F TYPE=Ethernet UUID=7e955f19-fe9c-418e-9824-ad7eed980eff ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none NETWORK=10.10.150.0 NETMASK=255.255.255.248 IPADDR=10.10.150.4 DNS1=192.168.1.10 DNS2=10.0.0.10 GATEWAY=10.10.150.254