> > ovs-vsctl add-port br0 gtp-vport -- set interface gtp-vport \ > ofport_request=2 type=gtp option:remote_ip=flow options:key=flow > > ovs-ofctl add-flow br0 > "in_port=2,tun_src=192.168.60.141,tun_id=123, \ > actions=set_field:02:00:00:00:00:00->eth_src, \ > set_field:ff:ff:ff:ff:ff:ff->eth_dst,LOCAL"
I just want to be sure. But this implicates that the incomming packet is already decapusulated by the kernel and it has attached metadata like the tunnel_id etc. a nicer solution would be that you can already match on tunnel_id before it is getting encapsulated. Then you can chose later if it needa decapsulation or just forward the packet. I'm not sure if it is a possibility? Kind regards, Wieger IJntema _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
