XDP Redirect - Ping fail
team lnx <[email protected]> Thu, 4 May 2023 10:35:43 -0700
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CAOLRUnCCoHQLd_kyfrZ7QvVKD2D2TmxxUaZf17ZijP1qU5z3mw@mail.gmail.com> |
Hello,
I see a ping not working in below topology with xdp redirect
--------------------------------------
IFACE1 <---------> | IFACE2 IFACE3 |
<------------------> IFACE4
----------------------------------------
IFACE2 and IFACE3 are on same host machine
IFACE1 and IFACE2 are on static ip
IFACE3 and IFACE4 are on dynamic ip, IFACE4 runs dhcp server
steps
1. assign static ip between IFACE1 and IFACE2 (ex: 172.168.2.x)
2. dynamic ip between IFACE3 and IFACE4 (ex: 192.168.2.x)
3. Run xdp redirect on IFACE2 and IFACE3
4. start ping from IFACE1 to IFACE4
Are some of the assumptions not right here leading to ping failure ?
Regards,
teamlnx