eth0 alias issue

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Jul 24 01:32:23 UTC 2009


T. Howell-Cintron wrote:
> Greetings fedora-list!
> 
> I'm trying to add another IP address to one of my machines running FC11
> and have run in to a difficult problem.  I'm used to simply copying a
> working ifcfg-eth0 to ifcfg-eth0:1, changing DEVICE, NAME, and IPADDR
> and it works as expected.  Not this time around..
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0:
> DEVICE=eth0
> BOOTPROTO=none
> DNS1=69.58.0.4
> GATEWAY=69.58.21.129
> HWADDR=00:10:4B:95:A1:99
> IPADDR=69.58.21.130
> NETMASK=255.255.255.240
> ONBOOT=yes
> ETHTOOL_OPTS="speed 100 duplex full autoneg off"
> TYPE=Ethernet
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0:1
> DEVICE=eth0:1
> NAME=eth0:1
> IPADDR=69.58.21.135
> NETMASK=255.255.255.240
> ONBOOT=yes
> TYPE=Ethernet
> 
Dumb question - shouldn't DEVICE be eth0 in both files? I thought it
was the name of the physical device.

DEVICE=<name of physical device (except dynamically-allocated PPP
      devices where it is the "logical name")>

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090723/66893d7c/attachment-0001.sig>


More information about the fedora-list mailing list