On Wed, Dec 3, 2014 at 5:15 PM, Thomas Graf <tg...@suug.ch> wrote: > On 12/03/14 at 04:54pm, Jesse Gross wrote: >> I don't think that we actually need a bit. I would expect that ICMP >> generation to be coupled with routing (although this requires being >> able to know what the ultimate MTU is at the time of routing the inner >> packet). If that's the case, you just need to steer between L2 and L3 >> processing in the same way that you would today and ICMP would just >> come in the right cases. > > I think the MTU awareness is solveable but how do you steer between > L2 and L3? How do you differentiate between an L3 ACL rule in L2 mode > and an actual L3 based forward? dec_ttl? This is what drove me to > the user controlled bit and it became appealing as it allows to > enable/disable PMTU per guest or even per flow/route.
I think it depends on where you put the PMTU check. If routing is happening in OVS where it is decomposed in several discrete actions like set MAC and decrement TTL then perhaps there is another explicit action to check the MTU. If it is happening in the context of the IP stack, then ICMP generation occurs automatically and if you get that if you write a flow to send a packet there. In each case, it seems like a flow would be steering you by way of an action to do routing so you would have fine grained control. I don't see this as conflicting with L3 ACLs in an L2 context in the same way that you don't have to automatically decrement the TTL. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev