*BSD News Article 74894


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!uwm.edu!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!act.news.telstra.net!newshost.telstra.net!news.ci.com.au!usenet
From: Ross Wheeler <rossw@albury.net.au>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Subnet - help please!
Date: Sun, 28 Jul 1996 16:24:20 -0700
Organization: Corinthian Internet Services, Sydney, Australia.
Lines: 27
Message-ID: <31FBF6A4.337D@albury.net.au>
NNTP-Posting-Host: pa0d.orac.albury.net.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

I thought I knew the answer to this, but someone more knowledgable than me took one look at it and said it 
wouldn't work (and that the answer was beyond the scope of a freebie).

I've looked at it, and blowed if I can see what's wrong. Can someone point me to the problem, or at least to a 
newsgroup that is better suited to answering the question!

Situation: I have a second class c address that I want to bust up. 

aaa.bbb.ccc.0 is my first block, and everything works fine.
aaa.ddd.eee.0 is the second block - and i want to subnet it.

If I use netmask of 255.255.255.240 (16 addresses (14 hosts) per subnet), that should give me the first
subnet as aaa.ddd.eee.1 to aaa.ddd.eee.14 (exclude .0 and .15, right?)

That network is available out a port on the terminal server, (which I have in the DNS), so I can say:
    route add aaa.ddd.eee.1 remotehost.albury.net.au -netmask 255.255.255.240

When I do a netstat -r | grep aaa.ddd.eee I get
  aaa.ddd.eee/28   remotehost.albury.net.au  UGS   xxxxx xxx xxx

Since the other hosts on that net (aaa.ddd.eee.16 to aaa.ddd.eee.254) are on the local ethernet, I should
be able to specify them as being on ef0, right?
    route add aaa.ddd.eee.17 ef0 -netmask 255.255.255.240
(ditto for the remaining subnets)


Please post replies to rossw@albury.net.au as I rarely get to read usenet more than once a week :-(