From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079015998.tru64-unix-managers.marc@archive.invalid> From: Dieter Meinert Date: Thu, 07 Oct 1999 14:14:09 +0000 To: tru64-unix-managers Subject: multiple network adresses/cards for one host X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079015998 -----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-----