From owner-freebsd-hackers Fri Jun 2 10:41:08 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA20027 for hackers-outgoing; Fri, 2 Jun 1995 10:41:08 -0700 Received: from aries.ai.net (ai.net [198.69.35.206]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA20014 for ; Fri, 2 Jun 1995 10:41:04 -0700 Received: (from nc@localhost) by aries.ai.net (8.6.11/8.6.12) id NAA25122; Fri, 2 Jun 1995 13:39:00 -0400 Date: Fri, 2 Jun 1995 13:39:00 -0400 (EDT) From: Network Coordinator To: Robert Shady cc: hackers@freebsd.org Subject: Re: GATED Configuration? In-Reply-To: <199506021319.JAA04967@mail.id.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Fri, 2 Jun 1995, Robert Shady wrote: > We are a small Internet Service Provider located in Michigan. We have been > allocated a block of IP's from 199.125.0.0 -> 199.125.7.0 for our use. We > would like to have these routed to us, and have been told that BGP or OSPF > would be the way to go. We have successfully compiled gated on our FreeBSD > 2.0.5 system, but are slightly lost as how to configure it to broadcast > the routes for those IP's. A traceroute FROM our current site, to the > 199.125.1.1 IP address goes like this: > > traceroute to 199.125.1.1 (199.125.1.1), 30 hops max, 40 byte packets > 1 novi-gw1 (152.160.9.254) 4 ms 2 ms 2 ms > 2 pri.ic.net (152.160.1.129) 34 ms 36 ms 35 ms > 3 gateway.ic.net (152.160.1.254) 146 ms 208 ms 58 ms > 4 152.160.68.254 (152.160.68.254) 48 ms 125 ms 38 ms > 5 um-ici.cic.net (198.87.206.5) 48 ms 59 ms 41 ms > 6 cpe2-ethernet0-1.Chicago.mci.net (198.108.2.129) 95 ms 42 ms 41 ms > 7 cpe2-ethernet0-1.Chicago.mci.net (198.108.2.129) 46 ms !H * 456 ms !H > > Our router is at 152.160.9.254, and we wish all packets for the 8 class C's > to be routed through it. We are running the latest version of gated. > If anybody has ANY clue how to configure gated, your help would be greatly > appreciated! If you already have a router, you should use that to do your dirty work. If you mean to say your gated machine is at that address, you will need to create a gated configuration file. The web site has a very good set of documentation [including sample BGP scripts] I haven't setup a BGP config file in a while, but I suspect you will need a config similar to below. Add more a.b.c.0 lines for each of your class C's. Gated is a VAST speed improvement over routed in even point-to-point IP connections, just FYI. -Jerry. interfaces { interface all passive; }; export proto bgp { # broadcast; proto bgp { a.b.c.0 metric 1; } ; };