| PROTOR Redhat: Manually configuring 2nd Ethernet interface |
| Author: | Don Davies |
| Date: | 13-May-2002 |
When a new ethernet module is installed the RedHat installation process should detect the new hardware. View the startup messages following a reboot using dmesg. You can configure the new device when logged in as root using the the Redhat Network Configurator module. Alternatively you can configure the device by hand.
The ethernet configuration files are contained in the directory /etc/sysconfig/networking-scripts
A startup file should already exist ( created at system installation time ) for interface eth0 called ifcfg-eth0. A default file may already exist for eth1. Copy the eth0 configuration file to eth1 and edit as appropriate. The file contains the following typical information:
DEVICE=eth1 BOOTPROTO=static IPADDR=192.168.1.91 NETMASK=255.255.255.0 ONBOOT=yes GATEWAY=192.168.1.254 TYPE=Ethernet USERCTL=no NETWORK=192.168.1.0 BROADCAST=192.168.1.255 PEERDNS=no
Restart networking either by rebooting the system or use service network restart