简体   繁体   English

开放日光 BGP

[英]OpenDaylight BGP

Version: OpenDaylight Boron SR3 on Ubuntu 16.04 LTS版本:Ubuntu 16.04 LTS 上的 OpenDaylight Boron SR3

I started playing with OpenDaylight BGP but I cannot bring up TCP session between ODL and router.我开始使用 OpenDaylight BGP,但我无法在 ODL 和路由器之间启动 TCP 会话。

ODL IP: 10.1.1.10 Router IP: 10.1.1.1 ODL IP:10.1.1.10 路由器IP:10.1.1.1

I have edited 41-bgp-example.xml as follows:我编辑了 41-bgp-example.xml 如下:

<module>
 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-acceptor</type>
    <name>bgp-peer-server</name>
    <!--Default parameters-->
    <binding-address>10.1.1.10</binding-address>
    <!--Default binding-port 179-->
    <binding-port>179</binding-port>
</module>

<module>
 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer</type>
 <name>example-bgp-peer</name>
 <host>10.1.1.1</host>
 <holdtimer>180</holdtimer>
 <retrytimer>10</retrytimer>
 <peer-role>ibgp</peer-role>
</module>

<module>
 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-impl</type>
 <name>example-bgp-rib</name>
 <rib-id>example-bgp-rib</rib-id>
 <local-as>100</local-as>
 <bgp-rib-id>10.1.1.10</bgp-rib-id>
</module>

Restarted ODL many times.多次重启ODL。 When I run tcpdump, I see ODL is sending a TCP RST to the router when the router attempts to start a TCP session.当我运行 tcpdump 时,当路由器尝试启动 TCP 会话时,我看到 ODL 正在向路由器发送 TCP RST。 There is connectivity between ODL and router - ping works. ODL 和路由器之间存在连接- ping 有效。 I have disabled IPTables too.我也禁用了 IPTables。 Running ODL as root.以 root 身份运行 ODL。 I have debug enabled for BGP.我为 BGP 启用了调试。

log display shows no output for BGP.日志显示显示 BGP 没有输出。

opendaylight-user@root>log:display | grep BGP
opendaylight-user@root>

Are there any more changes required?是否需要进行更多更改?

Actually, it turned out the features were not installed properly.实际上,事实证明这些功能没有正确安装。

Re-installed features and it works now.重新安装了功能,现在可以使用了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM