From owner-freebsd-hackers Sat Feb 3 04:55:58 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA27375 for hackers-outgoing; Sat, 3 Feb 1996 04:55:58 -0800 (PST) Received: from iaehv.IAEhv.nl (root@iaehv.IAEhv.nl [192.87.208.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA27369 for ; Sat, 3 Feb 1996 04:55:54 -0800 (PST) Received: by iaehv.IAEhv.nl (8.6.12/1.63) id NAA25678; Sat, 3 Feb 1996 13:55:51 +0100 From: guido@IAEhv.nl (Guido van Rooij) Message-Id: <199602031255.NAA25678@iaehv.IAEhv.nl> X-Disclaimer: iaehv.nl is a public access UNIX system and cannot be held responsible for the opinions of its individual users. Subject: gated config question To: freebsd-hackers@freebsd.org Date: Sat, 3 Feb 1996 13:55:50 +0100 (MET) X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-hackers@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; } ; } ;