Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!newsfeed.internetmci.com!battery.awod.com!usenet From: lam@awod.com (Ken Lam) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD as a router? Date: 2 Nov 1996 00:50:19 GMT Organization: Integrated Technical Systems Lines: 31 Message-ID: <55e5sb$4ug@battery.awod.com> References: <Pine.PTX.3.95.961101145622.20230l-100000@soda.CSUA.Berkeley.EDU> NNTP-Posting-Host: 206.30.179.200 Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Newsreader: WinVN 0.99.7 In article <Pine.PTX.3.95.961101145622.20230l-100000@soda.CSUA.Berkeley.EDU>, richardc@soda.CSUA.Berkeley.EDU says... > >Greetings everyone, > > I remembered that FreeBSD can be used as a router... I was >wondering what I need to do exactly if my machine had a connection to the >rest of the internet as 198.94.103.34 and then I wanted my machine to be >the gateway for the network 205.167.164.0 and assign my machine >205.167.164.34 which will be the internal network, what would I need to do >exactly and how do I advertise the routes for 205.167.164.0 to go through >198.94.103.34? Thanks. You need to enabled GATEWAY in the kernel (or set the option using sysctl in the boot config). The rest depends on your existing net config. If you are doing dynamic routing, you need to have the machine advertise the routes. If not, your provider needs to add static routes. For such a simple network, static routes are probably best, but should you choose to grow to a rich and diverse network, gated might be the best (it supports OSPF and BGP). Routed in 2.1.5 and later supports Rip V2. --- Ken Lam lam@awod.com Integrated Technical Systems Systems, Networks, and Internet Solutions -- Defining Technology Today "'Plug and Play' was only applicable to the original ATARI(tm)"