*BSD News Article 91332


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-xfer.netaxs.com!europa.clark.net!newsfeed.internetmci.com!news.dtinet.or.jp!news.dti.ad.jp!tokio!spinnews!spin-hsd0-tky!news.typhoon.co.jp!typhoon.typhoon.co.jp!nfung
From: N Fung <nfung@typhoon.co.jp>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Routing on a dual-homed pc
Date: Tue, 18 Mar 1997 00:06:28 +0900
Organization: Typhoon Internet Services, Tokyo http://www.typhoon.co.jp/
Lines: 45
Message-ID: <Pine.SUN.3.95.970317235615.20580A-100000@typhoon.typhoon.co.jp>
References: <5gbvck$8ub@dragon.synet.edu.cn>
NNTP-Posting-Host: typhoon.typhoon.co.jp
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: wyyang@vilab.hit.edu.cn
In-Reply-To: <5gbvck$8ub@dragon.synet.edu.cn>
Return-Receipt-To: nfung@typhoon.co.jp
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37241



On 14 Mar 1997, wyyang@vilab.hit.edu.cn  wrote:

> I think I'll need to make thing clearer.
> 
> 1. I have two ethernet card on a Freebsd box pc, ed0 to internet ed1 to
> local.
> 
> 2. I found that the local connection is slow and not reliable, while the
> internet connection works perfectly.
> 3. I do not know why, and tried adding static routes and fails.

I had a similar problem recently while trying to set up a dual-homed PC; 
interface to the internet was fine but a ping to the next machine on the
LAN took forever.  It turned out that there was a conflict between one of
the ethercard's IRQ with another device on the system.  I would suggest
checking for IRQ conflicts first.

> 4. As another case which might has relation with this problem, I also met
> some problem during installation. I use ftp installation from a site
> inside China. When I set internet-connected netcard to ed1 and local to
> ed0, the installation always fails. And the system auto-load some
> interfaces which I did not assign, like ppp connection via lpt0. 

This normal.  The PPP is in case you want to use your modem to dial out
and ftp while the lpt0 is (I believe) in case you want to use the parallel
port to download stuff.

> When I swtich back the ed0 and ed1 setting, it works but not reliable,
> often break during the installation. I have to set ONE ed0 to the
> internet connection and disabled the ed1, and thus the systems works
> fine. It should not be my pc or netcards' problem, since I have running
> Linux 1.2.x and Linux 2.0.x on it for more than a year and everything
> works fine. 

That seems normal to me.  Just configure ONE of your ethernet interface to
download the stuff. After which, you are given a chance to configure other
interfaces.  It should work after that.

Hope that helps.

N. Fung