Hi all, Any ideas I can try? I am not familiar with dhcp plugin.
Thanks. On Mon, Mar 23, 2020 at 12:55 AM Carlito Nueno <carlitonu...@gmail.com> wrote: > Hi all, > > I am using vpp v20.01 and govpp - v0.3.1 > > lease.DomainServer is showing [0 0 0 0], empty Address and the conversion > to IP address is 0.0.0.0. > > So it knows that there is one dns server but the value is all zeros. > > while vppctl sh dhcp client shows: > lan1 state DHCP_BOUND installed 1 addr 10.150.150.21/24 gw 10.150.150.1 > server 10.150.150.1 dns 10.150.150.1 > > dhcpDetails := &vpp_dhcp.DHCPClientDetails{} > last, err := reqCtx.ReceiveReply(dhcpDetails) > if last { > break > } > if err != nil { > return nil, err > } > client := dhcpDetails.Client > lease := dhcpDetails.Lease > > When I try that method in vpp_api_test, I receive: > *vat# dhcp_client_dump* > dhcp_client_dump error: Unspecified Error > > Any advice? Thanks! >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15858): https://lists.fd.io/g/vpp-dev/message/15858 Mute This Topic: https://lists.fd.io/mt/72486910/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-