[comp.dcom.lans] How can we set up a number of Class C networks

rodney@picasso.cssc-syd.tansu.oz.au (Rodney Campbell) (06/13/91)

We am having a number of problems attempting to set up a number of Class C
subnets (both local and remote networks) on a Class B address and we were
hoping that someone may have done this and would be able to help me.

We have a class B address (149.135) to use for a network.
We wish to create a number of networks:
  1) A Local research subnet on a separate class C address. (149.135.44)
  2) on the same physical ethernet a class C subnet containing a number of
  file servers ( this may later be moved to a different physical net for
  load sharing ). (149.135.36)
  3) A local contract staff subnet on a Class C. (149.135.48)
  4) A local PC network on a separate Class C. (149.135.56)
  5) A local MAC network via a Webster Multiport Gateway on the same Class
  C. (149.135.56) 
  6) A network for machines which will be connected to the outside world.
  (149.135.32) 

We also have a number (3-4 at the moment) of sites with basically a
similar configuration (different Class C subnets under the same Class B
address) which will be linked together using WAN lines to a Multiport
MultiProtocol Router at each site.

The UNIX networks are basically all Sun/Solbourne SPARC Based machines
running SunOS 4.0.3 to 4.1.1. We also have (locally) a Sun SPARC with two
ethernet interfaces - one on the Research Net (149.135.44) and the other
interface going to a network of diskless machines etc. (149.135.40). This
machine will be a slave YP server to the main server(s) on the Server
Network (149.135.36).

Now the problem is that SunOS defaults all of this to a Class B network
which is fine for the local network except that all traffic goes everywhere
which defeats the purpose of the subnetting. (BTW each physical ethernet
will eventually be plugged into a separate ethernet port of the Multiport
Router). Also when the separate sites are connected I don't want all the
traffic to go everywhere.

I would much rather all of this be a number of class C networks that can
all talk to each other easily and to varying degrees.

How do I set up things like /etc/networks /etc/netmasks /etc/rc.boot
/etc/rc.local and ifconfig and route and NIS (any others???) to work so
that: 
      1) NIS which goes to subnets (149.135.36, 149.135.40, 149.135.44,
      149.135.48, {149.135.32}) still works.
      2) Any machine on these nets can talk to any other machine on any
      other net.
      3) The same physical nets with multiple class C nets on it can
      coexist happily and transparently - eg broadcasts etc.
      4) I can run DNS. (later).

Also if anyone has an Idea about setting up the Webster Multiport Gateway
to work with this setup?

Also the broadcast address on Suns defaults to NET.0 is this right or
should it be NET.255?

Can replies be sent to me directly and I will summarise.
				       Thanks in Advance,
						 Rodney...

_______________________________________________________________________________
Rodney Campbell	- Telecom Aust |MHSnet: rodney@cssc-syd.tansu.oz.au
Network Services               |Snail : 8th Floor, 91 York Street, Sydney 2000.
Customer Applications Research |  or PO Box A226, Sydney South 2000, Australia.
        & Development          |Phone : +61 (0)2 364 3345   Fax: +61 2 262 3813