route and routed problems w/ subnetting class C's

route and routed problems w/ subnetting class C's

Post by Stewart O. All » Wed, 21 Aug 1996 04:00:00



 I'm having problems with in.routed in which it does not propogate routes
 properly if they are subnets of Class C's (ex: mask of 255.255.255.224).
 Naturally, this is a somewhat largish problem since hosts cannot find the
 correct route.

 In a similar vein, netstat -r shows the routes correctly with the right
 netmask, but the network name is not resolved from /etc/networks the same
 way plain class-C's are. Example:

Destination     Gateway         Genmask         Flags MSS    Window Use Iface
..snip..
198.3.232.32    *               255.255.255.224 U     1500   0      118 eth1
193.128.4.64    c1-1cc          255.255.255.224 UG    1500   0        1 eth0
seattle         c1-1cc          255.255.255.0   UG    1500   0      156 eth0
..snip..

 They all have /etc/networks entries, but only the full class-C resolves.
 Are the problems related (thus my previous post)?

 Hints? Suggestions?

 +-
 | Stewart Allen                                               ftp.neuron.com

   617.492.2089 FAX 617.492.5837                   Neuron Information Systems |
                                                                             -+

 
 
 

route and routed problems w/ subnetting class C's

Post by Steinar Ha » Wed, 21 Aug 1996 04:00:00


[Stewart O. Allen]

|    I'm having problems with in.routed in which it does not propogate routes
|    properly if they are subnets of Class C's (ex: mask of 255.255.255.224).
|    Naturally, this is a somewhat largish problem since hosts cannot find the
|    correct route.

RIP v1 doesn't have subnet masks, and thus *cannot* propagate subnets of
a class C.

You need to use static routes, or a routing protocol which handles subnet
masks, eg. OSPF or RIP v2.



 
 
 

1. Can't route on subnetted class C

I have a class C address I am trying to split into two subnets.
I want to configure these two new class C subnets to be routed from a
present subnetted class C (ie the present subnetted class C as a
backbone network).  The present subnettted class C which the
Sun's belong to works fine and routes to the other half of this
original class C.

An extract from the output of my netstat -rn command I get,

193.128.237.64       194.130.52.80        UG       0      4          le0
193.128.237.128      194.130.52.81        UG       0      0          le0

When I try to ping any test machines on the 193.128.237.128 network
they all seem to try to go via the 193.128.237.64's router.

There seems no way under SunOS or Solaris to give the machine a
netmask for a network route like you seem to be able to with other
operating systems eg Linux, NT and even Windows 95. The OS does not
seem to be able to figure the netmasking out for itself on non local
classless networks.

Can anyone provide any insight ?
Is it just not possible ?

Colin Simpson
--

Network Manager
Concept Systems

2. Redhat 7.1 printool and network card

3. IP: Class C subnet, route, and Novell

4. Compaq Deskpro / Ethernet

5. Routing accross Class C subnets

6. Networking through a router

7. static route for subnetted class c on solaris 2.6

8. sockets in C++?

9. Subnetting and routing inside class C linux network.

10. Subnet routing with Solaris/route-d?

11. 'No route to host' routing problems

12. route problem: route forgot to specify route netmask.

13. Routing problem with source-based routing and routing packets back to sender machine.