From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b1e3b62a3ff885dc,start X-Google-Attributes: gidfee84,public From: kielmann@informatik.uni-siegen.de (Thilo Kielmann) Subject: Multi-Homed Hosts: Setting Preferred Routes? Date: 1996/10/31 Message-ID: <55asaq$aje@si-nic.hrz.uni-siegen.de>#1/1 X-Deja-AN: 193466815 sender: kielmann@paragon.informatik.uni-siegen.de (Thilo Kielmann) organization: University of Siegen newsgroups: comp.unix.osf.osf1 We are running a bunch of Digital UNIX workstations and we are using them (besides other things;-) for some research on networks. All our machines are dual-homed: Every machine has an Ethernet adaptor and all machines are on the same Ethernet segment. Some machines additionally have an FDDI adaptor, all connected by a GIGASwitch. The others additionally have an ATM adaptor, all connected by a GIGASwitch/ATM. So I have three IP networks, one for each kind of wire. What I am looking for right now is a working setup for naming hosts and interfaces. Two requirements: 1. By default, the faster network should be used. 2. Both networks should be explicitly accessible. The problem is that I cannot find any clue for situations in which hosts are simultaneously connected by more than one net. (in the configurations for named, ifconfig, etc.) My first "shot" was to define address records in the nameserver database for each interface, making hostx-eth, hostx-fddi, and hostx-atm. Additionally I added the host names themselves (e.g. hostx) as CNAME records denoting one of the interfaces. This works somehow, but e.g. rlogin fails because it cannot successfully check the client's IP address when the connection comes in on the "wrong" line... My second idea (according to "DNS and BIND in a nutshell") is to define address records for both interfaces with the "pure" hostname ("hostx") and additional address records with the extensions for the specific interfaces ("hostx-eth"...) Now, authorization works, because the correct hostname is returned in any case, but the route in use is chosen arbitrarily? What I am missing is a way to let the systems "prefer" the faster links even though there is a second ethernet, connecting them all. I could, of course, manually setup NFS to mount from a network-specific identification, etc. But how could I let users type "rlogin hostx" while ensuring that this connection will go along ATM and not Ethernet? (Even worse: I'd like to have hostx with FDDI to connect hosty with ATM on the FDDI wire, because both are connected by a router which I assume to be still faster than the Ethernet...) Will there e.g. be any guarantee that the interface defined first in /etc/rc.config (as NETDEV_0) will be considered before NETDEV_1??? Anybody out there with experience in such situations or with some ideas??? Any help appreciated! Thilo Kielmann PS: Please reply by mail, because our newsfeed is far from being "complete". I'll summarize, of course! -- Thilo Kielmann Univ. of Siegen, Dept. of Electrical Engineering and Computer Science (FB 12) Hoelderlinstr. 3, D-57068 Siegen, Germany Phone: +49 271 740 2642 /\,/\ Fax: +49 271 740 2532 / u u \ E-Mail: kielmann@informatik.uni-siegen.de \<_Y_>/ WWW: http://www.informatik.uni-siegen.de/~kielmann/ / " \