tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* IP Alias
@ 2001-03-19 17:06 a.engels
  0 siblings, 0 replies; 3+ messages in thread
From: a.engels @ 2001-03-19 17:06 UTC (permalink / raw)
  To: tru64-unix-managers

Dear Serguei,

I entered the following commands:

bash-2.02# /sbin/ifconfig tu0 alias 192.168.4.4/24
bash-2.02# /sbin/route add -net 192.168.4.0/24 -interface 192.168.4.4

I think a reconfiguration on the client side is not necessary..

The firewall log on the destination host shows me that he still uses the
primary ip address.

Do you have some example code for the use of bind() with a different ip
address as source?

My idea is to modify a portforwarder to send the correct ip address. Thus,
any program would work immediately.

regards

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* IP Alias
@ 2001-03-19 15:04 a.engels
  0 siblings, 0 replies; 3+ messages in thread
From: a.engels @ 2001-03-19 15:04 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* IP alias
@ 1995-12-08 20:28 twinders
  0 siblings, 0 replies; 3+ messages in thread
From: twinders @ 1995-12-08 20:28 UTC (permalink / raw)
  To: tru64-unix-managers

I have been reading a lot about having our server answer to two diffent IP
addresses on the same network card.  I think DU3.2c has this option under
ifconfig using the alias parameter, but I can't seem to get it right.

Right now I have one network card tu0 with ip address 206.76.17.2.  I want
it to answer to 206.76.17.3 as well.  Can someone give me the specifics on
how to do this?  Thanks.

---------------------------------------------------------------------
|  Tim Winders                   |  Email:  twinders@spc.cc.tx.us   |
|  Network Specialist            |  Phone:  806-894-9611 x 2369     |
|  South Plains College          |  Fax:    806-894-6880            |
---------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-19 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-19 17:06 IP Alias a.engels
  -- strict thread matches above, loose matches on Subject: below --
2001-03-19 15:04 a.engels
1995-12-08 20:28 IP alias twinders

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