*BSD News Article 94669


Return to BSD News archive

From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Two network adapters
Date: 29 Apr 1997 09:57:17 GMT
Organization: Awfulhak Ltd.
Lines: 18
Message-ID: <5k4glt$h54@ui-gate.utell.co.uk>
References: <01bc5419$dbc57e00$17d1d0cd@fred.scaleable.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!news.maxwell.syr.edu!rill.news.pipex.net!pipex!hole.news.pipex.net!pipex!news.utell.co.uk!usenet
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39908

In article <01bc5419$dbc57e00$17d1d0cd@fred.scaleable.com>,
	"Fred Young" <myoung@scaleable.com> writes:
> I installed a second network adapter in my machine that 's on the same
> network as the first network adapter. I gave the second adapter an IP
> address using ifconfig and the machine responds to the second adapter, but
> here's the problem. All responses are sent from the first adapter even
> though the source IP address is the IP address of the second adapter. What
> am I doing wrong?

What do you expect it to do ?  It's finding the first routing table
entry and obeying it.

You should add a static route (to localhost) for the new IP number.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !