- 积分
- 866
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2015-2-4
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
|
楼主 |
发表于 2016-6-26 11:04:08
|
显示全部楼层
做了,和笔记上的结果一样,客户R3能够反射给非客户R1,非客户R1也能反射给客户R3
求各位老师指导,第一次做路由反射器实验,见笑了
配置如下:
R1
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Ethernet0/0
ip address 12.1.1.1 255.255.255.0
half-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 12.1.1.2 remote-as 65001
no auto-summary
R2
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Ethernet0/0
ip address 23.1.1.2 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip address 12.1.1.2 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 2.2.2.0 mask 255.255.255.0
neighbor 12.1.1.1 remote-as 65001
neighbor 23.1.1.3 remote-as 65001
neighbor 23.1.1.3 route-reflector-client
no auto-summary
!
R3
interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Ethernet0/0
no ip address
shutdown
half-duplex
!
interface Ethernet0/1
ip address 23.1.1.3 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 3.3.3.0 mask 255.255.255.0
neighbor 23.1.1.2 remote-as 65001
no auto-summary
实验结果
R1#sh ip route bgp
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 2.2.2.0/24 [200/0] via 12.1.1.2, 00:06:39
3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 3.3.3.0/24 [200/0] via 23.1.1.3, 00:01:10
R2#sh ip route bgp
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 1.1.1.0/24 [200/0] via 12.1.1.1, 00:06:58
3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 3.3.3.0/24 [200/0] via 23.1.1.3, 00:03:58
R3#sh ip route bgp
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 1.1.1.0/24 [200/0] via 12.1.1.1, 00:01:31
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 2.2.2.0/24 [200/0] via 23.1.1.2, 00:04:16
|
6#
2016-6-26 11:04:08
回复(0)
收起回复
|