Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RIP & IGRP

Status
Not open for further replies.

arivukalanjiyam

Programmer
Oct 4, 2002
9
IN
I read it in Boson e-book that RIP & IGRP are "classful" protocols and hence they don't understand a subnet mask of 32 0s,and hence cannot route to the default route even if it is mentioned in the routing table.

and also to avoid this they have given a command
Router(config)#ip classless

what does all this mean???

Please help me!
 
Classful protocols assume networks follow the A,B & C sizes and doesn't use netmasks. If you are using the IP 10.10.1.1 it assumes the network is the class A 10.0.0.0.

IP classless command tells the router that you want to break from the rigid A,B,C classes and have varying size subnets by using netmasks.(VLSMs) No can't do this with RIP v1/IGRP since they don't send the netmasks in their updates. ----------------------------------------
Wassabi Pop Tarts! Write Kellogs today!
 
Jgercken,

That isn't exactly correct. Use of the 'ip classless' command is used where classful routing protocols exist. When you subnet a major network, a classful protocol assumes the entire network uses the same mask. If a router has a default gateway, and it receives a packet for a subnet it isn't aware of, it will drop the packet instead of forwarding it on to the default gateway. A router with the 'ip classless' statement will use a route with a *shorter* mask than what it is configured with (e.g. 0.0.0.0 0.0.0.0). This prevents packet loss.


Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top