Chapter II Large Web advanced OSPF area 0

Source: Internet
Author: User

OSPF -only (single region)

Experimental requirements:

1. Configure the OSPF single area.

2. Configure the default route to the Internet on R2 .

3. Configure PAT on the R2 to convert the 172.16.2.0/24 network Segment to the address of the f0/0 Port.

4, Configure static NAT on R2, publish to intranet server Server1.

Experimental results:

1, the intranet can access each other (ping).

2, PC2 can access the external network (ping).

3, the external network server can access the intranet (ping) published server.

650) this.width=650; "title=" Picture 1.jpg "src=" http://s1.51cto.com/wyfs02/M02/8B/06/ Wkiom1hbempx--rhaacka94bqze863.jpg-wh_500x0-wm_3-wmp_4-s_4173673614.jpg "alt=" Wkiom1hbempx--rhaacka94bqze863.jpg-wh_50 "/>

First, set the PC address

650) this.width=650; "title=" Picture 2.jpg "src=" http://s4.51cto.com/wyfs02/M02/8B/02/ Wkiol1hbendzorobaab0eytl-hs927.jpg-wh_500x0-wm_3-wmp_4-s_3208626792.jpg "alt=" Wkiol1hbendzorobaab0eytl-hs927.jpg-wh_50 "/>

Second, set the server address

650) this.width=650; "title=" Picture 3.jpg "src=" http://s2.51cto.com/wyfs02/M00/8B/06/ Wkiom1hbepztkbzraacocmgds-u175.jpg-wh_500x0-wm_3-wmp_4-s_442053338.jpg "alt=" Wkiom1hbepztkbzraacocmgds-u175.jpg-wh_50 "/>

Third, set the router address

[ intranet three routes IP setting method same ]

650) this.width=650; "title=" Picture 4.jpg "src=" http://s4.51cto.com/wyfs02/M01/8B/06/ Wkiom1hbeqqxb2bfaadmxyn0mz0525.jpg-wh_500x0-wm_3-wmp_4-s_3127818352.jpg "alt=" Wkiom1hbeqqxb2bfaadmxyn0mz0525.jpg-wh_50 "/>

Four, the intranet and the external network interface address is

650) this.width=650; "title=" Picture 5.jpg "src=" http://s5.51cto.com/wyfs02/M01/8B/02/ Wkiol1hberbckhsyaabf-fj1oem322.jpg-wh_500x0-wm_3-wmp_4-s_788499929.jpg "alt=" Wkiol1hberbckhsyaabf-fj1oem322.jpg-wh_50 "/>

Five, intranet three router loopback address

R1

650) this.width=650; "title=" Picture 6.jpg "src=" http://s2.51cto.com/wyfs02/M02/8B/06/ Wkiom1hbesxyqsldaaadmbnnsmy651.jpg-wh_500x0-wm_3-wmp_4-s_1642150555.jpg "alt=" Wkiom1hbesxyqsldaaadmbnnsmy651.jpg-wh_50 "/>

R2

650) this.width=650; "title=" Picture 7.jpg "src=" http://s5.51cto.com/wyfs02/M02/8B/02/wKioL1hBetDD_ 7m0aabmgjmpgbm137.jpg-wh_500x0-wm_3-wmp_4-s_194271977.jpg "alt=" Wkiol1hbetdd_7m0aabmgjmpgbm137.jpg-wh_50 "/>  

R3

650) this.width=650; "title=" Picture 8.jpg "src=" http://s5.51cto.com/wyfs02/M00/8B/06/ Wkiom1hbetugeqemaabxf-rthtk886.jpg-wh_500x0-wm_3-wmp_4-s_2018816393.jpg "alt=" Wkiom1hbetugeqemaabxf-rthtk886.jpg-wh_50 "/>

Vi. Setting up OSPF dynamic Routing (single region)

Note:the router ID is used to identify the router. How do routers or routerIDs do?

1. The highest router IDis passed through the loopback IP address.

2. If Lookback is not set , the highest IP addresswill be selected on the physical interface .

declare: Network + NET segment + anti-code

Area: Can be 0,1,2 can also be 192.168.1.0 (area code)

