Hoi Haiyan,

The message you referred to does not exist (for me at least) - but I think
you should be looking at LinuxCP: https://gerrit.fd.io/r/c/vpp/+/33709
I wrote a fair bit about Linux CP in a 7-part article here:
https://ipng.ch/s/articles/2021/08/12/vpp-1.html
The article includes howto/usage information and lots of notes on the
internals of VPP with respect to Linux CP, and code that hasn't yet been
merged.

To answer your question:
vppctl set interface state TenGigabitEthernet3/0/0 up
vppctl set interface mtu packet 9000 TenGigabitEthernet3/0/0
vppctl set interface ip address TenGigabitEthernet3/0/0 10.0.1.1/30
vppctl set interface ip address TenGigabitEthernet3/0/0 2001:db8:0:1::1/64
vppctl lcp create TenGigabitEthernet3/0/0 host-if e0

And in Linux, the interface will appear - you should mirror the VPP
configuration by hand
ip link set e0 up mtu 9000
ip addr add 10.0.1.1/30 dev e0
ip addr add 2001:db8:0:1::1/64 dev e0

Interface 'e0' is now available for use in both Linux and VPP.

groet,
Pim

On Mon, Nov 29, 2021 at 7:45 AM haiyan...@ilinkall.cn <haiyan...@ilinkall.cn>
wrote:

> Dear vpp experts,
>
> To perform the subject described, I did as this document said
> https://lists.fd.io/g/vpp-dev/message/17806, but could not redirect ssh
> traffic to linux host, could someone kindly show me the detail
> configuration?
>
> if I configure linux tap0 interface the same ip/mac address with vpp nic,
> how to configure vpp tap0 interface?
>
> Thanks.
>
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20550): https://lists.fd.io/g/vpp-dev/message/20550
Mute This Topic: https://lists.fd.io/mt/87372925/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to