Hello, I am testing DHCP client feature from VPP stack (v22.02) onto our system.
My setup is: I run k8s cluster on x86 system in which I have a pod which uses VPP stack and it accesses physical NIC interface using DPDK and SR-IOV. There are two physical interfaces which we use in VPP, one of them is with static IP (eno2) and other one with as DHCP client (eno1). I expect this interface shall act as a DHCP Client and we run a DHCP server on the other end of the system. But unfortunately, the VPP does not send any DHCP REQUEST. It keeps sending DHCP DISCOVERY every interval. It receives a DHCP Offer. But VPP does not send further DHCP REQUEST to the DHCP server. I do not expect that it is a problem from lower layer and it should be an issue from VPP side. Please let me know if I need to enable any extra plugin other than the ones in the attached file. I attached pcap file recorded vpp trace of tx and rx. Our versions are currently as follows: -> DPDK 22.03 -> VPP 22.02 -> VPP library 22.02 Version Information attached. plugins { path /opt /vpp/lib/vpp_plugins plugin default { disable } plugin dpdk_plugin.so { enable } plugin memif_plugin.so { enable } plugin ping_plugin.so { enable } plugin router_plugin.so { enable } plugin upffp_plugin.so { enable } plugin dhcp_plugin.so { enable } } Commands used: set intfc VPP-N6-0 state up set int mac address eno1 00:11:22:33:44:66 set dhcp client intfc eno1 sh dhcp client verbose [0] VPP-N6-0 state DHCP_DISCOVER installed 0 no address lease: lifetime:0 renewal-interval:0 expires:0.00 (now:2412.35) retry-count:346, next-xmt:2416.87 broadcast adjacency:20 sh log 2023/02/27 16:11:03:986 notice dhcp/client sm active session 0 2023/02/27 16:11:03:986 notice dhcp/client send: type:discover bcast:1 [0] VPP-N6-0 state DHCP_DISCOVER installed 0 no address lease: lifetime:0 renewal-interval:0 expires:0.00 (now:255827.12) retry-count:439, next-xmt:255827.12 broadcast adjacency:11 2023/02/27 16:11:08:986 notice dhcp/client sm active session 0 2023/02/27 16:11:08:986 notice dhcp/client send: type:discover bcast:1 [0] VPP-N6-0 state DHCP_DISCOVER installed 0 no address lease: lifetime:0 renewal-interval:0 expires:0.00 (now:255832.12) retry-count:440, next-xmt:255832.12 broadcast adjacency:11 2023/02/27 16:11:13:986 notice dhcp/client sm active session 0 2023/02/27 16:11:13:986 notice dhcp/client send: type:discover bcast:1 [0] VPP-N6-0 state DHCP_DISCOVER installed 0 no address lease: lifetime:0 renewal-interval:0 expires:0.00 (now:255837.12) retry-count:441, next-xmt:255837.12 broadcast adjacency:11 2023/02/27 16:11:18:986 notice dhcp/client sm active session 0 2023/02/27 16:11:18:986 notice dhcp/client send: type:discover bcast:1 [0] VPP-N6-0 state DHCP_DISCOVER installed 0 no address lease: lifetime:0 renewal-interval:0 expires:0.00 (now:255842.12) retry-count:442, next-xmt:255842.12 broadcast adjacency:11 show interface address eno2 (up): L3 172.31.254.17/29 eno1 (up): host-vpp1out (up): L3 128.0.129.144/24 local0 (dn): memif0/502 (up): Thank you in advance. Best Regards, Anagha
Version: v22.02 Compiled by: root Compile host: ubuntu-22 Compile date: 2022-12-16T10:32:54 Compile location: /root/upf/upfv3/fastpath/build-vpp/vpp Compiler: Clang/LLVM 11.0.1 Current PID: 70 Command line arguments: /opt/upf_fp/vpp/bin/vpp unix { nodaemon log /tmp/vpp.log full-coredump cli-listen /run/vpp/cli.sock } api-trace { on } cpu { main-core 1 corelist-workers 2-4 } dpdk { dev 0000:02:09.0 { name VPP-N3-0 num-rx-queues 1 num-tx-queues 2 num-rx-desc 1024 num-tx-desc 1024 } dev 0000:02:01.0 { name VPP-N6-0 num-rx-queues 1 num-tx-queues 2 num-rx-desc 1024 num-tx-desc 1024 } socket-mem 256,256 } plugins { path /opt/upf_fp/vpp/lib/vpp_plugins plugin default { disable } plugin dpdk_plugin.so { enable } plugin memif_plugin.so { enable } plugin ping_plugin.so { enable } plugin router_plugin.so { enable } plugin upffp_plugin.so { enable } plugin dhcp_plugin.so { enable } } plugin_path /opt/upf_fp/vpp/lib/vpp_plugins logging { default-log-level debug default-syslog-log-level info } tap-inject { enable }
trace_tx_rx.pcap
Description: trace_tx_rx.pcap
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22647): https://lists.fd.io/g/vpp-dev/message/22647 Mute This Topic: https://lists.fd.io/mt/97336867/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] -=-=-=-=-=-=-=-=-=-=-=-