650) this.width=650; "title=" Picture 9.jpg "src=" http://s2.51cto.com/wyfs02/M01/8B/02/ Wkiol1hbeuqau-0laadmtypenyw173.jpg-wh_500x0-wm_3-wmp_4-s_869690799.jpg "alt=" Wkiol1hbeuqau-0laadmtypenyw173.jpg-wh_50 "/>

650) this.width=650; "title=" Picture 10.jpg "src=" http://s5.51cto.com/wyfs02/M02/8B/06/ Wkiom1hbevedkowoaac6bpsrup4191.jpg-wh_500x0-wm_3-wmp_4-s_2357892917.jpg "alt=" Wkiom1hbevedkowoaac6bpsrup4191.jpg-wh_50 "/>650" this.width=650; "title=" Picture 11.jpg "src=" http://s3.51cto.com/ Wyfs02/m02/8b/02/wkiol1hbewpiysbwaaczfi8ar4c719.jpg-wh_500x0-wm_3-wmp_4-s_2815978362.jpg "alt=" Wkiol1hbewpiysbwaaczfi8ar4c719.jpg-wh_50 "/>

Seven, view

View the routing table

650) this.width=650; "title=" Picture 12.jpg "src=" http://s5.51cto.com/wyfs02/M00/8B/06/ Wkiom1hbexdzpg8taadt9e8fa9y382.jpg-wh_500x0-wm_3-wmp_4-s_3989325695.jpg "alt=" Wkiom1hbexdzpg8taadt9e8fa9y382.jpg-wh_50 "/>

Viewing interface data

650) this.width=650; "title=" Picture 13.jpg "src=" http://s4.51cto.com/wyfs02/M00/8B/02/ Wkiol1hbeydwuwrxaac0nujjf2k586.jpg-wh_500x0-wm_3-wmp_4-s_1764567656.jpg "alt=" Wkiol1hbeydwuwrxaac0nujjf2k586.jpg-wh_50 "/>

View Neighbor List

650) this.width=650; "title=" Picture 14.jpg "src=" http://s5.51cto.com/wyfs02/M01/8B/06/ Wkiom1hbezkte-k2aabe6eutd6y344.jpg-wh_500x0-wm_3-wmp_4-s_1088522007.jpg "alt=" Wkiom1hbezkte-k2aabe6eutd6y344.jpg-wh_50 "/>

View OSPF configuration

650) this.width=650; "title=" Picture 15.jpg "src=" http://s3.51cto.com/wyfs02/M01/8B/06/ Wkiom1hbe0px96edaadamdoyoao345.jpg-wh_500x0-wm_3-wmp_4-s_892447951.jpg "alt=" Wkiom1hbe0px96edaadamdoyoao345.jpg-wh_50 "/>

Eight, verify the network interoperability

650) this.width=650; "title=" Picture 16.jpg "src=" http://s5.51cto.com/wyfs02/M01/8B/02/wKioL1hBe0_ Z5cmaaacoxjhkxw8343.jpg-wh_500x0-wm_3-wmp_4-s_3961979502.jpg "alt=" wkiol1hbe0_z5cmaaacoxjhkxw8343.jpg-wh_50 "/ >

Nine, set static Nat

R2

650) this.width=650; "title=" Picture 17.jpg "src=" http://s1.51cto.com/wyfs02/M01/8B/02/ Wkiol1hbe3-rtii5aaasxeegpyy676.jpg-wh_500x0-wm_3-wmp_4-s_1209823026.jpg "alt=" Wkiol1hbe3-rtii5aaasxeegpyy676.jpg-wh_50 "/>650" this.width=650; "title=" Picture 18.jpg "src=" http://s3.51cto.com/ Wyfs02/m02/8b/06/wkiom1hbe4na9cqkaacep3zd0tw437.jpg-wh_500x0-wm_3-wmp_4-s_3208600250.jpg "alt=" Wkiom1hbe4na9cqkaacep3zd0tw437.jpg-wh_50 "/>

650) this.width=650; "title=" Picture 19.jpg "src=" http://s3.51cto.com/wyfs02/M02/8B/06/wKiom1hBe5TxJTfaAAA3hyY3_ D0455.jpg-wh_500x0-wm_3-wmp_4-s_1821669676.jpg "alt=" Wkiom1hbe5txjtfaaaa3hyy3_d0455.jpg-wh_50 "/>

X. Verification

