Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: stuart@nsl-too.pa.dec.com (Stephen Stuart)
Subject: Re: Virtual Domain Configuration on 4.0b
Date: 1997/01/20	[thread overview]
Message-ID: <5buk9b$lta@usenet.pa.dec.com> (raw)
In-Reply-To: 32E2A313.7A84@kudonet.com


Phil (surprise@kudonet.com) wrote:
: I'm trying to configure a Alphastation 500 (w/ 4.0b) to accept an
: ifconfig alias which will respond beyond the localhost. 
: Do I need to specify another route for this aliases address? 

If the alias address is an address in the same network as the primary
address, then no. For instance, if the primary address is x.y.z.1 with
a netmask of 255.255.255.0, and the alias address is x.y.z.2 with the
same netmask, it should Just Work.

If the alias address is not in the same network as the primary
address, then the host needs to have IP forwarding turned on
(ROUTER="yes" in /etc/rc.config, or use iprsetup), and needs to run 
a routing daemon that advertises the network of the alias address on
the network of the primary address.

An example of this is when the primary address is x.y.z.1, as above,
and the alias address is a.b.c.1, netmask 255.255.255.0. The host now
needs to be a router, unless some other is performing that task. If
the host does in fact have to route, a sample gated config using RIP
might loot like:

interfaces {
  interface lo passive ;
  define x.y.z.1 broadcast x.y.z.255 netmask 255.255.255.0 ;
  define a.b.c.1 broadcast a.b.c.255 netmask 255.255.255.0 ;
} ;

rip yes {
  interface a.b.c.1 noripout ;
} ;

export proto rip interface x.y.z.1 {
  a.b.c.0 masklen 24 ;
} ;

I do both kinds of aliasing. Both work like a charm.

If you give me a more specific example of what you're trying to do, I
can tell you more about how to get things working.

Stephen
--
- -----
Stephen Stuart				stuart@pa.dec.com
Network Systems Laboratory
Digital Equipment Corporation



      reply	other threads:[~1997-01-20  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-19  5:00 Virtual Domain Configuration on 4.0b Phil
1997-01-20  5:00 ` Stephen Stuart [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