<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">Hello again,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">I think I figured out the issue.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">lxcbr0 and one of the lxc containers seem to assuming same mac address, thus during the database exchange stage(which is unicast with duplicated mac address) , the lxcbr0 which has assumed the destination mac address simply drops the DB description request OSPF packet, thus leaving the OSPF neighbour establishment stage incomplete.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">When a secondary interface is configured, the mac address don't overlap , hence the multicast and following unicast packets get transmitted as in normal multiple access networks.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Cheers!<br>Durga<br><br></div></div>
<br><div class="gmail_quote">On Wed, Nov 12, 2014 at 1:32 PM, durga <span dir="ltr"><<a href="mailto:c.vijaya.durga@gmail.com" target="_blank">c.vijaya.durga@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">hello All,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">I am kind of new to linux networking, so please bear with me.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">All I am trying to do is configure two linux containers to run quagga routing engine.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">My inital setup was:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">lxc1 eth0(10.0.3.x) <—> lxcbr0(10.0.3.1) <—>(10.0.3.y)eth0 lxc2.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">both lxc1 and lxc2 are running quagga and ospf running on both the inerfaces.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">Since lxcbr0 is a bridge - i was not expecting any issues. But it turned out otherwise.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">With help of wireshark, it turns out the multicast packets (neighbour relation -hello packets ) don't really cross over the bridge . Hence, no OSPF neighbour relation formed. </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">As a trail and error method - I configured another pair of interfaces on the containers. so the second setup is</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">lxc1 eth0(10.0.3.x) <—> lxcbr0(10.0.3.1) <—>(10.0.3.y)eth0 lxc2.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">…….eth1(8.8.8.x) <—> lxcbr0(10.0.3.1) <—> (8.8.8.y) eth1 lxc2</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">then , I ran ospf on these interfaces eth1 and neighbour relation was successful.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">I am now quite confused and trying to understand how lxcbr0 works. I dont want to believe that it has anything to do with IP addresses as bridge is a L2 device. Nor its an issue with multicast packets, otherwise OSPF should not work on any of the interfaces.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">Also, I have made no other updates to any of the configurations - except to change the config files of each lxc to reflect eth1.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)">Any help or clarifications would help me progress onto next task. Its hard to progress unless i get this clarified.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(153,51,0)"><br></div><div><div>Cheers!<span class="HOEnZb"><font color="#888888"><br>Durga<br><br></font></span></div></div>
</div>
</blockquote></div><br></div>