CCNP Learning note 6-routing Section--OSPF comprehensive questions

Source: Internet
Author: User

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/77/75/wKioL1ZoIcOTDBBOAAECfBygMsY426.jpg "title=" QQ picture 20151209204034.jpg "alt=" Wkiol1zoicotdbboaaecfbygmsy426.jpg "/>

Address description

1,R1--R5 all want a loopback0=10.10.x.x

2, R1--R3 E0 address =1.1.123.x

3, the R2--r4 WAN interface is 1.1.234.X/24

4,r4-r5 WAN Interface =1.1.45.x/24

Bridge connection

1, configure the Ethernet address of the R1--R3

2, configure the physical port address between R2-R4

The frame-relay between 3,R2-R4 is fully interconnected, requiring only the use of the PVC in the diagram, not allowing broadcast, multicast through

R2

int S2/2

No Frame-relay inverse-arp

Frame-relay Map IP 1.1.234.4 204

Frame-relay Map IP 1.1.234.3 204

R3

int S2/2

No Frame-relay inverse-arp

Frame-relay Map IP 1.1.234.4 304

Frame-relay Map IP 1.1.234.2 304

R4

int S2/2

No Frame-relay inverse-arp

Frame-relay Map IP 1.1.234.2 402

Frame-relay Map IP 1.1.234.3 403

Verify

Ping each other 1.1.234.x

But Ping doesn't make sense because there's no manual mapping.

For example, you can r2ping yourself 1.1.234.2 need

int S2/2

Frame-relay Map 1.1.234.2 204


4, configure the link between R4 R5 to HDLC, and configure the appropriate interface address

The default is HDLC. S

Show int S2/1

5, configuring the R1--R5 loopback0

6, after the configuration is complete, test the link communication


OSPF Configuration

1,r1 R2 R3, the network segment between R4 R5 uses the OSPF default network type

R1r2r3

int f0/0

IP OSPF 1 Area 2

R4r5

int S2/1

IP OSPF 1 Area 1

The default OSPF network type is not allowed for a 234 segment between 2,R2 R4

Configure OSPF first to see the default network type (Frame Relay default NBMA)

int S2/2

IP OSPF 1 Area 1

Because the above requirements are not allowed to broadcast, multicast, so the remaining 4 network type can only use "point to many non-broadcast"

int S2/2

IP OSPF network point-to-point no-broadcast

You need to manually refer to the neighbor and just do it on one side.

R4:

Router OSPF 1

Neighbor 1.1.234.2

Netghbor 1.1.1.234.3

Note that the IGP protocol means that neighbors must be neighborhood between neighboring devices. The image of R2 R3 is not directly connected so can not be R2 R3 on neighbor 1.1.234.2/3

3,R1 's lo0 is placed in area 2,R2 Lo0 placed in area 1, R4 R5 in area 0

R3 's lo0 can be placed in the appropriate area according to the following topics, testing the adjacency of each router to ensure that the region's routing can be learned.


OSPF Advanced Configuration

4, in R3 R4 do configuration, so R1 see other areas of the route is learned from R3

Solution: Start virtual link between R3 R4

R3:

Router OSPF 1

Area 1 Virtual-link 10.10.4.4

R4:

Router OSPF 1

Area 1 Virtual-link 10.10.3.3

5,R2R3 is a two-way state, and no means of apprehension or verification can be used.

Solution: Let R1 become Dr

R2R3:

int f0/0

IP OSPF priority 0

Verify: show ip OSPF neighbor

6, in area 2, only the intra interregional and inter routers areas can be seen, and only the external routes introduced by R1 (if any) can be seen, and the following routes should also be seen on R1:

O*N2 0.0.0.0 [110/20]1.1.123.3, note that this solution cannot appear metric keywords


Workaround: Configure area 2 for NSSA and R2r3 "no redistribute" to ensure that only external routes are introduced by R1

R1:

Router OSPF 1

Area 2 Nssa

R2:

Router OSPF 1

Area 2 Nssa no-redistribution

R3:

Router OSPF 1

Area 2 Nssa no-redistribution

4 Special Areas, only Nssa does not automatically generate a default route, the title requires that the default next hop is R3, so

R3:

Router OSPF 1

Area 2 Nssa Default-information-originate

R1:sho IP ro

Metric values can be modified by area 2 Nssa default-information-originate metric 20, but not allowed in the title, so,

R3:rouer OSPF 1

Area 2 Default-cost 20

R1; Sho ip ro os

7, increase the lo3=30.1.1.1/24 in R3, put to Area30, configure in the appropriate place. Let R2 learn this route, and his next hop is 1.1.123.4, and make sure R5 two routes learned R4 Lo0 R1 are still learned from R3.

Solution 1

R3:

int Lo0

IP Add 30.1.1.1 255.255.255.0

IP OSPF 1 Area 30

R2:

Sho IP ro OSPF

Route 30 The next hop is R3:

Because, R3R4 virtual link reason, 30 network segment was AREA0 learned, then R4 sent r2r3,r1 through virtual link also learned. So R2 can learn from the R1 R4 30 network segment. R2 to R1R4 ad is the same, all OIA type, but metric different, R2:sho IP os border-routers

So, by modifying the interface cost value for the route in direction :

R2:

int f0/0

IP OSPF cost 129

Sho IP os border-routers

Sho IP ro os

Solution 2

1, R2 R4 open Virtual link

R2:router OS 1

Area 1 vir 10.10.4.4

R4:router OS 1

Area 1 vir 10.10.2.2























CCNP Learning note 6-routing Section--OSPF comprehensive questions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.