RedHat

From Athenaeum
Jump to: navigation, search


Networking

  • Example of a normal config
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=06:01:78:a7:00:33
IPADDR=192.168.0.10
GATEWAY=192.168.0.254
NETMASK=255.255.255.0
TYPE=Ethernet
  • Example of a vlan config with metrics
  • When using vlans leave the primary interface relatively unconfigured if not empty.
DEVICE=eth0.25
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:a5:81:5b
IPADDR=10.10.0.53
GATEWAY=10.10.0.1
NETMASK=255.255.255.0
TYPE=Ethernet
VLAN=yes
METRIC=0