tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: a.engels () gmx ! net
To: tru64-unix-managers
Subject: IP Alias
Date: Mon, 19 Mar 2001 15:04:01 +0000	[thread overview]
Message-ID: <98501427231445.tru64-unix-managers.marc@archive.invalid> (raw)

Dear mailling list readers,

I have problems with adding an additional IP address to an interface. My
ethernet card has a public IP as primary address and I want to add a private
address, so its possible to also communicate with computers on my LAN which only
have a private address. What I did was a "ifconfig tu0 alias 192.168.4.4".
Now its actually possible to connect from the LAN to this ip alias, but I
cannot establish a connection from my computer to the LAN. The reason is the
following: When I try to connect from my computer to the LAN, it will send the
request using the public ip address, so the computer on the LAN does not know
how to answer.

The question is: Is it possible to use a certain ip depending on the
destination address? I want to use my public ip, when I connect to the internet and
my private ip when I connect to the LAN.

Thanks in advance.

-- 
Sent through GMX FreeMail - http://www.gmx.net

             reply	other threads:[~2001-03-19 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-19 15:04 a.engels [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-19 17:06 IP Alias a.engels
1995-12-08 20:28 IP alias twinders
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox