[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: eth0 alias issue



On Thu, 2009-07-23 at 20:32 -0500, Mikkel L. Ellertson wrote:
> 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.

That is not strictly true. People on this list are found to complain
that their wireless device is eth1 and their wired device is eth0.
For example, the virbr0 on my machine is not physical device.

What the OP is trying to do should work.

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

--
=======================================================================
There's no time like the pleasant.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]