DPDK usage discussions
 help / color / mirror / Atom feed
From: Renata Saiakhova <renata.saiakhova@ekinops.com>
To: Quanren Xiong <xiongqr@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] expose kni interface on VM to host
Date: Mon, 12 Apr 2021 14:47:33 +0000	[thread overview]
Message-ID: <MRZP264MB2442DCB4D1FF4FA3804F7B3292709@MRZP264MB2442.FRAP264.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAF3R6RsMJqRhnGq7XqeGYTV5gKCiF+KVsKddGMixMpmpBFhEig@mail.gmail.com>

Hi Quanren,

how does your routing table look like in VM?
I can see you assign KNI interface address from the same network as for another NIC, can you try with an address from the different subnet? If KNI interface IP address is used just as IP point (in your example) it might create collisions in routing table.
Can you run tcpdump on any of your interfaces?

Kind regards,
Renata
________________________________
From: users <users-bounces@dpdk.org> on behalf of Quanren Xiong <xiongqr@gmail.com>
Sent: Sunday, April 11, 2021 4:17 AM
To: users@dpdk.org <users@dpdk.org>
Subject: [dpdk-users] expose kni interface on VM to host

Hi all,

I have successfully installed DPDK on a Linux guest VM, which is launched
by VirtualBox on a Mac host.

After running the kni Example Application on my VM by following DPDK kni
example guide
<https://doc.dpdk.org/guides/sample_app_ug/kernel_nic_interface.html>,  I
am able to assign an IP address to it by doing "ip addr add dev vEth0_0 192
.168.56.103". And the VM has another NIC with IP address 192.168.56.101.
The host has an interface 192.168.56.1.  I can ping .101 from the host, but
NOT .103 from the host.

Any idea how to make pinging the kni interface(.103) work?  Or the kni
interface is different and is meant not to work?

thanks
xiong

      reply	other threads:[~2021-04-12 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11  2:17 Quanren Xiong
2021-04-12 14:47 ` Renata Saiakhova [this message]

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=MRZP264MB2442DCB4D1FF4FA3804F7B3292709@MRZP264MB2442.FRAP264.PROD.OUTLOOK.COM \
    --to=renata.saiakhova@ekinops.com \
    --cc=users@dpdk.org \
    --cc=xiongqr@gmail.com \
    /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 NNTP newsgroup(s).