From owner-freebsd-questions Wed Nov 15 03:03:56 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA18871 for questions-outgoing; Wed, 15 Nov 1995 03:03:56 -0800 Received: from iis (iis.webnet.com.au [203.8.105.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA18848 for ; Wed, 15 Nov 1995 03:03:49 -0800 Received: (from maral@localhost) by iis (8.6.12/8.6.9) id WAA03448; Wed, 15 Nov 1995 22:07:52 +1100 Date: Wed, 15 Nov 1995 22:07:51 +1100 (EST) From: Peter Marelas X-Sender: maral@iis To: -Vince- cc: questions@freebsd.org Subject: Re: routing question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Wed, 15 Nov 1995, -Vince- wrote: > On Wed, 15 Nov 1995, Peter Marelas wrote: > > > On Tue, 14 Nov 1995, -Vince- wrote: > > > > > On Tue, 14 Nov 1995, Peter Marelas wrote: > > > > > > > On Mon, 13 Nov 1995, -Vince- wrote: > > > > > > > > > Hi everyone, > > > > > > > > > > I was wondering does anyone know how to advertise the route for a > > > > > Class C address under FreeBSD? Any help would be appreciated. Thanks! > > > > > > > > > > > > > Run gated, and turn rip on in /etc/gated.conf > > > > > > Hmmm, how does gated work and I don't have a /etc/gated.conf or > > > the man pages for gated... > > > > > > > The linux NET-2-HOWTO explains gated and has an example gated.conf > > Hmmm, okay... What does gated do exactly? Since what I want to > do is for the class C network addresses that needs to route through the > FreeBSD box, how do we advertise so the routing tables for the rest of > the net will know how to get to us? Thanks! It "routes" :) You use the "RIP" (Routing Information Protocol) protocol. This allows for dynamic routing, where routers talk to each other via UDP, exchanging information on what networks each router is connected to. This allow the routing daemon (gated) to update the kernel's routing tables with information it receives. ie. routes are added and deleted dynamically, so changes in network are propegated via RIP to other routers. routed supports RIP only. gated supports IGP, EGP and RIP. You can check to see if a router is advertising the network its attached to by using ripquery that comes with gated. example.. jazzy# ripquery 203.8.105.28 24 bytes from iris.webnet.com.au(203.8.105.28) to 203.21.35.254 version 1: 203.8.105.0 metric 1 For more information on RIP read RFC1058. Peter