$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
# $ sudo apt-get install bridge-utils
auto br1
iface br1 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0 eth1
bridge_fd 15
bridge_hello 2
bridge_maxage 20
bridge_stp on
参考
0 件のコメント:
コメントを投稿