*BSD News Article 75032


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Multiple Network IP's on one NIC?
Date: 30 Jul 1996 11:51:47 GMT
Organization: interface business GmbH, Dresden
Lines: 19
Message-ID: <4tkt0j$9u1@innocence.interface-business.de>
References: <4tk3ef$hb7@access5.digex.net>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

briang@access5.digex.net (Brian G.) wrote:

> Can you run multiple network IP addresses (from two different Class C
> subnets) with a single network card in BSDI 2.1?

Yep.  Use

	ifconfig <interfacename> <newaddr> [netmask <newmask>] alias

> What needs to be done to have BSDI serve as the router/gateway between
> the two Class C subnets?

Turn on IP forwarding.  I think it's done via sysctl, but i'm certain
there's a pre-defined knob somewhere to turn it on.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j