how to make redirect_map work?


Forrest Chen
 

Hi all,

Recently I try to build a network topology to test redirect_map, the topology is as below and the build script in the attachment(setup_env.sh).


My test case is run `ping` from netns ns1 to 192.168.2.2 in netns ns2.
I load xdp prog to vhost1 and vhost2. What the prog do is just use redirect_map to redirect package from one ingress to another egress(AFAIK, redirect func is working for that, ifx me if I am wrong).

The result is I can't ping from one netns to another. The xdp prog is in the attachment(xdp_ping.py).

Thanks for helping me!

Forrest

Join {iovisor-dev@lists.iovisor.org to automatically receive all group messages.