*BSD News Article 82302


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsrelay.netins.net!newsfeed.dacom.co.kr!arclight.uoregon.edu!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!agate!soda.CSUA.Berkeley.EDU!richardc
From: Veggy Vinny <richardc@soda.CSUA.Berkeley.EDU>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD as a router?
Date: Mon, 4 Nov 1996 13:55:36 -0800
Organization: University of California, Berkeley
Lines: 43
Message-ID: <Pine.PTX.3.95.961104135142.29546C-100000@soda.CSUA.Berkeley.EDU>
NNTP-Posting-Host: soda.csua.berkeley.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <199611042000.MAA21664@soda.CSUA.Berkeley.EDU>



On Sun, 3 Nov 1996, Ken Lam wrote:

:> >        Ah okay, let's imagine I only have one machine now and I wanted to
:> >do my own advertising of static routes.   So if my incoming connection 
:> >was 198.94.103.34 and I wanted my machine as the gateway as well as known
:> >as 205.167.165.120 which is my class c network instead of the
:> >198.94.103.34 when connecting to another machine on the net and have the
:> >routing broadcast from my machine to the rest of the net, what do I need
:> >to do exactly?  My machine has a 3Com Etherlink III ISA Combo card now but
:> >it's not connected to anything.  Also, what should my ifconfig lines say
:> >for lo0 and ep0?
:> 
:> I'm going to assume that you are connected via a PPP link 

	Yes, you're correct but the ppp is via modem so it doesn't connect
until after FreeBSD boots up.

:>             PPP (default routed)           Ether 
:> [INET]---------------------[FreeBSD]-------------------[localNet]
:>                198.94.103.34       205.167.165.120
:> 
:> You will need to ifconfig the interfaces appropriately, but the
:> loopback is nothing special for a gateway, unless you were 
:> possibly doing some load balancing via BGP or OSFP.

	So lo should only be localhost while ep0 should be 205.167.165.120
and the machine should be known as the ep0 address with the
hostname/domainname?  and then how would I do the BGP or OSFP?  Note that
I don't have anything connected to the ep0 interface yet.

:> Assuming that routed kicks off, it will automatically prop via RIP.
:> Note, your upstream must be configured to accept RIP announcements
:> (which normally they aren't).

	Oh okay, are most of them normally allowing BGP announcements
though?

Vince
GaiaNet Corporation - Unix Networking Operations - GUS Mailing Lists Admin