当前位置:网站首页>MPLS experiment
MPLS experiment
2022-07-02 10:20:00 【m0_ sixty-four million two hundred and sixty-five thousand thre】
The experimental requirements :

The topology :
Experimental thinking :
1、 To configure ip Address (r20 Mouth and 1 I don't deserve it first )
2、 stay mpls Start in the domain ospf, start-up mpls
3、 establish 2 individual VRF Space , carry rd and rt value , binding VRF Interface corresponding to space , Then configure the interface ip
4、 stay vrf Space establishment MP-BGP Neighbors publish routes
5、 stay r1r2、r4r5 Write static (r2 Write statically on VRF Space ), stay r6、r2 and r4、r7 To start, respectively, rip、ospf, stay VRF Space r2、r7 Reissue
6、 Default to use r7 You can visit r2、r3 Loopback
Configuration command :
1、 To configure IP
2、 start-up ospf 、 start-up mpls
r2
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 192.168.2.0 0.0.0.255network 10.0.0.0 0.0.0.255
mpls lsr-id 2.2.2.2
mpls
mpls ldpinterface GigabitEthernet0/0/2
ip address 192.168.2.1 255.255.255.0
mpls
mpls ldp
r3
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 192.168.2.0 0.0.0.255
network 192.168.4.0 0.0.0.255r4
ospf 1 router-id 4.4.4.4
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 192.168.4.0 0.0.0.255mpls lsr-id 4.4.4.4
mpls
mpls ldpinterface GigabitEthernet0/0/0
ip address 192.168.4.2 255.255.255.0
mpls
mpls ldp
3、 establish 2 individual VRF Space , carry rd and rt value , binding VRF Interface corresponding to spacer2
ip vpn-instance a
ipv4-family
route-distinguisher 100:100
vpn-target 100:1 export-extcommunity
vpn-target 100:2 import-extcommunityinterface GigabitEthernet0/0/0
ip binding vpn-instance a
ip address 192.168.1.2 255.255.255.0ip vpn-instance b
ipv4-family
route-distinguisher 200:2
vpn-target 200:1 export-extcommunity
vpn-target 200:2 import-extcommunityinterface GigabitEthernet0/0/1
ip binding vpn-instance b
ip address 192.168.3.2 255.255.255.0r4
ip vpn-instance b
ipv4-family
route-distinguisher 100:100
vpn-target 100:2 export-extcommunity
vpn-target 100:1 import-extcommunityinterface GigabitEthernet0/0/1
ip binding vpn-instance b
ip address 192.168.5.1 255.255.255.0ip vpn-instance a
ipv4-family
route-distinguisher 200:2
vpn-target 200:2 export-extcommunity
vpn-target 200:1 import-extcommunityinterface GigabitEthernet0/0/2
ip binding vpn-instance a
ip address 192.168.6.1 255.255.255.04、 stay vrf Space establishment MP-BGP Neighbors publish routes
r2
bgp 2
router-id 2.2.2.2
peer 4.4.4.4 as-number 2
peer 4.4.4.4 connect-interface LoopBack0ipv4-family vpnv4( Give Way bgp Pass on vpn4)
policy vpn-target
peer 4.4.4.4 enable
ipv4-family vpn-instance a (VRF Space )
import-route direct
import-route static
ipv4-family vpn-instance b
import-route rip 1
rip 1 vpn-instance b( stay VRF Start in space rip)
version 2
network 192.168.3.0
import-route bgp
ip route-static vpn-instance a 1.1.1.0 255.255.255.0 192.168.1.1r4
bgp 2
router-id 4.4.4.4
peer 2.2.2.2 as-number 2
peer 2.2.2.2 connect-interface LoopBack0
#
ipv4-family vpnv4
policy vpn-target
peer 2.2.2.2 enable
#
ipv4-family vpn-instance a
import-route ospf 2
#
ipv4-family vpn-instance b
import-route direct
import-route staticospf 2 router-id 4.4.4.4 vpn-instance a
import-route bgp
area 0.0.0.0
network 192.168.6.0 0.0.0.255
ip route-static vpn-instance b 5.5.5.0 255.255.255.0 192.168.5.2
5、 send r7 You can visit r2、r3 Loopback
ip route-static 0.0.0.0 0.0.0.0 10.0.0.2
experimental result :



边栏推荐
- It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something
- Sil/pil test of matlab code generation
- MySQL -- time zone / connector / driver type
- 阿里云短信服务
- Blender model import UE, collision settings
- Junit4运行mvn test 测试套件升级方案
- [200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
- This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
- Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
- Project practice, redis cluster technology learning (IX)
猜你喜欢

It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something

Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels

Junit5 支持suite的方法

Blender stone carving

滲透測試的介紹和防範

Mixed development of uni app -- Taking wechat applet as an example

Blender volume fog

Summary of demand R & D process nodes and key outputs

allure--常用配置项

Alibaba cloud SLS log service
随机推荐
【虚幻】武器插槽:拾取武器
MySQL -- time zone / connector / driver type
Applet development summary
Introduction et prévention des essais de pénétration
[IDL] Research
High level application of SQL statements in MySQL database (II)
Junit5 supports suite methods
Junit5 支持suite的方法
Postman--使用
Matlab生成dsp程序——官方例程学习(6)
Vscode set JSON file to format automatically after saving
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
Blender摄像机环绕运动、动画渲染、视频合成
Project practice, redis cluster technology learning (10)
Junit4运行mvn test 测试套件升级方案
Mixed development of uni app -- Taking wechat applet as an example
Blender volume fog
Message mechanism -- getting to know messages and message queues for the first time
Alibaba cloud Prometheus monitoring service
Introduction to go language