Ccna 00-301, Volume Official


Using show ip route to Find the Best Route



Download 24,53 Mb.
Pdf ko'rish
bet629/1430
Sana24.09.2021
Hajmi24,53 Mb.
#183258
1   ...   625   626   627   628   629   630   631   632   ...   1430
Bog'liq
CCNA 200-301 Vol 1&2

Using show ip route to Find the Best Route

We humans have a couple of ways to figure out what choice a router makes for choosing the 

best route. One way uses the show ip route command, plus some subnetting math, to decide 

Technet24

||||||||||||||||||||

||||||||||||||||||||




ptg29743230

16

Chapter 16: Configuring IPv4 Addresses and Static Routes    387

the route the router will choose. To let you see how to use this option, Example 16-8 shows 

a series of overlapping routes, all created with OSPF, so the output lists only OSPF-learned 

routes.

Example 16-8

  show ip route Command with Overlapping Routes

R1# show ip route ospf

Codes: L - local, C - connected, S - static, 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

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP

       + - replicated route, % - next hop override

Gateway of last resort is 172.16.25.129 to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 9 subnets, 5 masks

O       172.16.1.1/32 [110/50] via 172.16.25.2, 00:00:04, GigabitEthernet0/0/0

O       172.16.1.0/24 [110/100] via 172.16.25.129, 00:00:09, GigabitEthernet0/1/0

O       172.16.0.0/22 [110/65] via 172.16.24.2, 00:00:04, GigabitEthernet0/2/0

O       172.16.0.0/16 [110/65] via 172.16.24.129, 00:00:09, GigabitEthernet0/3/0

O       0.0.0.0/0 [110/129] via 172.16.25.129, 00:00:09, GigabitEthernet0/0/0

To predict which of its routes a router will match, two pieces of information are required: the 

destination IP address of the packet and the contents of the router’s routing table. The sub-

net ID and mask listed for a route define the range of addresses matched by that route. With 

a little subnetting math, a network engineer can find the range of addresses matched by each 

route. For instance, Table 16-2 lists the five subnets listed in Example 16-8 and the address 

ranges implied by each.

Table 16-2  Analysis of Address Ranges for the Subnets in Example 16-8


Download 24,53 Mb.

Do'stlaringiz bilan baham:
1   ...   625   626   627   628   629   630   631   632   ...   1430




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish