I do see DHCP Offer in the packet tracer from the Server which I have set up on the other side. But VPP does not send any DHCP Request out, instead I always see that VPP continuously keeps sending DHCP Discovery.
I have attached tx and rx pcap trace in my prevous email. Best Regards, Anagha ________________________________ From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Dave Barach via lists.fd.io <vpp=barachs....@lists.fd.io> Sent: Thursday, 2 March 2023, 19:15 To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] FW: Bug: DHCP Client not sending DHCP REQUEST using VPP v22.02 Do you see a response to the DHCP Discover packets? What does the vpp packet tracer show? Thanks... Dave On Mar 2, 2023, at 7:03 AM, Thakur, Anagha <anagha.tha...@siemens.com> wrote: 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 <vpp_show_version.txt> <trace_tx_rx.pcap>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22655): https://lists.fd.io/g/vpp-dev/message/22655 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] -=-=-=-=-=-=-=-=-=-=-=-