Various nuggets of useful technical information.

Thursday, June 19, 2008

Standard ifcfg syntax

Standard syntax (non-exhaustive) for an ifcfg-ethX file located in /etc/sysconfig/network-scripts

# nVidia Corporation MCP61 Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:1A:4D:74:63:26
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=10.249.100.20
GATEWAY=10.249.100.20
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

No comments: