ubuntu下删除虚拟网卡/网桥的命令
- 刪除虚拟网卡
tunctl -d <虚拟网卡名>
- 刪除虚拟网桥
ifconfig <网桥名> down
brctl delbr <网桥名>
- 将网卡tap0, eth0 移出bridge(br0)
brctl delif br0 tap0
brctl delif br0 eth0
本文介绍如何在Ubuntu系统中通过命令行方式删除虚拟网卡(tun)及虚拟网桥(br),并提供了将指定网卡从网桥中移除的具体操作步骤。
tunctl -d <虚拟网卡名>
ifconfig <网桥名> down
brctl delbr <网桥名>
brctl delif br0 tap0
brctl delif br0 eth0
4168
858
1万+

被折叠的 条评论
为什么被折叠?