apt-get install bridge-utils, uml-utilities
vi /etc/network/interfaces
# 加入
auto tap0
iface tap0 inet manual
up ifconfig eth0 0.0.0.0 up
down ifconfig eth0 down
tunctl_user anton
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0
up ifconfig eth0 up
相关热门文章
给主人留下些什么吧!~~
评论热议
本文介绍如何使用apt-get安装bridge-utils和uml-utilities,并在Ubuntu系统的/etc/network/interfaces文件中配置网络桥接,包括设置tap设备、指定IP地址及网关等。
2090

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



