[comp.protocols.tcp-ip] Two

dws@uafsun1.uark.edu (David W. Summers) (05/19/91)

Hello NetLanders,
   I need some advice.  Here is our configuration:

engr-net (130.184.64.XX)
netmask  (255.255.255.0)
<----------------------->
         ^
         |
     ----------
     |        |
     |PC-Route|
     |        |
     ----------
         |
         V
------------------------
cseg-net (130.184.65.XX)
netmask  (255.255.255.0)

What I would like to do is to put at least 2 logical sub-nets on the
130.184.65.0 network.  How can I go about doing this?  I'm a novice at
this stuff (but I learn fast! :-) and have not found much documentation
on this in the manuals (SunOS 4.1.1).  From what I understand, there should
be some way to specify a network-wide (130.184.65.XX -wide, that is) network
and netmask combination (maybe using /etc/networks and/or /etc/netmasks?)
to specify how the network should look at the addresses and decide which
network a certain address is on.

The main reason I would like to do this is to put a SLIP network addressing
on to our thin-net LAN in this room.  Let me clarify that.  We are playing
around with SLIP and our Campus Net Admin. has given us a network address
(130.184.68.XX) to play around with SLIP.  In a few weeks we are going to
need to use the '68' network address for another room network in another
part of the building.  I would like to set it so that the SLIP addresses
are on the same network address (130.184.65.XX) as our ethernet IP addresses
here on the network in the room.

What I have tried so far is as many combinations of network addresses and
netmasks in the /etc/networks and /etc/netmasks files as I can form an
educated guess for.  I finally got the Sun to boot with the netmask set
for 255.255.255.128 but then when it re-ifconfig's (is that a word? :-)
using NIS it puts it back to 255.255.255.0.  I went over to our NIS master
and tried to put the same config in its /etc/networks and /etc/netmasks
and run (cd /var/yp; make) to update the NIS slave server on this room
network, but have not gotten it to set the netmask correctly.

I'm still playing with it but I am beginning to wonder if it is possible at
all?  Is there a better way to do this?  We only have 7 or 8 machines on this
room network and could really use the extra bits to specify another network
if it is possible.  I just saw some stuff about setting the routing metric
to 0 for logical networks on the same physical network so I'm about to try
that.  


   Any help (RTFM specs (pages)) or advice or "not possible" suggestions
would be greatly appreciated!  I'm still learning this stuff but have
already learned a great deal from "expirience", i.e., doing it the hard/wrong
way....maybe this is another such instance?


   Thanks!
    - David Summers
    (dws@engr.uark.edu)
-- 
                         "Never under-estimate the bandwidth of a station-wagon
David Summers             full of tapes, hurtling down the highway."
dws@engr.uark.edu         - Tanenbaum, "Computer Networks"