*BSD News Article 86798


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!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.sprintlink.net!news-peer.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-ana-24.sprintlink.net!news.onramp.net!usenet
From: Dave Littell <dlittell@onramp.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD as PC router?
Date: Fri, 24 Jan 1997 21:25:50 -0600
Organization: We don't need no steenkin' organization!
Lines: 24
Message-ID: <32E97D3E.4FF4@onramp.net>
References: <32E4D14C.566@digital.net> <nigel.9.000974F0@znet.net.au> <5c5920$kca@mozart.jlc.net> <5cahf6$eie$1@solaris.cc.vt.edu>
NNTP-Posting-Host: ppp3-21.dllstx.onramp.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (Win95; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34058

Exedore wrote:
> [deletia]
> 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"
> 

You need a different IP address for either ed0 or ed1.


Dave