Changes between Version 3 and Version 4 of TipAndDoc/network/bridge


Ignore:
Timestamp:
Apr 29, 2013 1:11:29 AM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/bridge

    v3 v4  
    1010 * [http://d.hatena.ne.jp/sinki1973/20110511/1305100047 KVMでブリッジ接続 - チラシの裏] 
    1111 * [http://www.oss-d.net/virt/kvm#za76e76f CentOS/KVMによるサーバ仮想化 - OSSでLinuxサーバ構築] 
     12 > {{{ 
     13 > net.bridge.bridge-nf-call-arptables = 0 
     14 > net.bridge.bridge-nf-call-iptables = 0 
     15 > net.bridge.bridge-nf-call-ip6tables = 0 
     16 > }}} 
     17  * 一番下はIPv6を通す場合にのみ必要 
    1218 * [http://wiki.libvirt.org/page/Networking#Debian.2FUbuntu_Bridging libvirt: Wiki: Networking] 
    1319 > To ensure that the bridge sysctl settings get loaded on boot, add this line to '/etc/rc.local' just before the 'exit 0' line. This is a work around for [https://bugs.launchpad.net/ubuntu/+source/procps/+bug/50093 Ubuntu bug #50093]. 
     
    1622 > }}} 
    1723  * 実際、/etc/sysctl.d/network.confなどに「net.bridge.bridge-nf-call-iptables = 0」等々設定しても、再起動すると「cat /proc/sys/net/bridge/bridge-nf-call-iptables => 1」となっていたりする(きちんと0になる場合もある)。従って、上記の様にrc.localに記述するか、ufwを使っている場合は「-A ufw-before-forward -i br0 -j ACCEPT」をあわせて設定するなどする必要がある 
     24  * これを失念していていると、ブリッジは正しく行われているにも拘わらず疎通出来ずに混乱することがあるので注意