Hi all, I have configured on 2 VPP interfaces IP addresses: set interface ip address GigabitEthernet0/9/0 10.0.0.2/24 set interface ip address GigabitEthernet0/a/0 192.168.0.126/26 (Network: 192.168.0.64, Broadcast: 192.168.0.127)
When I send to GigabitEthernet0/9/0 interface packet with destination 192.168.0.64 and 192.168.0.127, the GigabitEthernet0/a/0 interface sends an ARP request. sendp(iface='eth2', x=Ether(src='02:00:00:00:00:02', dst='08:00:27:f3:be:f0')/IP(src='10.0.0.1', dst='192.168.0.64')) sendp(iface='eth2', x=Ether(src='02:00:00:00:00:02', dst='08:00:27:f3:be:f0')/IP(src='10.0.0.1', dst='192.168.0.125')) sendp(iface='eth2', x=Ether(src='02:00:00:00:00:02', dst='08:00:27:f3:be:f0')/IP(src='10.0.0.1', dst='192.168.0.126')) sendp(iface='eth2', x=Ether(src='02:00:00:00:00:02', dst='08:00:27:f3:be:f0')/IP(src='10.0.0.1', dst='192.168.0.127')) sendp(iface='eth2', x=Ether(src='02:00:00:00:00:02', dst='08:00:27:f3:be:f0')/IP(src='10.0.0.1', dst='192.168.0.128')) vpp# show trace ------------------- Start of thread 0 vpp_main ------------------- Packet 1 02:34:42:407061: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0x4ccb: current data 14, length 46, free-list 0, totlen-nifb 0, trace 0x0 PKT MBUF: port 0, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x0, data_off 128, phys_addr 0x79433300 packet_type 0x0 IP4: 02:00:00:00:00:02 -> 08:00:27:f3:be:f0 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.64 tos 0x00, ttl 64, length 20, checksum 0xb000 fragment id 0x0001 02:34:42:407085: ip4-input IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.64 tos 0x00, ttl 64, length 20, checksum 0xb000 fragment id 0x0001 02:34:42:407088: ip4-lookup fib 0 dpo-idx 1 flow hash: 0x00000000 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.64 tos 0x00, ttl 64, length 20, checksum 0xb000 fragment id 0x0001 02:34:42:407090: ip4-glean IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.64 tos 0x00, ttl 64, length 20, checksum 0xb000 fragment id 0x0001 02:34:42:407093: GigabitEthernet0/a/0-output GigabitEthernet0/a/0 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.64 02:34:42:407095: error-drop ip4-glean: ARP requests sent 02:34:42:407096: GigabitEthernet0/a/0-tx GigabitEthernet0/a/0 tx queue 0 buffer 0x186c6: current data -14, length 42, free-list 0, trace 0x0 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.64 Packet 2 02:34:42:410263: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0x4ca4: current data 14, length 46, free-list 0, totlen-nifb 0, trace 0x1 PKT MBUF: port 0, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x0, data_off 128, phys_addr 0x79432940 packet_type 0x0 IP4: 02:00:00:00:00:02 -> 08:00:27:f3:be:f0 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.125 tos 0x00, ttl 64, length 20, checksum 0xafc3 fragment id 0x0001 02:34:42:410282: ip4-input IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.125 tos 0x00, ttl 64, length 20, checksum 0xafc3 fragment id 0x0001 02:34:42:410285: ip4-lookup fib 0 dpo-idx 1 flow hash: 0x00000000 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.125 tos 0x00, ttl 64, length 20, checksum 0xafc3 fragment id 0x0001 02:34:42:410286: ip4-glean IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.125 tos 0x00, ttl 64, length 20, checksum 0xafc3 fragment id 0x0001 02:34:42:410288: GigabitEthernet0/a/0-output GigabitEthernet0/a/0 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.125 02:34:42:410291: error-drop ip4-glean: ARP requests sent 02:34:42:410291: GigabitEthernet0/a/0-tx GigabitEthernet0/a/0 tx queue 0 buffer 0x186ed: current data -14, length 42, free-list 0, trace 0x1 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.125 Packet 3 02:34:42:414134: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0x4c7d: current data 14, length 46, free-list 0, totlen-nifb 0, trace 0x2 PKT MBUF: port 0, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x0, data_off 128, phys_addr 0x79431f80 packet_type 0x0 IP4: 02:00:00:00:00:02 -> 08:00:27:f3:be:f0 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.126 tos 0x00, ttl 64, length 20, checksum 0xafc2 fragment id 0x0001 02:34:42:414162: ip4-input IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.126 tos 0x00, ttl 64, length 20, checksum 0xafc2 fragment id 0x0001 02:34:42:414165: ip4-lookup fib 0 dpo-idx 5 flow hash: 0x00000000 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.126 tos 0x00, ttl 64, length 20, checksum 0xafc2 fragment id 0x0001 02:34:42:414167: ip4-local IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.126 tos 0x00, ttl 64, length 20, checksum 0xafc2 fragment id 0x0001 02:34:42:414169: error-punt ip4-input: unknown ip protocol Packet 4 02:34:42:417916: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0x4c56: current data 14, length 46, free-list 0, totlen-nifb 0, trace 0x3 PKT MBUF: port 0, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x0, data_off 128, phys_addr 0x794315c0 packet_type 0x0 IP4: 02:00:00:00:00:02 -> 08:00:27:f3:be:f0 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.127 tos 0x00, ttl 64, length 20, checksum 0xafc1 fragment id 0x0001 02:34:42:417940: ip4-input IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.127 tos 0x00, ttl 64, length 20, checksum 0xafc1 fragment id 0x0001 02:34:42:417943: ip4-lookup fib 0 dpo-idx 1 flow hash: 0x00000000 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.127 tos 0x00, ttl 64, length 20, checksum 0xafc1 fragment id 0x0001 02:34:42:417945: ip4-glean IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.127 tos 0x00, ttl 64, length 20, checksum 0xafc1 fragment id 0x0001 02:34:42:417947: GigabitEthernet0/a/0-output GigabitEthernet0/a/0 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.127 02:34:42:417950: error-drop ip4-glean: ARP requests sent 02:34:42:417951: GigabitEthernet0/a/0-tx GigabitEthernet0/a/0 tx queue 0 buffer 0x18714: current data -14, length 42, free-list 0, trace 0x3 ARP: 08:00:27:66:b8:57 -> ff:ff:ff:ff:ff:ff request, type ethernet/IP4, address size 6/4 08:00:27:66:b8:57/192.168.0.126 -> 00:00:00:00:00:00/192.168.0.127 Packet 5 02:34:42:421835: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0x4c2f: current data 14, length 46, free-list 0, totlen-nifb 0, trace 0x4 PKT MBUF: port 0, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x0, data_off 128, phys_addr 0x79430c00 packet_type 0x0 IP4: 02:00:00:00:00:02 -> 08:00:27:f3:be:f0 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.128 tos 0x00, ttl 64, length 20, checksum 0xafc0 fragment id 0x0001 02:34:42:421851: ip4-input IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.128 tos 0x00, ttl 64, length 20, checksum 0xafc0 fragment id 0x0001 02:34:42:421854: ip4-lookup fib 0 dpo-idx 0 flow hash: 0x00000000 IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.128 tos 0x00, ttl 64, length 20, checksum 0xafc0 fragment id 0x0001 02:34:42:421855: ip4-drop IP6_HOP_BY_HOP_OPTIONS: 10.0.0.1 -> 192.168.0.128 tos 0x00, ttl 64, length 20, checksum 0xafc0 fragment id 0x0001 02:34:42:421857: error-drop ip4-input: ip4 adjacency drop Shouldn't be with set ip address on an interface also added network and broadcast /32 addresses to the FIB? Regards, Matej.
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev