LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Richard Russell <richard@yellowgoanna.com>
  To  : Michael T. Cheshire <michael.cheshire@microarts.com.au>
  Date: Thu, 15 Nov 2001 18:30:54 +1030

Re: Adding multiple IPs to one NIC

On Thu, Nov 15, 2001 at 02:08:12PM +1030, Michael T. Cheshire wrote:
> I wonder if anyone can help me here.
>  
> I type 
>  
> # ip address add xxx.xxx.xxx.xxx dev eth1

I've never used that command before, indeed, I haven't seen it... and
my debian box has no doco for it...

Personally, if I understand what you are trying to do (add a second IP
address to the one network card), then you may wish to try:

ifconfig eth1:1 xxx.xxx.xxx.xxx

This will create another device, eth1:1, with the specified IP
address.

(you can add quite a number of IP addresses to one interface with this
method -- I don't know how many, but at least 5...)

HTH

rr

>  
> and get the following :
> 
> Cannot open netlink socket: Address family not supported by protocol
>  
> I am reasonably confident this is due to my current kernel ( I have
> forgotten to include somethig in the complile ), does anyone know which
> option it is that I have missed?
>  
> Thanks.
> 
> --- 
> 
> Regards, 
> 
> ----------------------------------------------------------------------- 
> Michael Cheshire 
> Network Engineer 
> Microarts Pty Ltd 
> mailto:michael.cheshire@microarts.com.au
> <mailto:michael.cheshire@microarts.com.au>  
> http://www.microarts.com.au <http://www.microarts.com.au/>;  
> PH : 8373 7000 / 0402 277 092 
> ----------------------------------------------------------------------- 
> 
> -- 
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
> 

-- 
Richard Russell
Yellow Goanna Pty Ltd
e: richard@yellowgoanna.com
m: +61 412 827 805
f: +61 8 8462 2362

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page