[olug] Two Network Cards

Will Langford unfies at gmail.com
Fri Mar 7 20:25:15 UTC 2008


Under a redhat-esque system, editing the files:

/etc/sysconfig/network-scripts/ifcfg-eth0 or ifcfg-eth1

might also look for /etc/sysconfig/networking/devices and
/etc/syconfig/networking/profiles/default

ifcfg-ethX  --- the 'ethX' is an arbitrary name, yo ucould give it a
more meaningful name such as ifcfg-home, ifcfg-inet  etc


DEVICE=eth1
BOOTPROTO="static"
IPADDR=172.16.1.2
GATEWAY=172.16.1.1
NETMASK=255.255.255.0
ONBOOT=yes

DEVICE=eth0
BOOTPROTO="DHCP"
ONBOOT=yes



More information about the OLUG mailing list