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

Does IP aliasing work?



My hardware is a Gateway 2000, 3c509 ethernet card, and Debian kernel is
2.0.6 built to include `ip_aliasing'.  I see `/proc/net/alias*' files so I
take it the kernel was built correctly.

vtcs-cvs# ifconfig
<snip>
eth0      Link encap:10Mbps Ethernet  HWaddr 00:A0:24:C4:11:97
          inet addr:134.0.64.126  Bcast:134.0.255.255  Mask:255.255.0.0
          EtherTalk Phase 2 addr:65280/60
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17403 errors:0 dropped:0 overruns:0
          TX packets:11764 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x300 
<snip>

We want to add an alias for eth0 to be 136.0.0.1.  The error is:

vtcs-cvs# ifconfig eth0:0 136.0.0.1
SIOCSIFADDR: Invalid argument

The NET-2-HOWTO makes it sound sooo easy as does the mini-howto at
http://sunsite.unc.edu/mdw/HOWTO/mini/IP-Alias.

What are we doing wrong?

-- 
---------------------------------------------------------------------------
John Amidon, jhk & Associates, 3500 Parkway Ln, Ste 600, Norcross, GA 30092
E-mail: jda@jhk.com    |   Tel: +1 770 447 6831    |   Fax: +1 770 449 7268
---------------------------------------------------------------------------



Reply to: