IP aliasing issues

Mark Mielke mark at mark.mielke.cc
Sat Dec 13 23:24:40 UTC 2003


On Sat, Dec 13, 2003 at 05:25:11PM -0500, Cesar Villegas wrote:
> I define 7 different IPs in a single card (eth0) 
> I wrote the /etc/sysconfig/network-scripts/ifcfg-eth0:X file for 
> each IP
> When the system starts only  eth0; eth0:0 and eth0:1 give up, doing a 
> network restart take the same result. 
> All the files have a "ONBOOT = yes" line, the apropiate IP, device.
> Any ideas about what happening? 

If the ip addresses are all in sequence, you might try defining
ifcfg-eth0-range0 instead: (/etc/sysconfig/ifcfg-eth0-range0)

    IPADDR_START="1.2.3.1"
    IPADDR_END="1.2.3.6"
    CLONENUM_START="2"
    BROADCAST="1.2.3.7"
    NETMASK="255.255.255.248"
    NO_ALIASROUTING=yes

Until yesterday I had eth0, eth1 and eth2 with a primary ip address,
eth1 with a range of 5 addresses, and eth2 with a range of 4 addresses
for a total of 12 ip addresses on 4 subnets on 3 ethernet cards with
3 interfaces and 9 alias interfaces. So I'm pretty sure it works... :-)

mark

-- 
mark at mielke.cc/markm at ncf.ca/markm at nortelnetworks.com __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/





More information about the users mailing list