ubuntu 网桥配置

vim /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
auto eth2
auto eth3

iface eth0 inet manual
iface eth2 inet manual
iface eth3 inet manual

auto br0
iface br0 inet static
address 10.95.149.173
netmask 255.255.255.192
gateway 10.95.149.129
bridge_ports eth0
bridge_ports eth2
bridge_ports eth3
bridge_stp off
bridge_fd 0
bridge_maxwait 0
brodge_maxage 12

 

posted @ 2019-04-30 11:55  salami_china  阅读(344)  评论(0编辑  收藏  举报