Ensp's ospf small experiment

Claim:

Insert picture description here

Ideas:

Insert picture description here

1. First configure the IP address and then write the default to the ISP

Insert picture description here
Insert picture description here
Insert picture description here

2. Make the external network connectable (R1-R3 are similar)

Insert picture description here

3. Use MGRE (R1 as the central site, R2 and R3 as branch sites)

Insert picture description here

4. Enable ospf in the private network (R2 and R3 perform similar operations to announce the private network)

Insert picture description here
At this time, you will find that R1 only establishes an adjacency with one, while it is stuck in the init state with the other. Because MGRE is a point-to-multipoint network,
the ospf network type of the interface is changed to the broadcast type.
At this time, there will be DR and BDR elections. We hope that R1 will become DR so we modify the DR priority values ​​of R2 and R3.

[r3-Tunnel0/0/0]ospf dr-priority 1
Insert picture description here
Then restart the Tunnel port, then
Insert picture description here

5. View the routes learned by ospf

Insert picture description here
Insert picture description here

6. Test:

Insert picture description here
The experiment is complete.

Guess you like

Origin blog.csdn.net/qq_43710889/article/details/108914439