tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dieter Meinert <dieter.meinert () aip ! de>
To: tru64-unix-managers
Subject: multiple network adresses/cards for one host
Date: Thu, 07 Oct 1999 14:14:09 +0000	[thread overview]
Message-ID: <96079079015998.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1472 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----


Hi Gurus,

I have a host with two network cards configured for two
subnets. Now I want the host to be addressed from other hosts by
the nearest address without giving it two different names.

host names are DNS resolved, so simply having different
/etc/hosts files in the different subnets does not work.

e.g.:

the network cards are configured as follows:
123.155.234.232  host-234
123.155.101.232  host

and I want it to be called by name "host" with the first address when
called from another machine in subnet .234. and with the second
address when called from elsewhere.


BTW it works fine when calling other machines from "host" due to
the /etc/routes entries

default 123.155.101.246
- -net 123.155.234 -interface 123.155.234.232

How may I arrange that ?


Tsch��,
						Dieter 
 
  _____________________________*__________________________________
 /                          *       dieter.meinert@aip.de         \
 \ Dieter Meinert    (-      **     http://www.aip.de/~dieter/     \
  \__________________A______*__*___________________________________/
           (public pgp key from http://www.aip.de/~dieter/)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBN/yqsPYksnFoaQ6JAQFhjgQA04t6erOHOKleyMmPFhphUuwxgbBRVqsQ
3etcPEh84HlbPv7E++jJ85lrQGdUEcEVbI2zZFFXj8A3Pev+bazrpfeoG0TkvBgG
HKDW/vgZAO+f9/RYVm/u9k0sJ1/UzZ5959ivCZco5yB1mlQo/a4i36u2kthdX9/H
3lUTgNsI0Rg=
=CIBr
-----END PGP SIGNATURE-----

                 reply	other threads:[~1999-10-07 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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