supernetting with static routing

From: Stanley Hinshaw <shinshaw_at_mnu.edu>
Date: Tue, 19 Aug 1997 11:48:23 -0500

Question about static routing.

I posted a question yesterday about trying to use the 192.168 domain as a
Class B address. I was in error because that is in the Class C address
range and I was trying to solve routing problems by using a netmask.

Unless I can get my network folks to use the 172.16 Class B addresses as
specified in rfc1597 I will need to accomplish this with static routing.

Our pc's are using a netmask of 255.255.0.0 and are able to talk across
class C's, i.e. 192.168.1.x can talk to 192.168.x.x

I am attempting to define the class C's that I care about in etc/routes,
and tell unix that it can just dump those addresses on the lan without
using a gateway. What syntax should I use?

my ip is 192.168.1.200

I have tried things like this -

-net 192.168.2.0 192.168.1.200
-net 192.168.2.0 0.0.0.0

and I still get 'network unreachable' when adding the route. I am using
the correct approach?

Stan Hinshaw
MidAmerica Nazarene University

 

Stan Hinshaw
Database Administrator
MidAmerica Nazarene University
shinshaw_at_mnu.edu
voice 913-782-3750 ext 117
fax 913-791-3290
Received on Tue Aug 19 1997 - 18:59:12 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT