Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Virtual Domain Configuration on 4.0b
@ 1997-01-19  5:00 Phil
  1997-01-20  5:00 ` Stephen Stuart
  0 siblings, 1 reply; 2+ messages in thread
From: Phil @ 1997-01-19  5:00 UTC (permalink / raw)



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? 

Maybe, I'm wrong but, isn't this the way to ping two IP addresses on the
same interface?

Any positive suggestions are much appreciated.

-phil



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Virtual Domain Configuration on 4.0b
  1997-01-19  5:00 Virtual Domain Configuration on 4.0b Phil
@ 1997-01-20  5:00 ` Stephen Stuart
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Stuart @ 1997-01-20  5:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-20  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-19  5:00 Virtual Domain Configuration on 4.0b Phil
1997-01-20  5:00 ` Stephen Stuart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox