reeder@ut-emx.UUCP (William P. Reeder) (03/04/89)
We have an Encore Multimax and several original Annex-MX's. One of our annexes serves as a network terminal server, the others are contain slave terminals for our Multimax. The annexes are all running release 4.0 software. Question: How do you set a default route? We don't run routed anywhere on campus (and refuse to), and the gateways file doesn't seem to be able to do what I want, or at least the manual doesn't tell me how to do what I want. For example: If I want traffic bound for any host on network 192.1.2.0 (a class C network) to go through machine 128.83.1.1, then I could add the following line to /usr/spool/erpcd/bfs/gateways and reboot the annex: net 192.1.2.0 gateway 128.83.1.1 metric 1 hardwired My problem is that I want ALL traffic to use 128.83.1.1 as a gateway if there is no other known route. The BSD route stuff has the concept of a default route, does the Annex? If so, how do I set it? Also, is there a way to set these things on the fly if you are the superuser? If not, why not? I can't just reboot my annex everytime I need to modify a route, it has too many users for that. -- William Reeder reeder@emx.utexas.edu -- DISCLAIMER: I speak only for myself, and usually only to myself.
loverso@Xylogics.COM (John Robert LoVerso) (03/06/89)
In article <10941@ut-emx.UUCP> reeder@ut-emx.UUCP (William P. Reeder) writes: > Question: How do you set a default route? Assuming that 128.83.1.1 is your gateway machine, then just add net 0 gateway 128.83.1.1 metric 1 hardwired to the gateways file (/usr/spool/erpcd/bfs/gateways). This will be picked up when the Annex boots. This is identical to how BSD route/routed allows a default route to be added. As of R4.1, the "0" can be the word "default". -- John Robert LoVerso, Software Engineer - Annex Development Group Xylogics, Inc., 617/272-8140 [formerly with Encore Computer Corp] encore!xylogics!loverso, loverso%Xylogics.COM@Encore.COM