From: team lnx <teamlnxi8@gmail.com>
To: ctxspi@gmail.com
Cc: xdp-newbies@vger.kernel.org, "Toke Høiland-Jørgensen" <toke@redhat.com>
Subject: Re: XDP redirect - ping fail
Date: Tue, 16 May 2023 09:33:24 -0700 [thread overview]
Message-ID: <CAOLRUnAPQtH0ESV5Cx7Q33OYZfYZrEo6wtxU5i37f26dQo6wNw@mail.gmail.com> (raw)
In-Reply-To: <CAAVAo4PvwHcdmE86-1=-FtDYgxozBqL3_TnvVA6CD2nujY6qVQ@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 <ctxspi@gmail.com> 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 <ctxspi@gmail.com> 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 <teamlnxi8@gmail.com>
> > 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!!
next prev parent reply other threads:[~2023-05-16 16:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-04 17:38 XDP redirect - ping fail team lnx
2023-05-04 18:05 ` Shaw, Jeffrey B
[not found] ` <CA+t96KCemTbqamJezLJ0sn0nN8EUrYd365iLmmv10qEVrF1_bQ@mail.gmail.com>
2023-05-04 18:28 ` XDP-REDIRECT cpu affinity Sanjay Rao
2023-05-04 19:28 ` Zvi Effron
2023-05-12 18:49 ` XDP redirect - ping fail team lnx
2023-05-13 8:44 ` Marco
[not found] ` <CAOLRUnCX=aDjsH56GP8MLXuA5dZ7NYi7OLBaXCpx26Q2j689Zw@mail.gmail.com>
2023-05-15 23:14 ` team lnx
2023-05-16 8:36 ` Marco
2023-05-16 8:46 ` Marco
2023-05-16 16:33 ` team lnx [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-04 17:35 XDP Redirect - Ping fail team lnx
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOLRUnAPQtH0ESV5Cx7Q33OYZfYZrEo6wtxU5i37f26dQo6wNw@mail.gmail.com \
--to=teamlnxi8@gmail.com \
--cc=ctxspi@gmail.com \
--cc=toke@redhat.com \
--cc=xdp-newbies@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).