Re: XDP redirect - ping fail
team lnx <[email protected]> Tue, 16 May 2023 09:33:24 -0700
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CAOLRUnAPQtH0ESV5Cx7Q33OYZfYZrEo6wtxU5i37f26dQo6wNw@mail.gmail.com> |
Thank you, I am using "xdp_fwd" and I believe this alone wouldn't be sufficient Is that correct ? On Tue, May 16, 2023 at 12:43 AM Marco <[email protected]> wrote: > > Sorry, I answered the dhcp part earlier. > Regarding the Nat, I can tell you that it also works with your XDP > program if properly configured. > > Il giorno mar 16 mag 2023 alle ore 10:36 Marco <[email protected]> ha scritto: > > > > I have not much experience with dhcp but ensure first that dhcp > > packets are not blocked from the xdp program. > > So as already mentioned, try pinging with zero payloads and check if > > they get redirected. > > > > Il giorno gio 4 mag 2023 alle ore 19:41 team lnx <[email protected]> > > ha scritto: > > > > > > 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 > > > > > > > > -- > > E' meglio coltivare GNU/Linux... tanto Windows si pianta da solo!! > > > > -- > E' meglio coltivare GNU/Linux... tanto Windows si pianta da solo!!