- 论坛徽章:
- 0
|
我的目的是什么呢,我希望我的AS里面会收到 221.5.41.1/32 指向 null 的黑洞路由
R1假设是客户的路由器AS300,R2是我方运营的路由器 AS400
客户希望他在路由器上放置了一条简单的黑洞路由ip route 221.5.41.1 255.255.255.0 null 0,并发布给对方的运营商路由器R2
然后 R2收到这条路由后,也会得到 跟R1类似的结果 在R2的 路由表中 221.5.41.1 /32 指向null, R2将会把这条路由表发布给 AS中的所有路由器
我的配置如下:(这次暂不提到 community)
R1#
interface Serial1
ip address 10.10.10.1 255.255.255.0
!
router bgp 300
neighbor 10.10.10.2 remote-as 400
redistribute ip route-static
ip route 221.5.41.1 255.255.255.0 null 0
--------------------------------------------------
R2#
Current configuration:
interface Serial0
ip address 10.10.10.2 255.255.255.0
!
router bgp 400
neighbor 10.10.10.1 remote-as 300
但是,我在R2中 show ip bgp route ,发觉 221.5.41.1/32 是 via R1地址 10.10.10.1.请问是怎么回事呢,同时谢谢你的指导 |
|