[comp.protocols.tcp-ip] Subnet/routing problems on SPARCstation

harv@herkimer.cis.ksu.edu (Harvard Townsend) (07/28/90)

We are trying to implement a subnet in our department and are running into
problems. It seems like it should be so easy .... Our campus has a class B
network address, but no dept's have implemented any subnets with gateways up 
to this point. We want to subnet a number of X terminals on thin enet using a
Sun SPARCstation 1 with two enet interfaces as a gateway. Interface le0
is conneceted to the dept. backbone --  129.130.10 -- and le1 is the X
terminal subnet -- 129.130.11. Since there are no other subnets on campus,
all other systems just use 255.255.0.0 as the netmask. We can change all of
our systems (DEC, Harris, Sun, AT&T) to use 255.255.255.0, but have no
control over the other hosts on campus. Really, what we want is to have
all traffic for 129.130.11 to go through le1, and all OTHER traffic to go
out le0.  We have not hit on the right way to take care of the route
tables, however.

We have assigned an IP address for each interface according to the net 
they are connected to.  When we bring the the gateway up in single user mode,`
without starting routed, the route table lists le0 as the gateway for 
129.130.10 and le1 as the gateway for 129.130.11:

Routing tables
Destination		Gateway		...	Interface
localhost		localhost	...	lo0
129.130.10		orion 			le0
129.130.11		orion-x			le1

At this point, with a netmask of 255.255.255.0, any other network is not 
reachable. What we need now is to specify orion again (le0) as the gateway to
our campus net (ksunet -- 129.130) and then add the Proteon (campus gateway 
to off-campus sites via Midnet) as the default gateway for all other nets.
Also, when we bring it up to multi-user mode, the above subnet destinations 
are replaced by ksunet (129.130) and nothing can get to the X term subnet:

Routing tables
Destination		Gateway		...	Interface
localhost		localhost	...	lo0
129.130			orion 			le0
129.130   		orion-x			le1

Here's the diagram:

    X term		Dept. backbone -- 129.130.10
    ------             ================================ --> to campus net
    |    |                         |                        (129.130) and
    |    |                         |                        beyond
    ------                    -----------
       |                      |   le0   |
       |  129.130.11 subnet   |         |     le0 == 129.130.10.83 (orion)
   ---------------------------| le1     |     le1 == 129.130.11.1  (orion-x)
	       |              |         |
	    -------           -----------
	    |     |           SPARCstation
	    |     |
	    -------
	    X term

So, any ideas?  Thanks in advance,
______________________________________
Harvard Townsend, Systems Manager
Dept. of Computing & Information Sciences 
Kansas State University, Manhattan, KS 66506   (913)532-6350
Internet:  harv@herkimer.cis.ksu.edu
UUCP:      {rutgers, texbell}!ksuvax1!harv
AT&T Mail: attmail!htownsend