cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
276
Views
0
Helpful
2
Replies

classful routing

shaila_rox
Level 1
Level 1

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

2 Replies 2

ahmednaas
Level 4
Level 4

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.

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

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card