请注意,我使用的是Void。
这是我的/etc/network/interfaces.d/br0文件:
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_waitport 0
bridge_fd 0但是,在引导时,我得到了以下错误:
=> Bringing up the network
Internet Systems Consortium DHCP Client 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "br0"
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
ifup: failed to bring up br0我已经确认我已经安装了bridge-utils。我不知道这里的问题是什么。我会很感激你的帮助。
发布于 2021-05-02 09:00:21
(这确实是一个“评论”,不是和回答,但它不适合在评论部分)
ifup似乎没有创建“场景背后”的桥接界面。
我希望它这样做:
ip link add name brLAN type bridge
ip link set brLAN up
ip link set eno1 master brLAN
ip link set eno1 up如果桥梁使用dhcp,那么:
dhclient brLANhttps://unix.stackexchange.com/questions/634290
复制相似问题