Dynamicrouting Rip 140104015847 Phpapp01

  • Upload
    shiva

  • View
    220

  • Download
    0

Embed Size (px)

DESCRIPTION

Dynamicrouting Rip 140104015847 Phpapp01

Citation preview

  • Advantages of Dynamic over static :There is no need to know the destination networks. Need to advertise the directly connected networks. Updates the topology changes dynamically. Administrative work is reduced Used for large organizations.Dynamic Routing

  • Distance Vector Protocol

    Link State Protocol

    Hybrid Protocol

    Types of Dynamic Routing Protocols

  • Works with Bellman Ford algorithmPeriodic updatesClassful routing protocolFull Routing tables are exchangedUpdates are through broadcastAlso known as Routing By RumorExample: RIP, IGRPDistance Vector Protocol

  • Works with Dijkstra algorithmLink state updatesClassless routing protocolMissing routes are exchangedUpdates are through multicastAlso known as Routing by IntelligenceExample : OSPF, IS-ISLink State Protocol

  • Works with DUAL algorithmLink state updatesClassless routing protocolMissing routes are exchangedUpdates are through multicastAlso known as Routing by IntelligenceExample : EIGRPHybrid Protocol

  • Open Standard ProtocolClassful routing protocolUpdates are broadcasted via 255.255.255.255Administrative distance is 120Metric : Hop countMax Hop counts : 15 Max routers : 16Load Balancing of 4 equal pathsUsed for small organizationsRouting Information Protocol

  • Update timer : 30 secTime between consecutive updatesInvalid timer : 180 secTime a router waits to hear updatesThe route is marked unreachable if there is no update during this interval.Flush timer : 240 secTime before the invalid route is purged from the routing tableHolddown timer : 180secSpecifies the amount of time for which the information about poorer routes are ignored. Rip Timers

  • RIP - Network DiagramE0 192.168.1.150/24HYDLAN - 192.168.1.0/24E0 192.168.2.150/24CHELAN - 192.168.2.0/24E0 192.168.3.150/24BANLAN - 192.168.3.0/2410.0.0.1/8S0S110.0.0.2/811.0.0.1/8S0S111.0.0.2/8

  • More Bandwidth utilizationDoesnt consider the bandwidth, works only with hop countsSlow convergenceFormation of Routing loops

    Disadvantages of RIP

  • exitHyderabad(config-if)#Hyderabad(config)#telnet 192.168.1.150================================Welcome to Hyderabad Router================================User Access Verificationpassword :********enableconfigure terminalinterface serial 0ip address 10.0.0.1 255.0.0.0no shutclockrate 64000encapsulation hdlcHyderabad>password :Hyderabad#Enter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#Hyderabad(config-if)#Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting.....Directly Connected Networks on HYDERABAD Router192.168.1.010.0.0.0Diagram

  • Hyderabad(config)#router ripHyderabad(config-router)#Hyderabad(config-router)#network 192.168.1.0Hyderabad(config-router)#network 10.0.0.0no ip routingHyderabad(config)#Hyderabad(config)#ip routingConfiguring RIPRouter(config)# router ripRouter(config-router)# network Diagram

  • show ip routeHyderabad#Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR

    Gateway of last resort is not set

    C 10.0.0.0/8 is directly connected, Serial0R 11.0.0.0/8 [120/1] via 10.0.0.2, 00:00:25, Serial0C 192.168.1.0/24 is directly connected, Ethernet0R 192.168.2.0/24 [120/1] via 10.0.0.2, 00:00:25, Serial0R 192.168.3.0/24 [120/2] via 10.0.0.2, 00:00:25, Serial0Hyderabad#

    ^ZR for RIP routes 120 is nothing but Administrative DistanceMetric of Rip Hop CountDiagram

  • show ip protocolsHyderabad#Routing Protocol is "rip" Sending updates every 30 seconds, next due in 13 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial0 1 1 2 Routing for Networks: 192.168.1.0 10.0.0.0 Routing Information Sources: Gateway Distance Last Update 10.0.0.2 120 00:00:00 Distance: (default is 120)Hyderabad#

    Diagram

  • Chennai(config-if)#Chennai(config-if)#================================Welcome to Chennai Router================================User Access Verificationpassword :********enableconfigure terminalip address 10.0.0.2 255.0.0.0no shutencapsulation hdlcinterface serial 0Chennai>password :Chennai#Enter configuration commands, one per line. End with CNTL/Z.Chennai(config)#Chennai(config-if)#Chennai(config-if)#Chennai(config-if)#Chennai(config-if)#Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting.....Chennai(config-if)#telnet 192.168.2.150interface serial 1ip address 11.0.0.1 255.0.0.0no shutencapsulation hdlcDirectly Connected Networks on CHENNAI Router192.168.2.010.0.0.011.0.0.0Diagram

  • Chennai(config)#router ripChennai(config-router)#Chennai(config-router)#network 192.168.2.0Chennai(config-router)#network 10.0.0.0no ip routingChennai(config)#Chennai(config)#ip routingnetwork 11.0.0.0Chennai(config-router)#Configuring RIPRouter(config)# router ripRouter(config-router)# network Diagram

  • show ip routeChennai#Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR

    Gateway of last resort is not set

    C 10.0.0.0/8 is directly connected, Serial1C 11.0.0.0/8 is directly connected, Serial0R 192.168.1.0/24 [120/1] via 10.0.0.1, 00:00:01, Serial1C 192.168.2.0/24 is directly connected, Ethernet0R 192.168.3.0/24 [120/1] via 11.0.0.2, 00:00:12, Serial0Chennai#

    ^ZR for RIP routes 120 is nothing but Administrative DistanceMetric of Rip Hop CountDiagram

  • show ip protocolsChennai#Routing Protocol is "rip" Sending updates every 30 seconds, next due in 5 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial0 1 1 2 Serial1 1 1 2 Routing for Networks: 192.168.2.0 10.0.0.0 11.0.0.0 Routing Information Sources: Gateway Distance Last Update 11.0.0.2 120 00:00:23 10.0.0.1 120 00:00:03 Distance: (default is 120)Chennai#

    Diagram

  • exitBanglore(config-if)#Banglore(config)#================================Welcome to Banglore Router================================User Access Verificationpassword :********enableconfigure terminalip address 11.0.0.2 255.0.0.0no shutclockrate 64000encapsulation hdlcBanglore>password :Banglore#Enter configuration commands, one per line. End with CNTL/Z.Banglore(config)#Banglore(config-if)#Banglore(config-if)#Banglore(config-if)#Banglore(config-if)#Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting.....telnet 192.168.3.150interface serial 1Directly Connected Networks on Banglore Router192.168.3.011.0.0.0Diagram

  • Banglore(config)#router ripBanglore(config-router)#Banglore(config-router)#network 192.168.3.0Banglore(config-router)#network 11.0.0.0no ip routingBanglore(config)#Banglore(config)#ip routingConfiguring RIPRouter(config)# router ripRouter(config-router)# network Diagram

  • show ip routeBanglore#Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR

    Gateway of last resort is not set

    R 10.0.0.0/8 [120/1] via 11.0.0.1, 00:00:04, Serial1C 11.0.0.0/8 is directly connected, Serial1R 192.168.1.0/24 [120/2] via 11.0.0.1, 00:00:04, Serial1R 192.168.2.0/24 [120/1] via 11.0.0.1, 00:00:04, Serial1C 192.168.3.0/24 is directly connected, Ethernet0Banglore#

    ^ZR for RIP routes 120 is nothing but Administrative DistanceMetric of Rip Hop CountDiagram

  • show ip protocolsBanglore#Routing Protocol is "rip" Sending updates every 30 seconds, next due in 15 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial1 1 1 2 Routing for Networks: 192.168.3.0 11.0.0.0 12.0.0.0 Routing Information Sources: Gateway Distance Last Update 11.0.0.1 120 00:00:06 Distance: (default is 120)Banglore#

    Diagram

  • ping 192.168.3.1Hyderabad#Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msHyderabad#!!!!!ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msHyderabad#!!!!!Diagram

  • ping 192.168.1.1Chennai#Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msChennai#!!!!!ping 192.168.3.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msChennai#!!!!!Diagram

  • ping 192.168.1.1Banglore#Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msBanglore#!!!!!ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 msBanglore#!!!!!Diagram