auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 192.168.0.52
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
dns-nameservers 202.106.46.151
#bridge_ports all tap0

auto eth1
iface eth1 inet static
address 192.123.1.52
netmask 255.255.255.0

auto tap0
iface tap0 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
tunctl_user shengshuai

auto br0
iface br0 inet dhcp
bridge_ports all tap0

#iface br0 inet static
#address 192.168.0.52
#netmask 255.255.255.0
#network 192.168.0.0
#broadcast 192.168.0.255
#gateway 192.168.0.1

相关文章:

  • 2021-12-06
  • 2022-02-22
  • 2022-03-04
  • 2021-08-29
  • 2021-11-14
  • 2021-10-27
  • 2021-09-17
  • 2022-12-23
猜你喜欢
  • 2022-02-21
  • 2022-12-23
  • 2022-01-22
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案