Summary: establishing additional network address for an interface

From: Chua Koon Teck <koonteck_at_singnet.com.sg>
Date: Mon, 17 Jul 1995 20:03:48 +0800 (SST)

Hi

Below is my summary on the above question.

My original question :

I have the following questions on the above subject :

1. How can I establish multiple network address to an interface of a
dec3000 server ?

2. How can I view all the network addresses that has been established
for an interface ?

3. How would this multiple network addresses on a single host interact
with the NFS and DNS ? Would it cause any confusion in the IP address
resolution ?



Thank you.

Have a nice day.



Regards


Chua Koon Teck
koonteck_at_singnet.com.sg
SingNet
URL="http://www.singnet.com.sg/"
Singapore Telecom


Date: Sat, 15 Jul 1995 01:33:57 -0400 (EDT)
From: Peter Clark <pclark_at_pclark.pcix.com>
To: koonteck_at_singnet.com.sg
Subject: Re: establishing additional network address for an interface

1: Go into /sbin/init.d and edit the inet script. Add:

ifconfig <interface> <newip> netmask <netmask> up

2: Good question - I'd like to know. We're running damn near 50 IP's on one
of our boxes and I'd like to see
them all. Ifconfig tu0 (our ether) only shows MULTI flag.

Um, forgot the rest :)

Any ifconfig alias has to be on the same subnet as
the main IP for the machine (I.E. you can't ifconfig alias 204.179.180.21
and 204.179.183.21 on the same box).

====================================================================

Date: Sat, 15 Jul 1995 15:11:11 -0400
From: Andrew Gallatin <gallatin_at_isds.Duke.EDU>
To: Chua Koon Teck <koonteck_at_singnet.com.sg>
Subject: Re: establishing additional network address for an interface


Chua Koon Teck writes:
> Hi
>
> I have the following questions on the above subject :
>
> 1. How can I establish multiple network address
to an interface of a dec3000 server ?

I've got a second ip address configured as an ifconfig alias on my
3000/500x. I changed NUM_NETCONFIG to "2" and added the following
lines in /etc/rc.config:
NETDEV_1="ln0"
IFCONFIG_1="152.3.22.2
alias"


> 2. How can I view all the network addresses that has been established
> for an interface ?

I'm not sure. You'd expect them to show up via ifconfig, but I can't
see them.

> 3. How would this multiple network addresses on a single host interact
> with the NFS and DNS ? Would it cause any confusion in the IP address
> resolution ?

Just establish another dns-registered ip address for the second
address. The address will act just like you added a second ethernet
card to the machine. You can get yourself into a lot of trouble if
you really try, but if all you are doing is something simple, like
setting up a different address for use by a mult-homed WWW server,
then you should be OK. Be warned that you might take a performance
it using an alias... I'm not sure of this though. Basically my alias
is a temporary thing that will be used only for DNS zone transfers
until we get a new fileserver (and DNS server), which will use that
address for real.

Drew
Received on Mon Jul 17 1995 - 14:09:56 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT