OSPF BGP Interaction

来源:互联网 发布:js 控制div 上下居中 编辑:程序博客网 时间:2024/05/23 05:07
To let the BGP Next-Hop accessable
As we know,the BGP next-hop is carried no alterable into OSPF.So How can you guarantee this next-hop is reachable in IGP?There is two common ways:
First:Let the BGP running interface participate into OSPF.Thus OSPF can know the existence of the DMZ network.But one thing you should pay attention to is you actually don't want the DMZ network advertised in the OSPF domain.So,the practical method is to let the BGP running interface participate into OSPF,but passive it.As these commands act:
router ospf 10
passive-interface Serial0
network 172.16.0.0 255.255.0.0 area 0
Even though the BGP running interface Serial0 don't exchange any hello packets,but the DMZ network can be described as a stub network in this ASBR's router LSA.
Secondly:use the "next-hop-self" neighbor command to alter the BGP next-hop.Such as: neighbor 172.16.2.254 next-hop-self
 
原创粉丝点击