当前位置:网站首页>BGP comprehensive experiment

BGP comprehensive experiment

2022-07-05 00:49:00 Love 107

planning IP And configure all basic configurations

AS2 Each internal router loopback interface IP Respectively
R2: 172.16.2.0 24
R3: 172.16.3.0 24
R4: 172.16.4.0 24
R5: 172.16.5.0 24
R6: 172.16.6.0 24
R7: 172.16.7.0 24

Interface between internal links IP The network number is :
R2—R3: 172.16.0.0/30
R3—R4: 172.16.0.4/30
R2—R5: 172.16.0.8/30
R5—R6: 172.16.0.12/30 

R6—R7: 172.16.0.16/30
R4—R7: 172.16.0.20/30

R1 To configure :

R2 To configure : 

 R3 To configure :

 R4 To configure :

R5 To configure :

R6 To configure :

R7 To configure :

R8 To configure :

  stay AS2 Run in OSPF agreement :
Because the physical interface network segment and loopback of each router are 172.16.0.0 In segment , Therefore, only one route table can be declared :

  The rest are the same , It's different A show of

test ,ping once

Jingxing BGP experiment : By the reflector and the Federation BGP Horizontal segmentation of

Next test BGP The neighborhood of

R1

 R2:

 R3

R4 

R5

R6

R7

R8

  stay BGP Declare the network segment :

Test after declaration :

Finally, we are not announcing 192.168.1.0 and 192.168.2.0 In the case of network segment , Let it pass :
stay R1 and R8 On the establishment of VPN, Achieve communication , By writing static routes , With Tunnel For the next communication

Retest

 

原网站

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