Maybe you can try host interface in this case, since you are going to share
the control traffic and the user traffic on the only NIC. Check
https://s3-docs.fd.io/vpp/23.06/gettingstarted/progressivevpp/interface.html#create-vpp-host-interface
for more details.

Regards,
Xiaodong

On Wed, Mar 22, 2023 at 6:50 PM <dorian_...@126.com> wrote:

> Hi,
>
> I'm a newbie and study vpp recently. I succeed cross compiling vpp
> (including my own plugin) , and it can be started up on my arm64 board
> (aarch64 ubuntu 18.04).  But there is only one physical NIC (eth1)  which I
> can use on the board, and I don't need dpdk, so there is only local0 when I
> run "show int" cmd.
>
> My question is how to add two more ip addresses (maybe virtual
> interface?)  as below network tepology.
>
>
>
> My own plugin implements ip-in-ip, something like gre or gtp tunnel, to
> remove ip header from port1 to port2 and add ip header from port2 to port1.
>
> Note that this vpp program and the whole function can run successfully on
> PC vmware ubuntu virtual machine with dpdk, since I can create more ensXXX
> in the virtual machine, and I use igb_uio dpdk driver to operate the
> interface. But I really don't know how to implement the same function on
> the board in case there is only one NIC. Both with or without dpdk is ok
> for me, as it seems that igb_uio.ko is not supported on the board NIC, only
> rte_kni.ko is supported, and I'm not sure if kni is still suppored in vpp
> dpdk plugin.
>
> Any helps will be appreciated. Thanks!
> Dorian
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22754): https://lists.fd.io/g/vpp-dev/message/22754
Mute This Topic: https://lists.fd.io/mt/97793306/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to