On 30 May 2012 21:42, Ben Pfaff <b...@nicira.com> wrote: > On Wed, May 30, 2012 at 09:38:05PM +0100, Haris Rotsos wrote: > > I am writting to this list, because I notice a strange behaviour with > the > > ovs-vswitch distributed with the ubuntu/debian distribution. > > > > My confusion/problem(?) lies on the way the ovs-vswitchd handles > > arptraffic. I initialize my switch as follows: > > > > ovsdb-server /etc/openvswitch/conf.db --remote=punix:/var/run/ovsdb > -server > > --detach --monitor > > ovs-vswitchd unix:/var/run/ovsdb-server --detach --monitor >
fair point. I am using a custom start command so that if something goes wrong I will still have access to the vm if I simply restart it and reset all networking. > > Why do you go to this trouble of starting ovsdb-server and > ovs-vswitchd yourself? The Debian packaging should do this for you. > And then you would not need to say "--db=unix:/var/run/ovsdb-server" > as you do, below. > > > ovs-vsctl --db=unix:/var/run/ovsdb-server init > > ovs-vsctl --db=unix:/var/run/ovsdb-server add-br br0 > > ovs-vsctl --db=unix:/var/run/ovsdb-server add-port br0 eth1 > > ovs-vsctl --db=unix:/var/run/ovsdb-server set-controller br0 tcp: > > 127.0.0.1:6633 > > ovs-vsctl --db=unix:/var/run/ovsdb-server set-fail-mode br0 standalone > > > > what i trying to do is to capture arp requests/response on the > controller > > on the interface eth0. > > It seems likely that you are getting caught by in-band control. I > recommend setting up your controller in "out-of-band" mode. > yeap that worked. Just for the records, in order to set this you need first to run $ sudo ovs-vsctl list controller _uuid : 89578a45-9d03-47f2-9cc2-b3e5fea71896 connection_mode : out-of-band controller_burst_limit: [] controller_rate_limit: [] external_ids : {} inactivity_probe : [] is_connected : true local_gateway : [] local_ip : [] local_netmask : [] max_backoff : [] role : other status : {last_error="Connection refused", sec_since_connect="394", sec_since_disconnect="417", state=ACTIVE} target : "tcp:127.0.0.1:6633" then use the uuid of the controller and run $ sudo ovs-vsctl set controller 89578a45-9d03-47f2-9cc2-b3e5fea71896 connection_mode="out-of-band" thanks forthe quick reply. -- Charalampos Rotsos PhD student The University of Cambridge Computer Laboratory William Gates Building JJ Thomson Avenue Cambridge CB3 0FD Phone: +44-(0) 1223 767032 Email: cr...@cl.cam.ac.uk
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss