码迷,mamicode.com
首页 > 其他好文 > 详细

[svc]gns3模拟器及探讨几个bgp问题

时间:2017-12-20 20:18:36      阅读:317      评论:0      收藏:0      [点我收藏+]

标签:ges   self   bin   停止   3.1.1   img   mes   network   syn   

模拟器

链接:https://pan.baidu.com/s/1geMcmND 密码:7iir
gns0.8.6的版本好用
思科的这个ios好用: c3660-js2-mz.124-21a.bin
ctrl+shit+6 停止命令

探讨bgp几个问题

防止环路:
as间 as-path
as内 水平分割
full mesh

更新源的问题
同步问题
ibgp水平分割

技术分享图片

  • 基础ip配置
R1

conf t
int lo0
ip add 1.1.1.1 255.255.255.255
int f0/0
ip add 12.1.1.1 255.255.255.0
no shu


R2

conf t
int lo0 
ip add 2.2.2.2 255.255.255.255
int f0/0
ip add 12.1.1.2 255.255.255.0
no shu
int f0/1
ip add 23.1.1.2 255.255.255.0
no shu


R3

conf t
int l0
ip add 3.3.3.3 255.255.255.255
int f0/0
ip add 34.1.1.3 255.255.255.0
no shu
int f0/1
ip add 23.1.1.3 255.255.255.0
no shu

R4

conf t
int l0
ip add 4.4.4.4 255.255.255.255
int f0/0
ip add 34.1.1.4 255.255.255.0
no shu
  • bgp建立full mesh
R1#s run | s bgp
router bgp 123
 no synchronization
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 network 1.1.1.1 mask 255.255.255.255
 neighbor 2.2.2.2 remote-as 123
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 3.3.3.3 remote-as 123
 neighbor 3.3.3.3 update-source Loopback0
 no auto-summary
 
 
R2#s run | s bgp
router bgp 123
 bgp router-id 2.2.2.2
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 123
 neighbor 1.1.1.1 update-source Loopback0
 neighbor 3.3.3.3 remote-as 123
 neighbor 3.3.3.3 update-source Loopback0

R3#s run | s bgp 
router bgp 123
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 123
 neighbor 1.1.1.1 update-source Loopback0
 neighbor 1.1.1.1 next-hop-self
 neighbor 2.2.2.2 remote-as 123
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 2.2.2.2 next-hop-self
 neighbor 34.1.1.4 remote-as 4

R4#s run | s bgp
router bgp 4
 bgp router-id 4.4.4.4
 bgp log-neighbor-changes
 network 4.4.4.4 mask 255.255.255.255
 neighbor 34.1.1.3 remote-as 123

[svc]gns3模拟器及探讨几个bgp问题

标签:ges   self   bin   停止   3.1.1   img   mes   network   syn   

原文地址:http://www.cnblogs.com/iiiiher/p/8075349.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!