Classful routing protocols do not carry subnet mask information on their routing updates. This makes them unsuitable for hierarchical addressing that require Variable Length Subnet Mask (VLSM) and discontiguous network. Classless routing protocols do carry subnet mask information on their routing updates.
RIP v1 and IGRP are classful routing protocols. RIP v2, EIGRP, OSPF, and BGP are classless routing protocol.
When running a classful routing protocol on a network, make sure you use the same subnet mask everywhere. Otherwise, routing black holes can occur.
Classless routing protocols extend the standard Class A, B, or C IP addressing scheme by using a subnet mask or mask length to indicate how routers must interpret an IP network ID. Classless routing protocols include the subnet mask along with the IP address when advertising routing information. Subnet masks representing the network ID are not restricted to those defined by the address classes, but can contain a variable number of high-order bits. Such subnet mask flexibility enables you to group several networks as a single entry in a routing table, significantly reducing routing overhead. Classless routing protocols includes RIP v2 and OSPF, Border Gateway Protocol version 4 (BGP4) and Intermediate System to Intermediate System (IS-IS).
routing updates do not include subnet mask
support for VLSM
OSPF is a classless link-state routing protocol. RIP version 1 and IGRP are both classful distance vector routing protocols, EIGRP is a hybrid protocol that supports classless addressing.
IGRP and RIPv1
RIP VERSIONV1 can be seen to exclude subnet information from routing updates, this is because ripv1 is a classful routing protocol and does not support VSLM, this was corrected in RIPv2 where ripv2 does send out subnet mask's in the form of a prefix eg /24 which is the subnet mask of 255.255.255.0 or a class c address.
The advantages of CIDR over the classful IP addressing are: # CIDR can be used to effectively manage the available IP address space. # CIDR can reduce the number of routing table entries. # CIDR can be used to effectively manage the available IP address space. # CIDR can reduce the number of routing table entries.
The difference between classful IP addressing and classless IP addressing is in selecting the number of bits used for the network ID portion of an IP address. In classful IP addressing, the network ID portion can take only the predefined number of bits 8, 16, or 24. In classless addressing, any number of bits can be assigned to the network ID.
Classless protocols send a subnet mask with each route advertisement
Using only classful netmasks on all networks
Classful.
OSPF is a classless link-state routing protocol. RIP version 1 and IGRP are both classful distance vector routing protocols, EIGRP is a hybrid protocol that supports classless addressing.
Classful Routing Protocol
CLASSFUL ROUTING PROTOCOL. It means it will not carry the routing mask information while routing updates or routing advertisements. it will carry just only the ip-address information's. It will assume just default mask information's. Example : class-A 255.0.0.0 Class-B 255.255.0.0 Class-C 255.255.255.0 So classful routing protocols will not support the VLSM and Supernetting Example of classful routing protocols is 1. RIP V1 2. IGRP CLASSLESS ROUTING PROTOCOL These kind of routing protocols will carry the subnet mask information's while doing the routing updates or routing advertisements. So it will support the VLSM and Supernetting, also support noncontiguous networks Example RIP V2 EIGRP OSPF CLASSFUL ROUTING PROTOCOL. It means it will not carry the routing mask information while routing updates or routing advertisements. it will carry just only the ip-address information's. It will assume just default mask information's. Example : class-A 255.0.0.0 Class-B 255.255.0.0 Class-C 255.255.255.0 So classful routing protocols will not support the VLSM and Supernetting Example of classful routing protocols is 1. RIP V1 2. IGRP CLASSLESS ROUTING PROTOCOL These kind of routing protocols will carry the subnet mask information's while doing the routing updates or routing advertisements. So it will support the VLSM and Supernetting, also support noncontiguous networks Example RIP V2 EIGRP OSPF
Rip V1 is Classful routing protocol Rip V2 is Classless routing Protocol
Selecting a routing protocol. Assigning IP network numbers. Assigning network addressess to interfaces.
selecting a routing protocol assigning IP network numbers Assigning network addresses to interfaces
IGRP and RIPv1
If the routing update information contains the same major network number as configured on the receiving interface, the router applies the subnet mask that is configured on the receiving interface If the routing update information contains a different major network than the one configured on the receiving interface, the router applies the default classful mask by IP address class.
Classful vs. Classless RIPv1 is a classful protocol, meaning that the subnet mask is not included in the routing updates. With RIP, only the default subnet mask is used to identify networks. RIP v2 is a classless protocol, meaning that the subnet mask IS included in the routing tables.. RIPv2 supports variable subnet masks (VLSM).