0

版本:Ubuntu 16.04 LTS 上的 OpenDaylight Boron SR3

我开始使用 OpenDaylight BGP,但我无法在 ODL 和路由器之间启动 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。以 root 身份运行 ODL。我为 BGP 启用了调试。

日志显示显示 BGP 没有输出。

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

是否需要进行更多更改?

4

1 回答 1

0

实际上,事实证明这些功能没有正确安装。

重新安装了功能,现在可以使用了。

于 2017-04-24T05:09:30.103 回答