版本:Ubuntu16.04 LTS上的OpenDaylight Boron SR3
我开始玩TCP BGP,但是我无法在OpenDaylight和路由器之间建立TCP会话。
ODL IP: 10.1.1.10路由器IP: 10.1.1.1
我编辑了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>已多次重新启动ODL。当我运行tcpdump时,我看到当路由器尝试启动TCP会话时,ODL正在向路由器发送TCP RST。ODL和路由器ping工程之间存在连接。我也禁用了IPTables。以根用户身份运行ODL。我已经为BGP启用了调试。
日志显示没有显示BGP的输出。
opendaylight-user@root>log:display | grep BGP
opendaylight-user@root>是否需要更多更改?
发布于 2017-04-24 13:09:30
实际上,事实证明这些功能没有正确安装。
重新安装了功能,现在可以正常工作了。
https://stackoverflow.com/questions/43574170
复制相似问题