From owner-freebsd-isp Fri Jan 30 12:30:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11809 for freebsd-isp-outgoing; Fri, 30 Jan 1998 12:30:32 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from camel14.mindspring.com (camel14.mindspring.com [207.69.200.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11753 for ; Fri, 30 Jan 1998 12:30:28 -0800 (PST) (envelope-from jerdfelt@broken.eng.mindspring.net) Received: from broken.eng.mindspring.net (broken.eng.mindspring.net [207.69.192.150]) by camel14.mindspring.com (8.8.5/8.8.5) with SMTP id PAA10758 for ; Fri, 30 Jan 1998 15:30:24 -0500 (EST) Received: (qmail 1513 invoked by uid 1000); 30 Jan 1998 20:30:24 -0000 Message-ID: <19980130153024.29770@eng.mindspring.net> Date: Fri, 30 Jan 1998 15:30:24 -0500 From: Johannes Erdfelt To: freebsd-isp@FreeBSD.ORG Subject: annoucing default route via gated Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-isp" I have 2 machine which I want to announce a default route into a network. One is Linux and the other is FreeBSD. The Linux machine successfully announces a default route onto the network, whereas the FreeBSD machine will annouce any route, EXCEPT for the default. These are with practically identical configuration files (interface names and metrics are different). Here's the config file I use, with the IP's changed since this is a firewall :) traceoptions "/var/log/gated" replace size 100k files 2 general ; interfaces { interface all passive ; } ; rip yes { interface all version 2 ; interface 192.168.192.3 noripin ripout version 2 ; traceoptions detail send packets ; } ; static { default gateway 192.168.142.1 preference 1 ; } ; export proto rip interface 192.168.192.3 { proto static { default ; } ; proto direct { 192.168.142.0 ; } ; } ; The 192.168.142.0 route is mainly to see if it actually sends a packet. (I've tried both with and without it) The end result is to have the Linux machine announce a default route with a metric 1 and the FreeBSD machine with a metric 2. It can be reversed since they are identical machines. I'd just like to get it to work. Now when I look at the /var/log/gated, I see this: Jan 30 15:13:09 RIP SENT 192.168.192.3 -> 224.0.0.9+520 vers 2, cmd Response, length 24 192.168.142/255.255.255 router 192.168.192.3 metric 1 tag 0000 RIP SENT end of packet The default route is absent. I've looked all through dumps and gated does indeed see the default route and it's in the export list, however it never adds it to the packet it sends out. The Linux machine with a virtually identical configuration works flawlessly. Does anyone have any idea why won't this work under FreeBSD? JE