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

时间:2019-03-24 23:40:58

标签: ibm-cloud-infrastructure

此问题参考以下说明:

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(公用和专用)作为“路由通过”。

ssh-sing入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。对我来说似乎有效。感谢这里的任何提示以继续前进。

1 个答案:

答案 0 :(得分:1)

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