Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-78

VPP drops DHCP OFFER message

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • 16.12
    • 16.06
    • None
    • None

      The code might as well add the required /32's to the FIB

      When DHCP client is set on interface, broadcasts DHCP DISCOVER messages.
      When DHCP server sends OFFER, VPP doesn't send REQUEST but drops the packet, until /32's route is configured with "ip route add 255.255.255.255/32 via local"

      VPP configuration:
      vppctl set interface state GigabitEthernet0/a/0 up
      vppctl set dhcp client intfc GigabitEthernet0/a/0

      Trace from VPP:
      Packet 2

      00:00:04:367331: dpdk-input
      GigabitEthernet0/a/0 rx queue 0
      buffer 0x10ee0: current data 0, length 60, free-list 0, totlen-nifb 0, trace 0x1
      PKT MBUF: port 1, nb_segs 1, pkt_len 60
      buf_len 2176, data_len 60, ol_flags 0x0,
      packet_type 0x0
      ARP: 08:00:27:58:71:eb -> ff:ff:ff:ff:ff:ff
      request, type ethernet/IP4, address size 6/4
      08:00:27:58:71:eb/192.168.20.1 -> 00:00:00:00:00:00/192.168.20.10
      00:00:04:367416: ethernet-input
      ARP: 08:00:27:58:71:eb -> ff:ff:ff:ff:ff:ff
      00:00:04:367420: arp-input
      request, type ethernet/IP4, address size 6/4
      08:00:27:58:71:eb/192.168.20.1 -> 00:00:00:00:00:00/192.168.20.10
      00:00:04:367439: error-drop
      arp-input: IP4 destination address not local to subnet

      Packet 3

      00:00:04:623614: dpdk-input
      GigabitEthernet0/a/0 rx queue 0
      buffer 0x10eb9: current data 0, length 342, free-list 0, totlen-nifb 0, trace 0x2
      PKT MBUF: port 1, nb_segs 1, pkt_len 342
      buf_len 2176, data_len 342, ol_flags 0x0,
      packet_type 0x0
      IP4: 08:00:27:58:71:eb -> ff:ff:ff:ff:ff:ff
      UDP: 192.168.20.1 -> 255.255.255.255
      tos 0x10, ttl 128, length 328, checksum 0x64ec
      fragment id 0x0000
      UDP: 67 -> 68
      length 308, checksum 0x67c8
      00:00:04:623672: ethernet-input
      IP4: 08:00:27:58:71:eb -> ff:ff:ff:ff:ff:ff
      00:00:04:623679: ip4-input
      UDP: 192.168.20.1 -> 255.255.255.255
      tos 0x10, ttl 128, length 328, checksum 0x64ec
      fragment id 0x0000
      UDP: 67 -> 68
      length 308, checksum 0x67c8
      00:00:04:623695: ip4-miss
      fib 0 adj-idx 0 : miss flow hash: 0x00000000
      00:00:04:623705: error-drop
      ip4-input: ip4 destination lookup miss

            Unassigned Unassigned
            mklotton Matej Klotton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: