From owner-freebsd-questions Mon Feb 5 10:40:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA16386 for questions-outgoing; Mon, 5 Feb 1996 10:40:25 -0800 (PST) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA16381 for ; Mon, 5 Feb 1996 10:40:18 -0800 (PST) Received: by gvr.win.tue.nl (8.6.10/1.53) id TAA16651; Mon, 5 Feb 1996 19:40:09 +0100 From: guido@gvr.win.tue.nl (Guido van Rooij) Message-Id: <199602051840.TAA16651@gvr.win.tue.nl> Subject: gated hacker wanted! To: freebsd-questions@freebsd.org Date: Mon, 5 Feb 1996 19:40:09 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk Okay all you gated hackers. I am trying to solve a problem. I have a machine with multiple interfaces. Underneath is the for my problme relevant part of gated.conf. ed3 is configured with adres 194.151.68.1, netmask 0xfffffe00. What I like is that gated sends out rip packets containing entries for both 194.151.68.0 and 194.151.69.0, both metric 1. In the setup below, it will only do that for 194.151.68.0. I know that this is normal because it wants to send out the routing entry on the gateway itself, and the netmaks gets lost. I would like to think that it should be possible to configure gated in such a way that you just enter these two routing entries in the static section. However, then nothing is send. How can this be done? -Guido # our interfaces should never be timed out interfaces { interface 192.168.1.2 passive ; interface ed3 passive ; } ; # configuration for rip protocols rip yes { # tell the world about our routes broadcast; # metric for non rip routes defaultmetric 1; # which routing info do we accept interface 192.168.1.2 ripout version 1; interface ed3 ripin ripout version 1; } ; static { default gateway 192.168.1.3 retain; 131.155 gateway 192.168.1.1 retain; # TUE 194.151.68 mask 255.255.254.0 gateway 194.151.68.1 retain; } ; # what should we export export proto rip interface 192.168.1.2 { proto direct { 194.151.68.0 mask 255.255.254.0 metric 1; #194.151.69.0 mask 255.255.255.0 refine metric 1; #194.151.69.0 metric 1; } ; proto static { #194.151.68.0 metric 2; #194.151.69.0 metric 2; } ; } ;