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

Re: [suse-security] Multi-IP Interfaces



On Sun, Feb 15, 2004 at 09:18:09PM -0400, Hipolito Gonzalez wrote:
> It is very easy
> 
> ifconfig eth0:0  x.y.z.m broadcast e.r.t.y netmask 255.255.x.x (example)
> ifconfig eth0:1  another ip
> ifconfig eth0:2  another ip
> 
> all that you want

Or, in case you do not want to live in the stone age any more :-)

ip address add 1.1.1.1/27 dev eth0
ip address add 2.2.2.2/29 dev eth0

You'll have to use
ip add show
to look what is configured.

 Ciao
  Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.

-- 
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here