ospf3-140104015856-phpapp01

download ospf3-140104015856-phpapp01

of 19

description

ospf3-140104015856-phpapp01

Transcript of ospf3-140104015856-phpapp01

  • OSPF - 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/8AREA 0AREA 1AREA 2

  • 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.0

  • Hyderabad(config)#router ospf 1Hyderabad(config-router)#Hyderabad(config-router)#network 192.168.1.0 0.0.0.255 area 1Hyderabad(config-router)#network 10.0.0.0 0.255.255.255 area 1no ip routingHyderabad(config)#Hyderabad(config)#ip routingConfiguring OSPFRouter(config)# router ospf Router(config-router)# network area

  • 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, Serial0O IA 11.0.0.0/8 [110/128] via 10.0.0.2, 00:01:03, Serial0C 192.168.1.0/24 is directly connected, Ethernet0O IA 192.168.2.0/24 [110/74] via 10.0.0.2, 00:01:03, Serial0O IA 192.168.3.0/24 [110/138] via 10.0.0.2, 00:00:13, Serial0Hyderabad#

    ^ZO IA for OSPF Inter Area routes 110 is nothing but Administrative DistanceMetric of OSPF Cost

  • show ip ospf databaseHyderabad#

    OSPF Router with ID (192.168.1.150) (Process ID 1)

    Router Link States (Area 1)

    Link ID ADV Router Age Seq# Checksum Link 192.168.1.150 192.168.1.150 272 0x80000003 0xA163 3192.168.2.150 192.168.2.150 273 0x80000002 0xBACC 2

    Summary Net Link States (Area 1)

    Link ID ADV Router Age Seq# Checksum11.0.0.0 192.168.2.150 273 0x80000001 0xDA15192.168.2.0 192.168.2.150 273 0x80000001 0x8441192.168.3.0 192.168.2.150 208 0x80000001 0xFB88Hyderabad#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address192.168.2.150 1 FULL/ - 00:00:32 10.0.0.2Hyderabad#

  • 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.0

  • Chennai(config)#router ospf 2Chennai(config-router)#Chennai(config-router)#network 192.168.2.0 0.0.0.255 area 0Chennai(config-router)#network 10.0.0.0 0.255.255.255 area 1no ip routingChennai(config)#Chennai(config)#ip routingnetwork 11.0.0.0 0.255.255.255 area 2Chennai(config-router)#Configuring OSPFRouter(config)# router ospf Router(config-router)# network area

  • 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, Serial0O 192.168.1.0/24 [110/74] via 10.0.0.1, 00:01:04, Serial1C 192.168.2.0/24 is directly connected, Ethernet0O 192.168.3.0/24 [110/74] via 11.0.0.2, 00:00:09, Serial0Chennai#

    ^ZO for OSPF routes 110 is nothing but Administrative DistanceMetric of OSPF Cost

  • show ip ospf databaseChennai#

    OSPF Router with ID (192.168.2.150) (Process ID 2)

    Router Link States (Area 0)

    Link ID ADV Router Age Seq# Checksum Link 192.168.2.150 192.168.2.150 472 0x80000002 0xEFC7 1

    Summary Net Link States (Area 0)

    Link ID ADV Router Age Seq# Checksum10.0.0.0 192.168.2.150 462 0x80000001 0xE70911.0.0.0 192.168.2.150 472 0x80000001 0xDA15192.168.1.0 192.168.2.150 452 0x80000001 0x1274192.168.3.0 192.168.2.150 396 0x80000001 0xFB88

    Router Link States (Area 1)

    Link ID ADV Router Age Seq# Checksum Link 192.168.1.150 192.168.1.150 463 0x80000003 0xA163 3192.168.2.150 192.168.2.150 462 0x80000002 0xBACC 2--More-

  • Summary Net Link States (Area 1)

    Link ID ADV Router Age Seq# Checksum11.0.0.0 192.168.2.150 462 0x80000001 0xDA15192.168.2.0 192.168.2.150 465 0x80000001 0x8441192.168.3.0 192.168.2.150 400 0x80000001 0xFB88

    Router Link States (Area 2)

    Link ID ADV Router Age Seq# Checksum Link 192.168.2.150 192.168.2.150 415 0x80000003 0xDAA8 2192.168.3.150 192.168.3.150 416 0x80000003 0xD328 3

    Summary Net Link States (Area 2)

    Link ID ADV Router Age Seq# Checksum10.0.0.0 192.168.2.150 465 0x80000001 0xE709192.168.1.0 192.168.2.150 455 0x80000001 0x1274192.168.2.0 192.168.2.150 475 0x80000001 0x8441Chennai#show ip ospf neighborNeighbor ID Pri State Dead Time Address192.168.3.150 1 FULL/ - 00:00:35 11.0.0.2192.168.1.150 1 FULL/ - 00:00:32 10.0.0.1Chennai#

  • 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.0

  • Banglore(config)#router ospf 1Banglore(config-router)#Banglore(config-router)#network 192.168.3.0 0.0.0.255 area 2Banglore(config-router)#no ip routingBanglore(config)#Banglore(config)#ip routingnetwork 11.0.0.0 0.255.255.255 area 2Configuring OSPFRouter(config)# router ospf Router(config-router)# network area

  • 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

    O IA 10.0.0.0/8 [110/128] via 11.0.0.1, 00:02:26, Serial1C 11.0.0.0/8 is directly connected, Serial1O IA 192.168.1.0/24 [110/138] via 11.0.0.1, 00:02:26, Serial1O IA 192.168.2.0/24 [110/74] via 11.0.0.1, 00:02:26, Serial1C 192.168.3.0/24 is directly connected, Ethernet0Banglore#

    ^ZO IA for OSPF Inter Area routes 110 is nothing but Administrative DistanceMetric of OSPF Cost

  • show ip ospf databaseBanglore#

    OSPF Router with ID (192.168.3.150) (Process ID 1)

    Router Link States (Area 2)

    Link ID ADV Router Age Seq# Checksum Link 192.168.2.150 192.168.2.150 935 0x80000003 0xDAA8 2192.168.3.150 192.168.3.150 934 0x80000003 0xD328 3

    Summary Net Link States (Area 2)

    Link ID ADV Router Age Seq# Checksum10.0.0.0 192.168.2.150 985 0x80000001 0xE709192.168.1.0 192.168.2.150 975 0x80000001 0x1274192.168.2.0 192.168.2.150 995 0x80000001 0x8441Banglore#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address192.168.2.150 1 FULL/ - 00:00:36 11.0.0.1Banglore#

  • 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#!!!!!

  • 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#!!!!!

  • 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#!!!!!