xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

packet02-assignment2: VLAN tag stripped but no ping replays

Open fwkz opened this issue 1 year ago • 1 comments

I'm running official solution to packet02-assignment-2, VLAN tags are stripped but I'm not receiving any replays from ping requests.

You should see no VLAN tags on the echo request packets; the echo replies will still have VLAN tags, because the kernel will reply to the ping even though it is targeting a different interface, and the replies will be routed out the interface that actually has the IP address being pinged (i.e., the virtual VLAN interface).

Tutorial clearly states that I should have received something back. Am I missing something? 🤔

Wireshark dump:

13	62.479280410	fc00:dead:cafe:1001::2	fc00:dead:cafe:1001::1	ICMPv6	118	Echo (ping) request id=0x2e1c, seq=8, hop limit=64 (no response found!)
14	63.519984623	fc00:dead:cafe:1001::2	fc00:dead:cafe:1001::1	ICMPv6	118	Echo (ping) request id=0x2e1c, seq=9, hop limit=64 (no response found!)
15	64.559942690	fc00:dead:cafe:1001::2	fc00:dead:cafe:1001::1	ICMPv6	118	Echo (ping) request id=0x2e1c, seq=10, hop limit=64 (no response found!)

fwkz avatar Apr 14 '23 16:04 fwkz