Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!ihnp4.ucsd.edu!agate!overload.lbl.gov!not-for-mail From: vince@apollo.COSC.GOV (Vincent Poy) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: routing question Date: 2 Jan 1996 22:33:03 -0800 Organization: Chabot Observatory & Science Center Lines: 40 Message-ID: <4cd7uv$1r9@apollo.COSC.GOV> References: <Pine.BSF.3.91.951223021723.6172o-100000@apollo.COSC.GOV> <30DD1C50.66E1@pond.net> NNTP-Posting-Host: apollo.cosc.gov In article <30DD1C50.66E1@pond.net>, Brett Mitchell <brett@pond.net> wrote: :>You have several options. Static routes would be easiest if you just :>want to have a FreeBSD box act as a gateway for 2 Class C's :> :>Are your Class C's Upstream or Downstream? :> What do you mean? The Class C's is behind our original class C coming out of the T1 link... :>Downstream - :> :>To Make An Interface A Gateway: :>ifconfig ep0 x.x.x.x x.x.x.x netmask x.x.x.x :> LocalIP RemoteIP Netmask :> :>To Add Routes Use: :>route add network remote-machine :>network is the IP space you want to route :>remote machine is the machine on the other end of the connection to route to :> :>Hope this helps. :> Tried that before but the rest of the net still can't find the route with traceroute... :>> I was wondering does anyone know how to advertise the route for a :>> Class C address under FreeBSD if the FreeBSD machine is on a 198.94.103.34 :>> address and we want the FreeBSD machine to be the gateway for :>> 205.167.164.0-205.167.165.0? Any help would be appreciated. Thanks! Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin