*BSD News Article 60966


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!gw1.att.com!gw2.att.com!oucsboss!oucsace.cs.ohiou.edu!psimpson
From: psimpson@oucsace.cs.ohiou.edu (Pete Simpson)
Subject: FreeBSD: Multiple Class C's on 1 interface?
X-Nntp-Posting-Host: oucsace.cs.ohiou.edu (psimpson)
Message-ID: <DMFA97.86@boss.cs.ohiou.edu>
Sender: postmaster@oucsace.cs.ohiou.edu (psimpson)
X-Nntp-Posting-Date: Wed Feb  7 15:29:30 1996
Organization: Ohio University, Athens Ohio, USA
Date: Wed, 7 Feb 1996 20:29:31 GMT
Lines: 39


Ok, I've read the FAQ, searched the newsgroup archives, read the man
pages (what a treat that was), and watched the newsgroup for a few days.
I have not seen the answer to my question so here goes:

Can I assign multiple tcp/ip addresses to the same network interface
which are in separate subnets?  If so, how? And how do I prevent the
machine from routing between the two if this is possible?

For example:

I've discovered how multiple addresses in the _same_ subnet work.  I
have sucessfully configured the same nic to reply to both

 199.181.87.15 and  199.181.87.65

but they are in the same subnet.

What I want to do is to have the machine respond to both

 199.181.87.15 and 207.16.212.15

without adding an additional nic.

I have my router configured so that both the 199.181.87.0 and
207.16.212.0
subnet's exist on the same piece of ethernet and it routes between them
- so I have to ensure that routed does _not_ do any routing (or I'll
have
a loop).

Thanks for your assistance!

Pete Simpson
psimpson@oucsace.cs.ohiou.edu

-- 
Peter J. Simpson |          psimpson@oucsace.cs.ohiou.edu
Have a hobie day!|