Date: Fri, 30 Jan 1998 15:30:24 -0500 From: Johannes Erdfelt <jerdfelt@eng.mindspring.net> To: freebsd-isp@FreeBSD.ORG Subject: annoucing default route via gated Message-ID: <19980130153024.29770@eng.mindspring.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980130153024.29770>