classful routing

Unanswered Question
Feb 21st, 2007

HI, this might seem a very basic question but i m a bit confused, i was reading jeff doyle 1 first edition, in chapter 11 under the topic of "Redistributing from classless to classfull Protocols" (FIG 11.12) he has given example ofa router with 4 interfaces, e1 = 192.168.100.129/27

e0 = 192.168.100.97/27, s 0 = 192.168.100.9/30, s 1 = 192.168.100.5/30

he said the subnet of s 0 which is of mask 30 is not advertised out e1 and e0 since it cannot use the 27 bit mask to derive 30 bit subnets, and it cannot use 30 bit mask to derive 27-bit subnets, i m a bit confused here why it cant derive the masks ? all i know abt classful is that subnet mask is not send in updates, is that the only rule shall i be concerned abt? or this example is saying something more that i shuld know ?? plz tell me either refer me any doc or plz explain

thanks in advance

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ahmednaas Thu, 02/22/2007 - 00:35

Here is something about how classfull masks are determined by routers:

- Only a few bits (4) in the first octet(byte) are examined

- 0xxxxxxx -> Class A or /8

- 10xxxxxx -> Class B or /16

- 110xxxxx -> Class C or /24

Straight forward. So there is no need to send masks in classful routing.

Richard Burts Thu, 02/22/2007 - 05:10

Lets review the addresses and masks

e1 = 192.168.100.129/27

e0 = 192.168.100.97/27

s 0 = 192.168.100.9/30

s 1 = 192.168.100.5/30

So the router knows that it has subnets 192.168.100.4 and 192.168.100.8. If the router DID advertise the serial subnets to its neighbor on E0 then the neighbor receives 192.168.100.4 and since the neighbor did not receive advertisement of the mask it will assume that its own mask should work (/27). But there are a couple of problems with this. First 192.168.100.4 is not a valid subnet address with a /27 mask. Second (and more serious) the neighbor would believe that 192.168.100.21 was in the subnet of the neighbor but it is not.

HTH

Rick

Actions

This Discussion