*BSD News Article 78318


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!peacenjoy.mikom.csir.co.za!news.uoregon.edu!arclight.uoregon.edu!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dual Ethernet Cards
Date: 14 Sep 1996 13:15:25 +0100
Organization: Coverform Ltd.
Lines: 24
Message-ID: <51e7kt$jh@anorak.coverform.lan>
References: <3238986E.446B@phoenix.net>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Geoff Mohler (gemohler@phoenix.net) wrote:
: I have two ethernet cards in my FTP server.

: My initial card, has of course, a default route.

: I want to issue routing commands to the second interface, 
: but without forwarding them to the primary interface.

This doesn't make sense to me.  Do you mean you want to create static
routes for the second if ?

: How can I have two cards, and two default gateways with
: FreeBSD 2.1.5.

You can't.  The default gateway is the target for all packets that havn't
got a specific entry in your routing table.  It doesn't make sense to have
two defaults.  Have a look at the route man page - it's a bit cryptic
unless you already know what it says ......

What specifically are you trying to achieve ?

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....