From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,afc51ed8ad02d375 X-Google-Attributes: gidfee84,public From: stuart@nsl-too.pa.dec.com (Stephen Stuart) Subject: Re: Virtual Domain Configuration on 4.0b Date: 1997/01/20 Message-ID: <5buk9b$lta@usenet.pa.dec.com>#1/1 X-Deja-AN: 210930829 references: <32E2A313.7A84@kudonet.com> organization: Digital Equipment Corporation, Palo Alto, CA, USA newsgroups: comp.unix.osf.osf1 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