-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[求助/Help]典型网络配置中如何配置宿主机管理口使用非1的VLAN ID #22210
Comments
试试下面的配置? networks:
- bond0.36/br0/10.87.16.21 |
|
可以用 |
|
应该是走 bond0.36 出去吧,我看 ifcfg-bond0.36 文件里面有网络配置 |
那我业务的流量走哪里 不应该是bond0这个主接口嘛 |
那应该分出两个 bond0 和 bond1 之类的 interface ,然后在 networks 里面添加两个配置,比如: bond0.36/br0/10.87.16.21
bond1/br1/x.x.x.x |
我物理网卡只有一个bond0 只是想拿bond0.36这个子接口作为管理地址 然后bond0作为业务流量的承载网卡 去创建二层网络 这样的话/etc/yunion/host.conf要怎么配置 |
在平台创建一个二层网络,比如 bcast1,然后这样写试试: bond0.36/br0/10.87.16.21
bond0/br1/bcast1 这样 br0 上面会配置 bond0.36 的 ip 地址,作为管理,然后 br1 上的网桥加入 bond0 加入平台的 bcast1 二层网络,之后的在平台创建的业务流量子网都创建到 bcast1 这个二层网络。 |
listen_interface这个参数还需要配置嘛 |
可以不配置,默认情况会选 ip 的网卡,也就是 br0 作为 listen_interface ,除非是多张网卡都有不通 ip ,才需要明确指定 |
好的 谢谢 |
计算的管理网和业务网复用bond0,bond0上面配置一个vlan子接口用来作为管理的网络,配置一个IP地址,这种情况下的话/etc/yunion/host.conf这个配置文件改如何配置?
以下是我的网络配置文件:
The text was updated successfully, but these errors were encountered: