<div dir="ltr">Thanks alot.. It works fine now..<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 12:25 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@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 style="word-wrap:break-word">From *not* inside Mininet itself (just from a shell prompt on the machine/VM where you have Mininet installed), try ovs-ofctl dump-flows s1.<span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-- Murphy</div></font></span><div><div class="h5"><div><br><div><div>On May 30, 2013, at 3:20 AM, Windhya Rankothge wrote:</div><br><blockquote type="cite"><div dir="ltr"><div><div><div><div>I am sorry to trouble you again..<br>
<br></div>I created my topology in mininet with POX as the remote controller..<br><br></div>Then I issued following command on mininet<br>mininet> s1 ovs-ofctl show tcp:<a href="http://127.0.0.1:6633/" target="_blank">127.0.0.1:6633</a><br>
<br></div>Then I get the following error in POX terminal<br><br>ERROR:openflow.of_01:[None 4]: Exception while handling OpenFlow message:<br>[None 4] ofp_features_request<br>[None 4] header: <br>[None 4] version: 1<br>
[None 4] type: 5 (OFPT_FEATURES_REQUEST)<br>[None 4] length: 8<br>[None 4] xid: 1<br>Traceback (most recent call last):<br> File "/home/u99319/pox/pox/openflow/of_01.py", line 749, in read<br>
h(self, msg)<br>TypeError: 'NoneType' object is not callable<br><br></div>Please be kind enough to help me with this.. Where I am going wrong ?<br><div><br><div><br><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 10:31 AM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The interfaces on s0 and s1 that connect to the other nodes in your topology are part of an Open vSwitch datapath. Thus, packets on them do not go through the normal Linux networking stack and do not have corresponding entries in the Linux routing table. Instead, they are processed by OVS's tables. You can view these with the OVS tools, e.g., ovs-ofctl.<br>
<br>
If you want to check the path of a packet, you can also pay attention to which table entries POX actually sends to the switches...<br>
<br>
-- Murphy<br>
<br>
On May 29, 2013, at 11:42 PM, hansinie vitharana wrote:<br>
<br>
> Hi,<br>
> I am very new to POX and mininet and I have a small question about routing tables<br>
> I create following topology<br>
> h1 --- s0 ----- s1 --- h2<br>
><br>
> h1 = net.addHost('h1',ip='10.1.0.1')<br>
> h2 = net.addHost('h2',ip='11.1.0.2')<br>
> So h1 and h2 are in two different subnets..<br>
> I run the mininet script with POX contoller and I am using l2_learning in POX controller.<br>
> Then I give following commands in mininet, so i can have connectivity between subnets<br>
><br>
> mininet> h1 route add -net default h1-eth0<br>
> mininet> h2 route add -net default h2-eth0<br>
> when I ping from h1 to h2, its sucessful<br>
><br>
> when I look at the routing table of h1<br>
><br>
> mininet> h1 route<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask Flags Metric Ref Use Iface<br>
> default * 0.0.0.0 U 0 0 0 h1-eth0<br>
> 10.0.0.0 * 255.0.0.0 U 0 0 0 h1-eth0<br>
><br>
> when I look at the routing table of switch s0<br>
><br>
> mininet> s0 route<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask Flags Metric Ref Use Iface<br>
> default 10.80.7.245 0.0.0.0 UG 0 0 0 eth0<br>
> 10.80.4.0 * 255.255.252.0 U 1 0 0 eth0<br>
> link-local * 255.255.0.0 U 1000 0 0 eth0<br>
> As far as I know when h1 ping to h2, S0 switch should learn about the new network and its routing table should include information about 11.0.0.0 network..<br>
> But even after ping, there is no entry for 11.0.0.0 in S0<br>
> Am I missing something here ? Whats wrong with the routing table ?<br>
> I want to check the path of the packet and thats why I am looking at the routing tables.. Is there any other way to check the path of the packets ?<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Best Regards,</div>
<div> </div>
<div>Windhya Rankothge..... (WINDY)</div>
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Best Regards,</div>
<div> </div>
<div>Windhya Rankothge..... (WINDY)</div>
</div>