Dear OVS folks,

I have some doubts regarding LISP tunneling. I have a setup where I am
getting incoming LISP tunneled packets into my OVS. What I want to do is to
check the inner IP destination address and based on that I need to forward
the packets. Let us say that there are only two possibilities of inner IP
addresses : 10.0.0.1 and 10.0.0.2.

If the inner IP address is 10.0.0.1, then I want the packet to be forwarded
to an interface (say eth1 and port number 1) without doing any change to
the tunneled packet. If the inner IP address is 10.0.0.2, then I want the
packet to be forwarded to the another interface (say eth2 and port number
2) with only the inner contents of the tunnel packets.

I am thinking of the following flow entries to do the mentioned rules, but
correct me if I am wrong.

*table=0,dl_type=0x0800,nw_dst=10.0.0.2,actions=mod_dl_dst=10:0:0:2,output:2*


Best Regards,
Ashish Kurian
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to