tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dejan Muhamedagic <dejan () cron ! grsv ! com>
To: tru64-unix-managers
Subject: multiple IP addresses
Date: Tue, 09 Sep 1997 17:44:26 +0000	[thread overview]
Message-ID: <96078617110299.tru64-unix-managers.marc@archive.invalid> (raw)

Hello,

I'm running DU3.2C and the network I'm connected to is in the process of
migration to another set of IP numbers.  So, I used ifconfig's alias
command to add another IP address to tu0 interface and this is the
output from "netstat -r":
--------------------
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
Netmasks:
Inet             255.255.255.0

Route Tree for Protocol Family 2:
default          gw.net1.com        UG          0     9456  tu0
localhost        localhost          UH          2   620026  lo0
net2.com         chost.net2.com     U           1   188109  tu0
net1.com         cron.net1.com      U           1      730  tu0
--------------------
cron.net1.com is my IP address and chost.net2.com is the alias.

Now, ICMP requests issued from my host all have source IP address
cron.net1.com independently of where to they are destined.  So, if I
ping a.net1.com and b.net2.com, IP source addresses will be
cron.net1.com.  However, when I reply to other's ICMP requests, then
depending on from which network requests are coming from, my IP address
is set correspondingly (i.e. cron.net1.com for net1.com and
chost.net2.com for net2.com).  I don't know what behaviour is
recommended, but I'm having problems communicating with IP hosts on
net2.com.  Is there a way to make DU set IP source address that
corresponds to destination's network IP address?

Thanks.
-- 
Dejan Muhamedagic        dejan@cron.grsv.com

                 reply	other threads:[~1997-09-09 17:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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