Ccna 00-301, Volume Official


Table 20-2  Example OSPF network



Download 24,53 Mb.
Pdf ko'rish
bet757/1430
Sana24.09.2021
Hajmi24,53 Mb.
#183258
1   ...   753   754   755   756   757   758   759   760   ...   1430
Bog'liq
CCNA 200-301 Vol 1&2

Table 20-2  Example OSPF network Commands on R3, with Expected Results

Command

Logic in Command

Matched 

Interfaces

network 10.1.0.0 0.0.255.255

Match addresses that begin with 10.1

G0/0.1

G0/0.2


G0/0/0

G0/1/0


G0/2/0

network 10.0.0.0 0.255.255.255

Match addresses that begin with 10

G0/0.1

G0/0.2


G0/0/0

G0/1/0


G0/2/0

network 0.0.0.0 255.255.255.255

Match all addresses

G0/0.1

G0/0.2


G0/0/0

G0/1/0


G0/2/0

network 10.1.13.0 0.0.0.255

Match addresses that begin with 10.1.13 G0/1/0



network 10.1.13.1 0.0.0.0

Match one address: 10.1.13.1

G0/1/0

The wildcard mask gives the local router its rules for matching its own interfaces. To show 



examples of the different options, Example 20-3 shows the configuration on routers R2, 

R3, and R4, each using different wildcard masks. Note that all three routers (R2, R3, and R4) 

enable OSPF on all the interfaces shown in Figure 20-2.

Example 20-3

  OSPF Configuration on Routers R2, R3, and R4

! R2 configuration next - one network command enables OSPF on both interfaces

interface GigabitEthernet0/0

 ip address 10.1.23.2 255.255.255.0

!

interface GigabitEthernet0/1/0



 ip address 10.1.12.2 255.255.255.0

!

router ospf 1



 network 10.0.0.0 0.255.255.255 area 0

! R3 configuration next - One network command per interface

interface GigabitEthernet0/0

 ip address 10.1.23.3 255.255.255.0

Technet24

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

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



ptg29743230

20

Chapter 20: Implementing OSPF    475

!

interface GigabitEthernet0/0/0



 ip address 10.1.13.3 255.255.255.0

!

router ospf 1



 network 10.1.13.3 0.0.0.0 area 0

 network 10.1.23.3 0.0.0.0 area 0

! R4 configuration next - One network command per interface with wildcard 0.0.0.255

interface GigabitEthernet0/1

 ip address 10.1.4.4 255.255.255.0

!

interface GigabitEthernet0/0/0



 ip address 10.1.14.4 255.255.255.0

!

router ospf 1



 network 10.1.14.0 0.0.0.255 area 0

 network 10.1.4.0 0.0.0.255 area 0

Finally, note that OSPF uses the same wildcard mask logic as defined by Cisco IOS access 

control lists. The section titled “Finding the Right Wildcard Mask to Match a Subnet” sec-

tion in Chapter 2 of the CCNA 200-301 Official Cert GuideVolume 2, provides more 

detail about wildcard masks. 




Download 24,53 Mb.

Do'stlaringiz bilan baham:
1   ...   753   754   755   756   757   758   759   760   ...   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