tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jim Jones <jrjones () comsource ! net>
To: tru64-unix-managers
Subject: SUMMARY: Multi Homed Host
Date: Fri, 24 Nov 1995 15:41:19 +0000	[thread overview]
Message-ID: <96075325006776.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks all who replied to the multi homed host question.

Below are the replies I received.

From: Greg Schlabs <schlabs@csc.cxo.dec.com>

  You can do this with IP alias'ing only if both ip addresses are on 
    the same subnet.
    an example is:
        ifconfig ln0 16.140.64.244 netmask 255.255.255.0
        ifconfig ln0 alias 16.140.64.240

 Your aliases have to be in the same subnet as the primary
    interface subnet (172.70.101).  Otherwise, the results are
    undefined and I would not be surprised to hear there are ARP
    and other problems.  The system is not designed to work with
    aliases outside the subnet, which is why it's not supported.

-------
From: John Banghart <john@success.net>

Basically, you have to use 'ifconfig' with the 'alias' command.  For example:

If I want my DEC to answer to an additional name of host2.my.dom, I would use
the command 'ifconfig <ether interface> alias host2.my.dom', where <ether
interface> is the interface name determined by your type of ethernet card. 
Mine is tu0, yours could be different.

If you want this to work after a reboot, you have to add the above line
somewhere in your startup.  I add them to /sbin/init.d/inet and that seems to
work just fine.

------
From: Eric Bennett <bennett@hpel.umd.edu>

Use the ifconfig command, alias option.  I think you can alias only one 
address at a time.

This will work for services started from inetd, which seems to understand 
about multiple addresses.  Since they get an already-opened socket, they 
don't need to bind a socket to the alternate address.

Servers which live on a certain port, like named, probably only bind to 
the primary address leaving the other unattached.  In any event
they don't work at the alternate address.

-----

From: Sean Watson <swatson@ultrix6.cs.csubak.edu>

ifconfig tu0 -alias <new ip address>

In general, look at "man ifconfig"

-----

From: Roman Gollent <roman@portal.stwing.upenn.edu>

Look at the ifconfig man page and search for the heading "alias". It
will describe the exact syntax that you need.

--------
From: Fritz Kleemann <kleemann@informatik.uni-wuerzburg.de>

There is an option in command ifconfig:

  alias     Establishes an additional network address for this interface.
            This is sometimes useful when changing network numbers and one
            wishes to accept packets addressed to the old interface.

Try   ifconfig <other ip> alias

------
From: Pulak Rakshit <pulakr@cableol.net>

Try

#ifconfig ether_inter alias IP_address

You can put this in the /sbin/rc3.d, startup.

--------

From: Matt Theriault <knash@MNSi.Net>

Jim,

You must configure another network interface.  I used the /usr/sbin/rcmgr 
command to configure 'ln0' manually with a second IP address in a different 
class for our Alpha running 3.0.  I believe I remember seeing something in 
the 'Guide to Network Administration' from our original OSF/1 1.3 manuals. 
 Anyway, here is what I had to do (in /etc/rc.config):

/usr/sbin/rcmgr NUM_NETCONFIG="2"
/usr/sbin/rcmgr NETDEV_1="<network interface>" (same as NETDEV_0)
/usr/sbin/rcmgr IFCONFIG_1="<new IP> netmask <new netmask>"

/usr/sbin/rcinet restart    to restart the network services or reboot the 
machine if you can.

-------

From: "Lucien HERCAUD"@paribas.com
     
     Use ifconfig with the "alias" option. See the man page for ifconfig.
     
---------

                 reply	other threads:[~1995-11-24 15:41 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