Multiple Interfaces Issue

jason andrade jason at dstc.edu.au
Mon Dec 30 20:20:00 CST 2002


On Mon, 30 Dec 2002, Marco Obaid wrote:

> Hello all,
>
> I have PowerEdge 4600 running Redhat 7.3, factory installation.
> The system came with two embedded NICs, a 10/100 and 10/100/1000. There is also
> an additional NIC (external) INTEL PRO100S.
>
> My ifcfg-eth0 is as follows:
> BROADCAST=10.10.10.255
> ONBOOT=yes
> DEVICE=eth0
> NETMASK=255.255.255.0
> BOOTPROTO=none
> IPADDR=10.10.10.5
> NETWORK=10.10.10.0
> GATEWAY=10.10.10.1
>
> All I need is to configure another NIC with this address: 10.10.10.6
> Sounds pretty straight forward but I am not able to make it work ...
>
> Here is the problem:
>
> I copy ifcfg-eth0 to ifcfg-eth1 and edit it appropriately. As soon as I do a
> restart or do /etc/init.d/network restart , I lose one of the IP addresses. For
> example, I will only be able to ping 10.10.10.5 and not 10.10.10.6

hi marco,


perhaps you could try this:


/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=your.hostname
GATEWAY=10.10.10.1

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

DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.10.10.255
IPADDR=10.10.10.5
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes


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

DEVICE=eth1
BOOTPROTO=static
BROADCAST=10.10.10.255
IPADDR=10.10.10.6
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes



regards,

-jason




More information about the Linux-PowerEdge mailing list