Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: Ethernet with virtual interfaces?
Date: 1999/02/25	[thread overview]
Message-ID: <7b415q$824@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 36D49CEF.160BEEDF@uleth.ca

Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote:
: The second way that I tried this was from the console.  I entered the
: following command:

: ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255\
: 	alias 10.10.37.253 netmask 255.255.224.0


: In both cases, when I apply the changes and look at the ifconfig entry
: for ln0, I get the following:

: # ifconfig -a
: ln0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
:      inet 10.10.37.252 netmask ffffe000 broadcast 10.10.37.253 ipmtu 1500 

This appears to be a bug in unpatched DU 4.0D. You cannot configure the
interface and set IP alias in the same ifconfig statement. Try doing it
in two steps:

ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255 
ifconfig ln0 alias 10.10.37.253

and it should work. In order to make this come up automatically on the
next reboot, simply place the second ifconfig command line in /etc/inet.local

If you want to provide any services through the IP alias, any daemons
providing these services should be started *after* you add the alias,
or they may fail to respond to requests arriving at the alias IP number.
This also applies to services started out of inetd. The /etc/inet.local
solution will set alias and start daemons in the right order.

If you want to provide NFS via the alias, you should be aware that 
to the best of my knowledge NFS locking will not work.

Regards,

/Serge.P



      parent reply	other threads:[~1999-02-25  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-24  5:00 Ethernet with virtual interfaces? Jeffrey L. Oliver
1999-02-24  5:00 ` Serguei Patchkovskii
1999-02-24  5:00   ` Jeffrey L. Oliver
1999-02-24  5:00   ` Jeffrey L. Oliver
1999-02-25  5:00     ` Nikola Milutinovic
1999-02-25  5:00     ` Serguei Patchkovskii [this message]
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