<div dir="ltr">On Thu, Mar 14, 2013 at 5:15 PM, Mike <span dir="ltr"><<a href="mailto:sourceforge@good-with-numbers.com" target="_blank">sourceforge@good-with-numbers.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> iface eth1.17 inet static<br>
>         address 0.0.0.0<br>
>         netmask 0.0.0.0<br>
><br>
> auto br1.17<br>
> iface br1.17 inet manual<br>
>         bridge_ports eth1.17<br>
<br>
</div>Doing that (on br1.18), the second gateway goes away:<br>
<div class="im"><br>
---------------------------------------------<br>
host$ ip route show<br>
</div><div class="im"><a href="http://192.168.17.0/24" target="_blank">192.168.17.0/24</a> dev br1.17  proto kernel  scope link  src 192.168.17.2<br>
default via 192.168.17.1 dev br1.17<br>
</div>---------------------------------------------<br>
<br>
But the line<br>
<div class="im"><br>
<a href="http://192.168.18.0/24" target="_blank">192.168.18.0/24</a> dev br1.18  proto kernel  scope link  src 192.168.18.2<br>
<br>
</div>is gone too.  That disturbs me, but I don't have traffic on that bridge<br>
to test with yet.<br>
</blockquote></div><br></div><div class="gmail_extra" style>Remember the L2 switch configuration I mentioned earlier? That is normal.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>The only time you need to have an IP address on the host bridge is if you want the host to communicate directly to the containers. But if you have an external router (e.g. 192.168.18.1, which can also connect to <a href="http://192.168.17.0/24">192.168.17.0/24</a>), then your host can still communicate with the container, even when the host itself does not have an IP address in <a href="http://192.168.18.0/24">192.168.18.0/24</a>.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>-- </div><div class="gmail_extra" style>Fajar</div></div>