Multiple Interfaces Issue

Philip Rowlands phr at doc.ic.ac.uk
Mon Dec 30 20:36:00 CST 2002


On Mon, 30 Dec 2002, Marco Obaid wrote:

>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

You don't need the BROADCAST or NETWORK settings - ifup works them out
for you using NETMASK.

>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 ...
>
>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

Stupid question: you change "DEVICE=eth0", don't you?

Please post ifcfg-eth0, ifcfg-eth1, and the output of 'ifconfig -a'.


Cheers,

Phil




More information about the Linux-PowerEdge mailing list