Skip to content

Duplicate packets in bridge setup, also missing some packets. #1

@mweinelt

Description

@mweinelt

I'm seeing the following ubus messages for the tcpdump below.

<- 9d79c7b7 #30f726e8         notify: {"objid":821503720,"method":"request","data":{"packet":"000db949ccf9483fda7ef4850800450001505c78000080116ac6c0a8780fc0a878fe00440043013cac3e01010600abcd002100000000c0a8780f000000000000000000000000483fda7ef4850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063825363350103390205dc0c0e776c65642d4c45442d53747269703204c0a8780f3604c0a878feff0000000000000000000000000000000000000000000000000000000000000000"},"no_reply":true}
<- 9d79c7b7 #30f726e8         notify: {"objid":821503720,"method":"request","data":{"packet":"000db949ccf9483fda7ef4850800450001505c78000080116ac6c0a8780fc0a878fe00440043013cac3e01010600abcd002100000000c0a8780f000000000000000000000000483fda7ef4850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063825363350103390205dc0c0e776c65642d4c45442d53747269703204c0a8780f3604c0a878feff0000000000000000000000000000000000000000000000000000000000000000"},"no_reply":true}

The dhcp option list starts right after the magic cookie 0x63825363, so the option 53 (DHCP message type, 0x35) for both packets is the same, while in the tcpdump they are different.

  • 350103
  • 350103

which maps to

option 53
length 0x01
value 0x03 (DHCPREQUEST)

15:14:22.631336 IP (tos 0x0, ttl 128, id 23672, offset 0, flags [none], proto UDP (17), length 336)
    192.168.120.15.68 > 192.168.120.254.67: BOOTP/DHCP, Request from 48:3f:da:7e:f4:85, length 308, xid 0xabcd0021, Flags [none]
	  Client-IP 192.168.120.15
	  Client-Ethernet-Address 48:3f:da:7e:f4:85
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: Request
	    MSZ Option 57, length 2: 1500
	    Hostname Option 12, length 14: "wled-LED-Strip"
	    Requested-IP Option 50, length 4: 192.168.120.15
	    Server-ID Option 54, length 4: 192.168.120.254
15:14:22.633534 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 340)
    192.168.120.254.67 > 192.168.120.15.68: BOOTP/DHCP, Reply, length 312, xid 0xabcd0021, Flags [none]
	  Client-IP 192.168.120.15
	  Your-IP 192.168.120.15
	  Client-Ethernet-Address 48:3f:da:7e:f4:85
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: ACK
	    Server-ID Option 54, length 4: 192.168.120.254
	    Lease-Time Option 51, length 4: 1440
	    Subnet-Mask Option 1, length 4: 255.255.255.0
	    Default-Gateway Option 3, length 4: 192.168.120.254
	    Domain-Name-Server Option 6, length 4: 192.168.120.254
	    T119 Option 119, length 15: 5.108.111.115.115.121.7.110.101.116.119.111.114.107.0
	    NTP Option 42, length 4: 192.168.120.254
	    Domain-Name Option 15, length 13: "lossy.network"

I can provide a pcap if that helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions