bgp的一个实验

实验来自:TCP IP路由技术(第2卷) 中文第108页

拓扑:

Aspen(AS100 .222)---------Vail(AS100, .221, .226)---------------------Taos(AS200, .225)

节点编号:

1---0---2



Aspen

router bgp 100
  bgp router-id 192.168.1.222
  neighbor 192.168.1.221 remote-as 100
  neighbor 192.168.1.221 advertisement-interval 5
  redistribute connected

Taos

router bgp 200
  bgp router-id 192.168.1.225
  neighbor 192.168.1.226 remote-as 100
  neighbor 192.168.1.226 advertisement-interval 5



Vail

router bgp 100
  bgp router-id 192.168.1.226
  neighbor 192.168.1.222 remote-as 100
  neighbor 192.168.1.222 advertisement-interval 5
  neighbor 192.168.1.225 remote-as 200
  neighbor 192.168.1.225 advertisement-interval 5

 
  

这是3个节点学到的路由信息

Time: 5999s
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      -      -   0
192.168.1.220   0.0.0.0         255.255.255.252 U     0      -      -   1
192.168.1.224   0.0.0.0         255.255.255.252 U     0      -      -   2

Time: 5999s
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      -      -   0
192.168.1.220   0.0.0.0         255.255.255.252 U     0      -      -   1
192.168.1.224   192.168.1.221   255.255.255.252 UGS   0      -      -   1

Time: 5999s
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      -      -   0
192.168.1.224   0.0.0.0         255.255.255.252 U     0      -      -   1
192.168.1.220   192.168.1.226   255.255.255.252 UGS   0      -      -   1



你可能感兴趣的:(ns3,quagga)