OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [suse-security] Multi-IP Interfaces

From: Joerg Mayer (jmayerloplof.de)
Date: Mon Feb 16 2004 - 11:54:27 CST


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 <jmayerloplof.de>
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-helpsuse.com
Security-related bug reports go to securitysuse.de, not here