From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1326A0524 for ; Sun, 11 Apr 2021 04:17:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79F234068A; Sun, 11 Apr 2021 04:17:18 +0200 (CEST) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mails.dpdk.org (Postfix) with ESMTP id 629FB4014E for ; Sun, 11 Apr 2021 04:17:17 +0200 (CEST) Received: by mail-ej1-f44.google.com with SMTP id u21so14548420ejo.13 for ; Sat, 10 Apr 2021 19:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=I9xb/aHksSFzIG5l2aISZMHjZWwaJdb72OggICizDuA=; b=YPOqHdDVDdWQVZogrwwKrTPbmYsu2AOKEzQcwNWd/vgJRQ2aHiVSKpW6q76FzVKb2b wVKvSEdm9r7U4HrU+8mL+Eno94afKOdwRQLc5kan1YlWm8QKRcYqM1BIhqQibsQucCGG KdibrMsCTd4fZKhVoBmvkzWLcCjFy7CG/ria1K/ltZSUDlHvQ0oiJYx/LTywfqSrQ5oz qjojWVUnszEGIsbC9gmUurNfRWj827PoD0YMffEhi6vN0Etzba2e22Rat1qLDnxByJVF I5rT60vij6Pu6I+2PyeSfYZDjh71waid/rQ498l7zrBqvgk4mSR7x41lf+i8PTC4y/Zv 2Exw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=I9xb/aHksSFzIG5l2aISZMHjZWwaJdb72OggICizDuA=; b=R92R2lhTx9IR68rdDAjQnySxS0eW1ittUGNjusyno8Uyh+eZfRInS+CtB22cloT6+N jhhV92ezyd+L+8A36akl97PxapUZKMkTXlodZgHqeNCro+oe+Z+As4c9TW5eldX4x7mc CWveyR4NkD29pxCs2FowRX0GfuIrLe6XKeNnu0GSjYn58v4qBgRj7eRIAp69mMOksyuI HRqBB2mxqCG5mfLVEwB7IGowIdyQcSUKgXotF4v93IjIlKIgtlJ4HLmObevqKWxphw+o lQde4yX7NAnbBdwxn+UYJ/OnImlhUthvQ0cX4rjUgkJGH/c0ZMaUiLNxaUV/93rxS3vV WhaQ== X-Gm-Message-State: AOAM533Vyo5cTVYaqLFnRqyPQQIcNKQZnPKuE9PGHjRwLBQ+zJ30Rpdn hkoGpqoR6XvIsRn/uX36FKS4njfv/sKlqsXVLFeQz409fw8= X-Google-Smtp-Source: ABdhPJze+8fbNkoRG8/zzCr5r/d7Cx3/Yp8aWMik8r36Sh6u3pH32kwYJD7RQjMd3b7zYkcjmcivyxJIGfHmbJmBMIY= X-Received: by 2002:a17:907:98c1:: with SMTP id kd1mr21723127ejc.33.1618107436758; Sat, 10 Apr 2021 19:17:16 -0700 (PDT) MIME-Version: 1.0 From: Quanren Xiong Date: Sat, 10 Apr 2021 22:17:05 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] expose kni interface on VM to host X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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 , 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