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

Re: Two IP, one NIC



Nils-Erik Svangård wrote:

Hi!

I have two Ip and one NIC.
I'm trying to configure so that some applications reports that its
coming from my other Ip, but the rest should come from the first Ip.
How do I do this?
I have looked throug IP-Alias and Networking howto but I cant figure it
out.
Any ideas?
/nisse

ifconfig ethx:n_alias ip [netmask ip] [broadcaste ip] [up|down]

example:

ifconfig eth0:0 10.0.0.2 netmask 255.255.0.0 up

--
Ignacio N. Feijoo
ignacio@soporte-aptd.com.ar
www.aptd.com.ar

	~
o o /V\
     // \\
    /(   )\
     ^`~'^






Reply to: