-
Notifications
You must be signed in to change notification settings - Fork 80
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
doc: optimize ovs #3403
doc: optimize ovs #3403
Conversation
@@ -121,7 +121,7 @@ Spiderpool 可用作 Underlay 网络场景下提供固定 IP 的一种解决方 | |||
~# ovs-vsctl add-port br1 eth0 | |||
~# ip addr add <IP地址>/<子网掩码> dev br1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里添加 IP 是否 必做呢 ? 原eth0有IP,则可上移,但是主机重启这个IP 这样配就失效了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ab8127d
to
119384e
Compare
``` | ||
|
||
请把以上命令配置在系统行动脚本中,以在主机重启时能够生效 | ||
请把以上命令配置在系统行动脚本中,以在主机重启时能够生效,如下是 ubuntu 中使用 netplan 的示例,对于其他操作系统您可以考虑使用 nmcli,在 /etc/netplan 目录下创建 12-br1.yaml 后,通过 netplan apply 生效。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold |
8e158b5
to
ed9aee1
Compare
valid_lft forever preferred_lft forever | ||
``` | ||
|
||
### 使用 NetworkManager 持久化 OVS Bridge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
标题 要 对称,这两个 不对称
Ubuntu 使用 netplan 持久化 OVS Bridge
使用 NetworkManager 持久化 OVS Bridge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好了
1. 使用 NetworkManager 持久化 OVS Bridge,你需要安装 OVS NetworkManager 插件,示例如下: | ||
|
||
```bash | ||
~# sudo dnf install -y NetworkManager-ovs openvswitch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这为什么 这里出现安装 openvswitch ,Ubuntu 就不出现
这个应该出现在 先决条件
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
65d3f31
to
f8eb56b
Compare
Signed-off-by: tao.yang <[email protected]>
Thanks for contributing!
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #3402
Special notes for your reviewer: