*BSD News Article 87417


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!feed1.news.erols.com!howland.erols.net!news.mathworks.com!solaris.cc.vt.edu!not-for-mail
From: exedore@widomaker.com (Exedore)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD as PC router?
Date: 24 Jan 1997 14:37:26 GMT
Organization: Virginia Tech, Blacksburg, Virginia
Lines: 45
Message-ID: <5cahf6$eie$1@solaris.cc.vt.edu>
References: <32E4D14C.566@digital.net> <nigel.9.000974F0@znet.net.au> <5c5920$kca@mozart.jlc.net>
NNTP-Posting-Host: jolien.campus.vt.edu
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.7
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34472

In article <5c5920$kca@mozart.jlc.net>, jtn@frodo.mc.com says...
>
>On Wed, 22 Jan 1997 09:27:20, Nigel Gorry <nigel@znet.net.au> scribbled:
>>In article <32E4D14C.566@digital.net> gunnery@digital.net writes:

>As an experiment at an ISP I used to work for, I built an x86 router using
>FreeBSD 2.1.0 (the latest -release at the time) hoping it would be able
>to handle routing at least 2 T1's and 3 ethernets. I never actually figured
>that this machine would be used as a production router, but as far as I
>know, it is still in use at that ISP. I used a Micronics Pentium motherboard
>(mainly so I could have 8 SIMM sockets) with a 90MHz P5 and 32Mb of RAM.
>It was (maybe still is) running gated and doing RIP and OSPF. The sync serial
>card was Emerging Technologies' ET2025 and it had a frame relay T1 attached
>to it. Worked WONDERFULLY routing IP between the 3 ethernets and the T1; it
>worked so well that I even put in the netatalk patches and it routed
>DDP (AppleTalk) at the same time with no troubles. I highly recommend this
>at least for experience's sake.

ok.. I have more of a beginners routing question.  I'm trying to set up a 
FreeBSD 2.2-BETA machine to route for my computer, and my roomates.  I have a 
10Base-T wall jack on one side, and a 5 port hub on the other.  i have 2 16-bit 
ethernet cards... configured as ed0 and ed1.  I have routed set up (I'm not 
sure of the differences between routed and gated.. so I just picked that one) 
as well as IPXrouted.  My only question is what I have to do now to get it to 
accept packets coming into one netcard, and get them to send them out the 
other.  Right now I get messages every couple of minutes saying 'ed1 duplicated 
by ed0'.  My only guess is that I might need to change the subnet mask, but I 
don't know enough about networking to do so.  Here are my config lines from 
sysconfig:

network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 198.82.88.119  netmask 255.255.255.0"

ifconfig_ed1="inet 198.82.88.119  netmask 255.255.255.0"


ifconfig_lo0="inet 127.0.0.1"

I've checked through the docs on the freebsd page.. and they all very cheerily 
mention that it's easy to do what I'm trying to do with FreeBSD.. but none that 
I've found tells me how to do it.

Thanks,
J.p.