First, take a example in order to illustration. Now we have a router, its ip address i s192.168.1.1/24, then maybe a question asked by you,
Why doesn't the network statement under RIP specify192.168.1.0 rather than 192.168.0.0?
RIP comes in two different versions: 1 and 2. Version 1 is a distance vector protocol. Version 2 is a hybrid protocol. RIP v1 uses local broadcasts to share routing information. These updates are periodic in nature, ocurring, by default, every 30 seconds.Both version of RIP used hop count as a metric,which is not always the best metric to use. To prevent packets from circling around a looop forever,both versions of RIP use counting to infinity,placing a hop count limit of 15-any packet that reaches the sixteenth hop will be dropped. Instead of using broadcast, RIPv2 uses multicasts. And to speed up convergence, RIPv2 supports triggered updates
.
RIP v1 is classful,and RIPv2 is classless.
Do you have a clearly understanding about Classful and Classless concepts ?here,let's go over again.
1.Classful Routing Protocols
A classful routing protocol understands only class subnets.RIPv1 and IGRP are examples. A classful protocol does not send subnet mask information. RIP and IGRP can have subnet masks other than the default, but the subnet mask used must be the same for all subnets of a class address.
2.Classless Routing Protocols
Classless routing protocols do not have any issues accepting routing updates with any bit value for a subnet mask, allowing nonconforming but requieres the configuration of the ip classless command. However, this overrides the calssful protocols' mechanics, Classless protocols include RIPv2,eigrp, ospf,IS-IS,and BGP.
So far as now, i guess you have seen how to specify the network statement under RIP.Let 's have a look at it.For classful protocol, it should be 192.168.1.0,however 192.168.0.0 for classless protocol.
ok, finally,we all see.