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 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).
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.
if a protocol is only classfull(RIPv1, IGRP) the command will have no effect, but in protocols that support vlsm and classless ip adressing it will enable the protocol to send the subnet mask in it's packets so that a router would not recognize only class networks, but also their subnets.
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.
Dynamically, as related to a routing protocol is a type of networking technique whereby the routing protocol creates, updates and maintains the dynamic routing table.
Rip V1 is Classful routing protocol Rip V2 is Classless routing Protocol
Classful.
A classless routing protocol can route between subnets
A routing protocol is a formula that specifies how routers are communicating to each others. Types of routing protocols include Interior Gateway Protocol, Distance vector protocol and Classful or classless protocol. Routing protocols are required to determine the appropriate paths for data transmission.
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).
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
Classless protocols send a subnet mask with each route advertisement
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
A router running a classless routing protocol (Such as OSPF) will send the subnet mask in its route updates to its neighboring routers.
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).