[pox-dev] received some errors by running l3_learning

2013-04-09 Thread 吴亚楠
help! sdn@IPL204:~/pox$ ./pox.py forwarding.l3_learning --fakeways=172.16.0.1,172.16.1.1 POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al. INFO:core:POX 0.1.0 (betta) is up. INFO:openflow.of_01:[90-e2-ba-28-2d-d5 1] connected INFO:packet:(dhcp parse) warning DHCP packet data too

Re: [pox-dev] Problem with stanford's software reference design openflow switch

2013-04-09 Thread Murphy McCauley
I don't entirely follow your topology description. It looks like you're testing this on a network with other hosts; you might try simplifying things (e.g., removing devices for the purposes of testing). In the log you sent, are you trying to communicate between your two hosts? Are their

Re: [pox-dev] received some errors by running l3_learning

2013-04-09 Thread Murphy McCauley
Does this happen reliably? If so, in /home/sdn/pox/pox/openflow/__init__.py at line 282, can you insert a log or print statement like: print str(value),' ',repr(value) .. and send the new console output? -- Murphy On Apr 9, 2013, at 6:10 AM, 吴亚楠 wrote: help! sdn@IPL204:~/pox$ ./pox.py

[pox-dev] ./pox.py log.level --DEBUG forwarding.l2_learning now working as expected.

2013-04-09 Thread Karthik Sharma
I am new to POX controller.The setup I have on my PC is explained below. I have installed openvswitch on my PC with runs Ubuntu 12.04.I also have virtual box running on my PC with 3 virtual machines (Ubuntu 12.04) running on them.They are named vm-1 vm-2 vm-3 I have configured the

Re: [pox-dev] ./pox.py log.level --DEBUG forwarding.l2_learning now working as expected.

2013-04-09 Thread Murphy McCauley
On Apr 9, 2013, at 3:11 PM, Karthik Sharma wrote: #Next we create tap devices on the host machine so we can bind them to the guests VM's later. for tap in `seq 1 5`; do sudo ip tuntap add mode tap lan0-p$tap done; I wouldn't necessarily expect tap devices to work.

[pox-dev] received some errors by running l3_learning

2013-04-09 Thread Yanan
hi, I got some error about AttributeError: 'Connection' object has no attribute '__cmp__'. How can I fix it? Regards~ help! sdn@IPL204:~/pox$ ./pox.py forwarding.l3_learning --fakeways=172.16.0.1,172.16.1.1 POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al. INFO:core:POX

Re: [pox-dev] received some errors by running l3_learning

2013-04-09 Thread Murphy McCauley
I responded to this message on pox-dev earlier today. I can see what's going wrong, but I can't immediately figure out why it's happening. It'd be helpful if you could add a print statement to openflow/__init__.py right before line 282: print str(value),' ',repr(value),' ',self .. and send me

[pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Karthik Sharma
I have 4 virtual Machine (Ubuntu 12.04) running on a host that is also running Ubuntu 12.04 The Virtual Machines are named as vm-1 vm-2 vm-3 switch-vm Below are the network settings on switch-vm Adapter 1: Intel PRO/1000 MT Desktop (Bridged adapter, eth0) Adapter

Re: [pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Murphy McCauley
By default, switches usually send incomplete packets to the switch in case of a table miss. For many protocols (including TCP), the incomplete packet is usually enough to parse all the headers and it's just payload that gets chopped off. In the case of DHCP, it often means that the DHCP

Re: [pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Murphy McCauley
Probably no traffic is going through OVS. Your vm_x VMs have two interfaces. The first one (in bridged mode) connects them directly to some other network. They seem to be getting IP addresses, probably form a DHCP server, and the default route probably goes through these interfaces and not

Re: [pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Karthik Sharma
I see. Is there some opensource tool that I can use to send traffic from one mac interface to another like ping? I have disabled the multihoming on vm_1,vm_2 and vm_3 now Just the switch_vm has an IP. Regards, Karthik. On 10 April 2013 15:50, Murphy McCauley murphy.mccau...@gmail.com wrote: