*BSD News Article 82162


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!news-peer.gsl.net!news.gsl.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: 3 Nov 1996 02:30:13 GMT
Organization: Integrated Technical Systems
Lines: 36
Message-ID: <55h03l$k2j@battery.awod.com>
References: <Pine.PTX.3.95.961101225743.20230e-100000@soda.CSUA.Berkeley.EDU>
NNTP-Posting-Host: chs0068.awod.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.7

In article <Pine.PTX.3.95.961101225743.20230e-100000@soda.CSUA.Berkeley.EDU>, 
richardc@soda.CSUA.Berkeley.EDU says...
>

>        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 


            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.

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).

-- 
---
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)"