650) this.width=650; "title=" Picture 20.jpg "src=" http://s2.51cto.com/wyfs02/M02/8B/02/ Wkiol1hbe6cyuxcuaabgiwnci6q993.jpg-wh_500x0-wm_3-wmp_4-s_1790202698.jpg "alt=" Wkiol1hbe6cyuxcuaabgiwnci6q993.jpg-wh_50 "/>650" this.width=650; "title=" Picture 21.jpg "src=" http://s4.51cto.com/ Wyfs02/m00/8b/06/wkiom1hbe7rrnmzvaablur3plfk658.jpg-wh_500x0-wm_3-wmp_4-s_951735246.jpg "alt=" Wkiom1hbe7rrnmzvaablur3plfk658.jpg-wh_50 "/>

Xi. Setting up PAT for intranet network access

R2

650) this.width=650; "title=" Picture 22.jpg "src=" http://s5.51cto.com/wyfs02/M00/8B/02/ Wkiol1hbe8xgtbilaabzvjlbx1o382.jpg-wh_500x0-wm_3-wmp_4-s_4173422407.jpg "alt=" Wkiol1hbe8xgtbilaabzvjlbx1o382.jpg-wh_50 "/>

R1

650) this.width=650; "title=" Picture 23.jpg "src=" http://s3.51cto.com/wyfs02/M01/8B/06/ Wkiom1hbe8-i53rdaabewrlztgu978.jpg-wh_500x0-wm_3-wmp_4-s_2890422123.jpg "alt=" Wkiom1hbe8-i53rdaabewrlztgu978.jpg-wh_50 "/>

R3

650) this.width=650; "title=" Picture 24.jpg "src=" Http://s4.51cto.com/wyfs02/M01/8B/02/wKioL1hBe9rhs_ Bqaabkexm1lsu556.jpg-wh_500x0-wm_3-wmp_4-s_2750866476.jpg "alt=" Wkiol1hbe9rhs_bqaabkexm1lsu556.jpg-wh_50 "/>

12. Verification

650) this.width=650; "title=" Picture 25.jpg "src=" http://s4.51cto.com/wyfs02/M01/8B/02/ Wkiol1hbe-fg7xw-aacdw1zaqlw448.jpg-wh_500x0-wm_3-wmp_4-s_2247682012.jpg "alt=" Wkiol1hbe-fg7xw-aacdw1zaqlw448.jpg-wh_50 "/>650" this.width=650; "title=" Picture 26.jpg "src=" http://s5.51cto.com/ Wyfs02/m02/8b/06/wkiom1hbe_waefuuaabym66xwmu338.jpg-wh_500x0-wm_3-wmp_4-s_453979868.jpg "alt=" WKiom1hBe_ Waefuuaabym66xwmu338.jpg-wh_50 "/>650" this.width=650; "title=" Picture 27.jpg "src=" Http://s1.51cto.com/wyfs02/M02/8B /02/wkiol1hbfakzeyieaabnvgqiw1i204.jpg-wh_500x0-wm_3-wmp_4-s_2113945251.jpg "alt=" Wkiol1hbfakzeyieaabnvgqiw1i204.jpg-wh_50 "/>

13, authentication Network access intranet

650) this.width=650; "title=" Picture 28.jpg "src=" http://s5.51cto.com/wyfs02/M00/8B/06/ Wkiom1hbfa-daxhfaacqtdazbvw856.jpg-wh_500x0-wm_3-wmp_4-s_2553186197.jpg "alt=" Wkiom1hbfa-daxhfaacqtdazbvw856.jpg-wh_50 "/>650" this.width=650; "title=" Picture 29.jpg "src=" http://s2.51cto.com/ Wyfs02/m02/8b/06/wkiom1hbfcctvwahaabfyppzzme338.jpg-wh_500x0-wm_3-wmp_4-s_215168506.jpg "alt=" Wkiom1hbfcctvwahaabfyppzzme338.jpg-wh_50 "/>

14: Dr and BDR elections

1, automatic election: Routerid largest for Dr, the second largest for BDR (backup)

2, Manual election: Set the priority of the router, high priority for the DR, the second high for BDR

The default priority is 1 for a range of 0--255 0 to not participate in an election command IP OSPF priority

Chapter II Large Web advanced OSPF area 0

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.