Hello Everyone,

I've compiled xdp_router_ipv4 example in net-next-4.15 kernel. Now i want
to redirect and routing xdp_router machine to other_machine.

xdp_router has a 2 interface(eth0, eth1). also i have running via command;
"./xdp_router_ipv4 eth0 eth1"

First question;

xdp_router_ipv4 bypass and redirect all packets eth0 to eth1 with
bpf_redirect() helper. Am i right?

Second question;

I want to route incoming traffic(from eth0) to outbond machine over the
eth1 interface.(other_machine)

Is this network scheme possible?

network details:

xdp_router_machine
eth0: 10.0.0.200/24
eth1: 172.16.10.200/24

other_machine
eth0: 172.16.10.250/24
_______________________________________________
iovisor-dev mailing list
iovisor-dev@lists.iovisor.org
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to