如何将关联的 VLAN 子网路由到我在 SoftLayer 上的 Vyatta?

How to route associated VLAN subnet to my Vyatta on SoftLayer?

本题参考以下说明:

https://cloud.ibm.com/docs/infrastructure/virtual-router-appliance?topic=virtual-router-appliance-managing-your-vlans#route-multiple-vlans-over-same-network-interface

我已经从 SoftLayer 门户上的网关设备设置中将我的 Vyatta 关联的 VLAN(public 和私有)配置为 "route through"。

通过 ssh 连接到 Vyatta 后,我尝试使用上述说明将其配置为有效地路由 VLAN:

vyatta@vyatta-dal13# set interfaces bonding dp0bond1 vif 2586 address 52.116.44.192/28

  Configuration path: interfaces bonding dp0bond1 vif 2586 address [52.116.44.192/28] is not valid

  Must have one of the following values: dhcp, dhcpv6, <x.x.x.x/x>, <h:h:h:h:h:h:h:h/x>
  Value validation failed

  Set failed

[edit]

但是,我收到了您在上面看到的错误。我不明白为什么它无法验证该 CIDR。它看起来对我有效。感谢此处的任何提示以继续前进。

该命令配置了dp0bond1的IP地址。因此,使用 52.116.44.193/28 是因为 52.116.44.192/28 是一个网络地址。请尝试使用 52.116.44.193/28