IK.AM

@making's tech note


Ubuntuでブリッジ設定

🗃 {Dev/OS/Linux/Ubuntu}
🗓 Updated at 2011-09-15T17:41:02Z  🗓 Created at 2011-09-15T17:41:02Z   🌎 English Page

ブリッジの設定メモ

KVMで使うので貼っとく。

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
address 192.168.11.XXX
netmask 255.255.255.0
network 192.168.11.0
broadcast 192.168.11.255
gateway 192.168.11.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.11.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

✒️️ Edit  ⏰ History  🗑 Delete