Skip to content
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

求教,br0是通过 brctl 自行添加吗 #107

Open
LilZhang opened this issue May 10, 2024 · 2 comments
Open

求教,br0是通过 brctl 自行添加吗 #107

LilZhang opened this issue May 10, 2024 · 2 comments

Comments

@LilZhang
Copy link

求教,br0是通过 brctl 自行添加吗

只找到了virbr0,没有找到br0

@firedemo1
Copy link

firedemo1 commented May 10, 2024 via email

@jaywcjlove
Copy link
Owner

`ifcfg-br0` 桥接网卡配置在同一个目录中。
```bash
TYPE=Bridge
BOOTPROTO=static
NAME=br0
DEVICE=br0
ONBOOT=yes
IPADDR=192.168.120.1
PREFIX=24
```
`ifcfg-eno1` 物理网卡指定桥接网卡`BRIDGE="br0"`
```bash
TYPE=Ethernet
BOOTPROTO=none
NAME=eno1
DEVICE=eno1
ONBOOT=yes
BRIDGE="br0"

应该是设置的,好久了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants