From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ed69e9b7d7ac0afd,start X-Google-Attributes: gidfee84,public From: lally@lanl.gov (Bryan Lally) Subject: 2 interfaces to SAME net - default route goes where? Date: 1996/07/05 Message-ID: #1/1 X-Deja-AN: 163900908 organization: Los Alamos National Laboratory newsgroups: comp.unix.osf.osf1 I have two network interfaces, ether (ln0) and FDDI (fta0). I just got the FDDI interface, and I have a small problem. Perhaps it's already been solved? I would like everything to use the FDDI interface, if possible. However, I need to run CAP (Columbia Appletalk Package) on this machine, to provide network printing service. CAP doesn't seem to be able to deal with the FDDI interface, and can't get an appletalk node number. Unless I turn on the ether interface, and run CAP out that spigot. A fix for CAP on fta0 would solve the problem. This problem seems to be related to the fact that pfstat reports pf/pfilt1 being connected to the FDDI interface, and pf/pfilt0 being connected to the ether interface. Maybe ... The other part of the problem is, if I turn on the ether interface, things that route off my subnet seem to be using the ether. NFS, telnet, etc. This is _not_ what I want, as I have FDDI connectivity to machines on several other subnets. But the default route (as reported by netstat -r) is going out ln0. Anyway I can set the default route to go out the fddi port? Oh, yeah. I only have one route off this subnet, so I don't run routed or gated. I just set a static route to the router. I'd run routed or gated if that would fix the problem. I can force this to work by the following: mark the ethernet interface as down flush the routes add a default route bring the ethernet interface back up To do this at boot time, I would have to rewrite the route and inet scripts in /sbin/init.d. Anyone see an easier way? Routes and routing are not my strong suits, and I'd rather not re-engineer this everytime I get a new version of the OS. Thanks for any and all help. - Bryan -- Bryan Lally '94 BMW K75S (the Mule) lally@lanl.gov