*BSD News Article 82702


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!arclight.uoregon.edu!dispatch.news.demon.net!demon!netcom.net.uk!newsfeed.easynet.co.uk!easynet-uk!easynet-cherry!usenet
From: chrisy@easynet.net (Chrisy Luke)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Using two Ethernet Card in BSDI 2.1
Date: Tue, 12 Nov 1996 18:39:38 GMT
Organization: Systems Group, Easynet Group PLC
Lines: 30
Message-ID: <32bcc384.1308924128@cherry.news.easynet.net>
References: <327D432F.6860@lynx.bc.ca>
NNTP-Posting-Host: vorbis.noc.easynet.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent .99f/32.299
X-easynet-cherry: 847823706189.nnrp

On Sun, 03 Nov 1996 17:13:19 -0800, "S. L. Chan" <slechan@lynx.bc.ca>
wrote:

>I can install them and when I do a netstat -rn, I can see both ef0 and
>ef1. ef0 is used for local ip class say, 201.12.5.0 and has ip
>201.12.5.1 and I want to use ef1 for 204.2.36.0 (IP for ef1 is
>204.2.36.1)

>What I want to do is to use ef0 as the gateway for the class 204.2.36.0

Erm. I know this post is like nearly 10 days late, but I don't think
that's right...

Lemme get this right.

ef0:	201.2.5.1  (network 201.2.5.0)
ef1:	204.2.36.1 (making it's network 204.2.36.0)

You say you want 204.2.36 to go via ef0? Or do you mean you want to
route between interfaces, making the box a router? If the latter, then
make sure your kernel has "iprouting" enabled (look in rc.local, on
2.1 there's a sysctl commented out for it). You then need to configure
your router(s) or ask your provider to route 204.2.36.0/24 via
201.2.5.1.

Chris.
== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
== Newsmaster and Senior Systems Developer for Easynet Group Plc.
== To Flirble or not to Flirble? That is not a question, but a
== statement of being, of life and of survival.