当前位置:网站首页>MPLS experiment

MPLS experiment

2022-07-07 12:29:00 Miracle_ ze

1. The experiment purpose

master VPN Configuration and DR and DT value

2. Experimental topics

 Insert picture description here

3. Configuration experiment

1. Experimental Topology

 Insert picture description here

2. Configure public network related configurations

1. Access to the public network

1. To configure ip And loopback

R2
 Insert picture description here
R3
 Insert picture description here
R4
 Insert picture description here

R7
 Insert picture description here

2. Use OSPF Connect the public network

R2
 Insert picture description here

R3
 Insert picture description here

R4
because 4-7 Give way between 2/3 know , however 7 It is the customer who sets 0/0/2 Bit silent interface
 Insert picture description here

R7
The default solution is not to establish a neighbor to access the public network
 Insert picture description here

3. Result display

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

2. Use MPLS Collocation environment

R2

To configure MPLS
 Insert picture description here
Open the protocol on the interface through which the tag passes
 Insert picture description here
R3
To configure MPLS
 Insert picture description here
Open the protocol on the interface through which the tag passes
 Insert picture description here
R4
To configure MPLS
 Insert picture description here
Open the protocol on the interface through which the tag passes 【 And r7 Failure to establish neighbors is regarded as pc Can 】

 Insert picture description here

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

3. Use VPN Configure the outer end of the connection

R2 Space
B1
 Insert picture description here
A1
 Insert picture description here
Specify the space at the outer end
B1
 Insert picture description here

A1
 Insert picture description here
result
double up And coexist 【 Because they are in the two routing tables vpna1 And vpnb1 No conflict 】
 Insert picture description here
R4 Space
B2
 Insert picture description here

A2
 Insert picture description here

Specify the space at the outer end
B2
 Insert picture description here
A2
 Insert picture description here
result
 Insert picture description here

4. send R2 And R4 Use bgp establish MPLS Special neighbors 【mp-bgp】

R2
 Insert picture description here
 Insert picture description here

R4
 Insert picture description here

3. Configure customers ip And loopback

R1
 Insert picture description here
 Insert picture description here

R6
 Insert picture description here
 Insert picture description here
R5
 Insert picture description here
 Insert picture description here
R7
 Insert picture description here

4.A1 perform RIP

R6
 Insert picture description here

R2
 Insert picture description here
result
 Insert picture description here

5.A2 perform OSPF

R7
 Insert picture description here
R4
 Insert picture description here
result
 Insert picture description here

6. Two way republication

R2
 Insert picture description here
 Insert picture description here
R4
 Insert picture description here
 Insert picture description here
result
 Insert picture description here
 Insert picture description here

7. Static and direct connection are sent by republishing

B1
R1 Go to R5 The next jump 【 Direct route and static route 】
 Insert picture description here
stay B1 Next jump in middle space
 Insert picture description here
Space republish
 Insert picture description here
result
 Insert picture description here
B2
Have learned B1 The routing
 Insert picture description here
R4 Learn direct routing
 Insert picture description here

result
R4 After learning routing
 Insert picture description here
take R4 Of 3.0 And 4.0 Republish to R2
 Insert picture description here
R5 Go to R1 The next jump 【 Direct route and static route 】
 Insert picture description here

result
 Insert picture description here

4. Summary of the experiment

The experimental operation is not difficult, as long as the idea is clear, it is easy to deal with , No major problems were encountered during the experiment . Mainly understanding space , Its unique feature can separate two private network segments . It mainly depends on RD And RT Value to judge !

原网站

版权声明
本文为[Miracle_ ze]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130618062329.html