OK, great, so what are those issues? On Wed, Nov 09, 2011 at 05:12:13PM +0900, Jari Sundell wrote: > The attached file shows output from dpctl dump-flows for the working, > and non-working revisions. I think the mod_dl_dst part might have been > a red herring, as it seems there's some issues with connections > between some services even before a vm is brought up and flows with > mod_dl_dst are inserted. > > Jari Sundell > > On Tue, Nov 8, 2011 at 3:16 AM, Ben Pfaff <b...@nicira.com> wrote: > > I'm still having a really hard time spotting the problem. ?Can you > > pass along an "ovs-dpctl dump-flows" output that includes a > > set(eth(...)) action? ?An "ofproto/trace" output that includes such an > > action might also be helpful. > > > > On Sun, Nov 06, 2011 at 12:00:41PM +0900, Jari Sundell wrote: > >> Packets captured as posted in the earlier mail; > >> > >> http://rakshasa.no/downloads/mod_dl_dst.off.ps > >> http://rakshasa.no/downloads/mod_dl_dst.on.ps > >> > >> It uses the openflow 1.0 protocol, and mod_dl_dst action is the only > >> thing different between the two afaics. > >> > >> Jari > >> > >> On Sun, Nov 6, 2011 at 8:26 AM, Ben Pfaff <b...@nicira.com> wrote: > >> > Does the problem only appear for flows that contain a mod_dl_dst action? > >> > > >> > On Sat, Nov 05, 2011 at 12:27:52PM +0900, Jari Sundell wrote: > >> >> Yes, everything was recompiled and rebooted several times to narrow > >> >> down the point at which the issue appeared. > >> >> > >> >> I suspect this could be related to the issue with packet out not > >> >> working when mod_dl_dst action is specified (earlier mail in > >> >> ovs-discuss), rather than the in-band issue. > >> >> > >> >> Jari Sundell > >> >> > >> >> On Sat, Nov 5, 2011 at 1:49 AM, Ben Pfaff <b...@nicira.com> wrote: > >> >> > That is the following commit: > >> >> > > >> >> > commit 4edb9ae90e4092f5f56b9d914d2b88783c49860d > >> >> > Author: Pravin B Shelar <pshe...@nicira.com> > >> >> > Date: ? Fri Oct 21 14:38:54 2011 -0700 > >> >> > > >> >> > ? ?datapath: Refactor actions in terms of match fields. > >> >> > > >> >> > ? ?Almost all current actions can be expressed in the form of > >> >> > ? ?push/pop/set <field>, where field is one of the match fields. We > >> >> > can > >> >> > ? ?create three base actions and take a field. This has both a nice > >> >> > ? ?symmetry and avoids inconsistencies where we can match on the vlan > >> >> > ? ?TPID but not set it. > >> >> > ? ?Following patch converts all actions to this new format. > >> >> > > >> >> > ? ?Signed-off-by: Pravin B Shelar <pshe...@nicira.com> > >> >> > ? ?Acked-by: Jesse Gross <je...@nicira.com> > >> >> > > >> >> > ? ?Bug #7115 > >> >> > > >> >> > This commit drastically changes the user/kernel interface. ?After you > >> >> > recompiled and installed the new version, did you make sure to unload > >> >> > the old kernel module and install and load the new kernel module? > >> >> > Without doing that, I'd expect that no packets get through. > >> >> > > >> >> > On Fri, Nov 04, 2011 at 07:51:21PM +0900, Jari Sundell wrote: > >> >> >> The specific change was: > >> >> >> > >> >> >> git diff > >> >> >> a0003c0c359bc3ffe8a6683dbd0121877a3ce700..4edb9ae90e4092f5f56b9d914d2b88783c49860d > >> >> >> > >> >> >> Jari Sundell > >> >> >> > >> >> >> On Fri, Nov 4, 2011 at 4:53 PM, Jari Sundell > >> >> >> <sundell.softw...@gmail.com> wrote: > >> >> >> > After more testing it turns out it isn't the patch itself, rather > >> >> >> > something that was committed since 65c3058c22. > >> >> >> > > >> >> >> > Jari Sundell > >> >> >> > > >> >> >> > On Fri, Nov 4, 2011 at 4:30 PM, Jari Sundell > >> >> >> > <sundell.softw...@gmail.com> wrote: > >> >> >> >> Seems things are not yet done... Without this patch (git master) > >> >> >> >> packets are properly being passed to local port when > >> >> >> >> disable-in-band > >> >> >> >> is true. > >> >> >> >> > >> >> >> >> With the patch no packets get through, with or without > >> >> >> >> disable-in-band set. > >> >> >> >> > >> >> >> >> Jari Sundell > >> >> >> >> > >> >> >> >> On Thu, Nov 3, 2011 at 5:10 AM, Ben Pfaff <b...@nicira.com> wrote: > >> >> >> >>> Thanks, pushed to master, branch-1.3, branch-1.2. > >> >> >> >>> > >> >> >> >>> On Wed, Nov 02, 2011 at 01:03:56PM -0700, Ethan Jackson wrote: > >> >> >> >>>> Looks good. > >> >> >> >>>> > >> >> >> >>>> Ethan > >> >> >> >>>> > >> >> >> >>>> On Wed, Nov 2, 2011 at 12:59, Ben Pfaff <b...@nicira.com> wrote: > >> >> >> >>>> > stream_init() didn't initialize the remote_ip, remote_port, > >> >> >> >>>> > local_ip, or > >> >> >> >>>> > local_port members of the stream, so "unix" streams that > >> >> >> >>>> > don't have any of > >> >> >> >>>> > those would get random values instead. > >> >> >> >>>> > > >> >> >> >>>> > Reported-by: "Voravit T." <vora...@kth.se> > >> >> >> >>>> > Reported-by: Jari Sundell <sundell.softw...@gmail.com> > >> >> >> >>>> > --- > >> >> >> >>>> > ?AUTHORS ? ? ?| ? ?2 ++ > >> >> >> >>>> > ?lib/stream.c | ? ?1 + > >> >> >> >>>> > ?2 files changed, 3 insertions(+), 0 deletions(-) > >> >> >> >>>> > > >> >> >> >>>> > diff --git a/AUTHORS b/AUTHORS > >> >> >> >>>> > index d19d665..0d4cc95 100644 > >> >> >> >>>> > --- a/AUTHORS > >> >> >> >>>> > +++ b/AUTHORS > >> >> >> >>>> > @@ -77,6 +77,7 @@ Henrik Amren ? ? ? ? ? ?hen...@nicira.com > >> >> >> >>>> > ?Jad Naous ? ? ? ? ? ? ? jna...@gmail.com > >> >> >> >>>> > ?Jan Medved ? ? ? ? ? ? ?jmed...@juniper.net > >> >> >> >>>> > ?Janis Hamme ? ? ? ? ? ? janis.ha...@student.kit.edu > >> >> >> >>>> > +Jari Sundell ? ? ? ? ? ?sundell.softw...@gmail.com > >> >> >> >>>> > ?Jed Daniels ? ? ? ? ? ? openvswi...@jeddaniels.com > >> >> >> >>>> > ?Jeongkeun Lee ? ? ? ? ? jk...@hp.com > >> >> >> >>>> > ?Joan Cirer ? ? ? ? ? ? ?j...@ev0.net > >> >> >> >>>> > @@ -105,6 +106,7 @@ Takayuki HAMA ? ? ? ? ? > >> >> >> >>>> > t-h...@cb.jp.nec.com > >> >> >> >>>> > ?Teemu Koponen ? ? ? ? ? kopo...@nicira.com > >> >> >> >>>> > ?Tyler Coumbes ? ? ? ? ? coum...@gmail.com > >> >> >> >>>> > ?Vishal Swarankar ? ? ? ?vishal.swarn...@gmail.com > >> >> >> >>>> > +Voravit T. ? ? ? ? ? ? ?vora...@kth.se > >> >> >> >>>> > ?YAMAMOTO Takashi ? ? ? ?yamam...@valinux.co.jp > >> >> >> >>>> > ?Yongqiang Liu ? ? ? ? ? liuyq7...@gmail.com > >> >> >> >>>> > ?kk yap ? ? ? ? ? ? ? ? ?yap...@stanford.edu > >> >> >> >>>> > diff --git a/lib/stream.c b/lib/stream.c > >> >> >> >>>> > index 37b6110..8f567ca 100644 > >> >> >> >>>> > --- a/lib/stream.c > >> >> >> >>>> > +++ b/lib/stream.c > >> >> >> >>>> > @@ -616,6 +616,7 @@ void > >> >> >> >>>> > ?stream_init(struct stream *stream, struct stream_class > >> >> >> >>>> > *class, > >> >> >> >>>> > ? ? ? ? ? ? int connect_status, const char *name) > >> >> >> >>>> > ?{ > >> >> >> >>>> > + ? ?memset(stream, 0, sizeof *stream); > >> >> >> >>>> > ? ? stream->class = class; > >> >> >> >>>> > ? ? stream->state = (connect_status == EAGAIN ? SCS_CONNECTING > >> >> >> >>>> > ? ? ? ? ? ? ? ? ? ? : !connect_status ? SCS_CONNECTED > >> >> >> >>>> > -- > >> >> >> >>>> > 1.7.4.4 > >> >> >> >>>> > > >> >> >> >>>> > _______________________________________________ > >> >> >> >>>> > dev mailing list > >> >> >> >>>> > dev@openvswitch.org > >> >> >> >>>> > http://openvswitch.org/mailman/listinfo/dev > >> >> >> >>>> > > >> >> >> >>> > >> >> >> >> > >> >> >> > > >> >> > > >> > > >
> === a0003c0c35 (Working rev) prior to adding vm === > > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=59754), > packets:23, bytes:30718, used:0.520s, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=59754,dst=22), > packets:14, bytes:924, used:0.510s, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=58873,dst=22), > packets:5, bytes:426, used:0.000s, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:62,dst=01:80:c2:00:00:00), packets:1, > bytes:60, used:1.760s, actions:drop > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=58872), > packets:17, bytes:7082, used:2.600s, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=58872,dst=22), > packets:16, bytes:1092, used:2.600s, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=58873), > packets:2, bytes:660, used:0.010s, actions:1 > > === a0003c0c35 (Working rev) after adding vm === > > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=8.8.8.8,proto=17,tos=0),udp(src=17661,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(src=0.0.0.0,dst=255.255.255.255,proto=17,tos=16),udp(src=68,dst=67), > packets:1, bytes:342, used:4.440s, actions:1,0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=59754), > packets:415, bytes:705902, used:0.910s, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=17,tos=0),udp(src=67,dst=68), > packets:1, bytes:343, used:4.440s, actions:40 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=91.189.94.4,dst=192.168.2.164,proto=17,tos=0),udp(src=123,dst=123), > packets:3, bytes:270, used:3.060s, actions:40 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=17,tos=0),udp(src=53,dst=39900), > packets:0, bytes:0, used:never, actions:40 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0806),arp(sip=192.168.2.23,tip=192.168.2.164,op=2,sha=00:1e:0b:ea:fb:7e,tha=00:ff:f1:15:69:5a), > packets:0, bytes:0, used:never, actions:40 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.164,dst=91.189.94.4,proto=17,tos=0),udp(src=123,dst=123), > packets:3, bytes:270, used:3.330s, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=6,tos=0),tcp(src=9002,dst=58614), > packets:4, bytes:458, used:1.070s, > actions:set_nw_src(169.254.169.254),set_tp_src(80),set_dl_src(88:43:e1:42:4f:60),40 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=33:33:00:00:00:02),eth_type(0x86dd),ipv6(src=fe80::2ff:f1ff:fe15:695a,dst=ff02::2,proto=58,tos=0),icmpv6(type=133,code=0), > packets:1, bytes:70, used:2.830s, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=59754,dst=22), > packets:358, bytes:24480, used:0.900s, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=58873,dst=22), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=8.8.8.8,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=27882), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:62,dst=01:80:c2:00:00:00), packets:43, > bytes:2580, used:1.030s, actions:drop > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=58872), > packets:7, bytes:2558, used:0.820s, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.1,proto=17,tos=0),udp(src=58332,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.164,dst=192.168.2.23,proto=17,tos=0),udp(src=55158,dst=53), > packets:0, bytes:0, used:never, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.1,proto=17,tos=0),udp(src=43891,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=6,tos=0),tcp(src=9002,dst=58615), > packets:3, bytes:384, used:0.550s, > actions:set_nw_src(169.254.169.254),set_tp_src(80),set_dl_src(88:43:e1:42:4f:60),40 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.1,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=58332), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=58872,dst=22), > packets:7, bytes:462, used:0.820s, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.1,proto=17,tos=0),udp(src=43008,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=8.8.8.8,proto=17,tos=0),udp(src=18622,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.2.164,tip=192.168.2.23,op=1,sha=00:ff:f1:15:69:5a,tha=00:00:00:00:00:00), > packets:0, bytes:0, used:never, actions:1,0 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.2.164,tip=192.168.2.1,op=1,sha=00:ff:f1:15:69:5a,tha=00:00:00:00:00:00), > packets:0, bytes:0, used:never, actions:1,0 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.164,dst=169.254.169.254,proto=6,tos=0),tcp(src=58614,dst=80), > packets:3, bytes:198, used:1.070s, > actions:set_nw_dst(192.168.2.23),set_tp_dst(9002),set_dl_dst(00:1e:0b:ea:fb:7e),0 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.164,dst=192.168.2.23,proto=17,tos=0),udp(src=39900,dst=53), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.1,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=60723), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:ff:f1:15:69:5a),eth_type(0x0806),arp(sip=192.168.2.1,tip=192.168.2.164,op=2,sha=88:43:e1:42:4f:60,tha=00:ff:f1:15:69:5a), > packets:0, bytes:0, used:never, actions:40 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.1,proto=17,tos=0),udp(src=60723,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=8.8.8.8,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=17661), > packets:0, bytes:0, used:never, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=17,tos=0),udp(src=53,dst=55158), > packets:0, bytes:0, used:never, actions:40 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.1,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=43008), > packets:0, bytes:0, used:never, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=00:ff:f1:15:69:5a),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.2.164,proto=17,tos=0),udp(src=53,dst=44357), > packets:0, bytes:0, used:never, actions:40 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.1,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=43891), > packets:0, bytes:0, used:never, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=8.8.8.8,proto=17,tos=0),udp(src=27882,dst=53), > packets:0, bytes:0, used:never, actions:1 > in_port(40),eth(src=00:ff:f1:15:69:5a,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.2.164,dst=192.168.2.23,proto=17,tos=0),udp(src=44357,dst=53), > packets:0, bytes:0, used:never, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=8.8.8.8,dst=192.168.2.23,proto=17,tos=0),udp(src=53,dst=18622), > packets:0, bytes:0, used:never, actions:0 > > === 4edb9ae90 (buggy rev) before adding a vm === > > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=60079,dst=22), > packets:126, bytes:11292, used:0.130s, actions:0 > in_port(1),eth(src=88:43:e1:42:4f:62,dst=01:80:c2:00:00:00), packets:17, > bytes:1020, used:0.350s, actions:drop > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=60079), > packets:63, bytes:10094, used:0.140s, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=60080), > packets:112, bytes:158816, used:0.770s, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=60080,dst=22), > packets:112, bytes:7616, used:0.770s, actions:0 > > === 4edb9ae90 (buggy rev) after adding a vm === > > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=60079,dst=22), > packets:9, bytes:786, used:0.060s, actions:0 > in_port(1),eth(src=00:ff:f1:fe:f4:c1,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(src=0.0.0.0,dst=255.255.255.255,proto=17,tos=16),udp(src=68,dst=67), > packets:0, bytes:0, used:never, actions:2,0 > in_port(1),eth(src=88:43:e1:42:4f:62,dst=01:80:c2:00:00:00), packets:165, > bytes:9900, used:1.550s, actions:drop > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=60078), > packets:0, bytes:0, used:never, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=60078,dst=22), > packets:0, bytes:0, used:never, actions:0 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=60079), > packets:4, bytes:760, used:0.060s, actions:1 > in_port(0),eth(src=00:1e:0b:ea:fb:7e,dst=88:43:e1:42:4f:60),eth_type(0x0800),ipv4(src=192.168.2.23,dst=192.168.1.156,proto=6,tos=16),tcp(src=22,dst=60080), > packets:1429, bytes:4635594, used:0.040s, actions:1 > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:ff:f1:01:1f:84),eth_type(0x0806),arp(sip=192.168.2.1,tip=192.168.2.26,op=1,sha=88:43:e1:42:4f:60,tha=00:ff:f1:01:1f:84), > packets:0, bytes:0, used:never, actions:drop > in_port(1),eth(src=88:43:e1:42:4f:60,dst=00:1e:0b:ea:fb:7e),eth_type(0x0800),ipv4(src=192.168.1.156,dst=192.168.2.23,proto=6,tos=16),tcp(src=60080,dst=22), > packets:2083, bytes:145222, used:0.040s, actions:0 > > === The flows seems to be correct === > > 0-1 5902 => actions=resubmit(,2) > 0-2 0 => arp actions=resubmit(,4) > 0-2 0 => tcp,nw_dst=169.254.169.254,tp_dst=80 actions=resubmit(,6) > 0-2 0 => tcp,nw_src=192.168.2.23,tp_src=9002 actions=resubmit(,7) > 2-0 2512 => actions=output:1 > 2-1 3383 => dl_dst=00:1e:0b:ea:fb:7e actions=LOCAL > 2-1 3 => dl_dst=ff:ff:ff:ff:ff:ff actions=FLOOD > 2-1 4 => dl_dst=00:ff:f1:9a:5e:ca actions=output:2 > 4-0 0 => arp actions=drop > 4-1 0 => arp,in_port=1 actions=resubmit(,5) > 4-1 0 => arp,in_port=65534 actions=resubmit(,5) > 4-2 0 => arp,nw_src=192.168.2.78 actions=drop > 4-3 0 => arp,in_port=2,nw_src=192.168.2.78,arp_sha=00:ff:f1:9a:5e:ca > actions=resubmit(,5) > 5-0 0 => arp actions=output:1 > 5-1 0 => arp,dl_dst=00:1e:0b:ea:fb:7e actions=LOCAL > 5-1 0 => arp,dl_dst=ff:ff:ff:ff:ff:ff,arp_tha=00:00:00:00:00:00 > actions=FLOOD > 5-2 0 => arp,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78 > actions=output:2 > 6-0 0 => actions=CONTROLLER:65535 > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49387 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49388 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49389 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49390 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49391 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49392 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49393 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49394 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49395 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-3 0 => > idle_timeout=300,tcp,in_port=2,dl_src=00:ff:f1:9a:5e:ca,dl_dst=88:43:e1:42:4f:60,nw_src=192.168.2.78,tp_src=49396 > > actions=mod_dl_dst:00:1e:0b:ea:fb:7e,mod_nw_dst:192.168.2.23,mod_tp_dst:9002,LOCAL > 6-4 0 => in_port=1 actions=drop > 6-4 0 => in_port=65534 actions=drop > 7-0 0 => tcp actions=drop > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49387 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49388 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49389 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49390 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49391 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49392 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49393 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49394 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49395 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-3 0 => > idle_timeout=300,tcp,in_port=65534,dl_src=00:1e:0b:ea:fb:7e,dl_dst=00:ff:f1:9a:5e:ca,nw_dst=192.168.2.78,tp_dst=49396 > > actions=mod_dl_src:88:43:e1:42:4f:60,mod_nw_src:169.254.169.254,mod_tp_src:80,output:2 > 7-4 0 => tcp,in_port=1 actions=drop _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev