multiple network adresses/cards for one host

From: Dieter Meinert <dieter.meinert_at_aip.de>
Date: Thu, 07 Oct 1999 16:14:09 +0200 (MET DST)

-----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_at_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-----
Received on Thu Oct 07 1999 - 14:16:49 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT