-------- Message initial -------- De: "DERUMIER, Alexandre" <alexandre.derum...@groupe-cyllene.com> À: pve-devel@lists.proxmox.com <pve-devel@lists.proxmox.com>, aderum...@odiso.com <aderum...@odiso.com>, s.hanre...@proxmox.com <s.hanre...@proxmox.com> Objet: Re: [pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply Date: 16/11/2023 14:47:20
> > Maybe this [1][2] could be a less intrusive solution for this > > issue? >>Yes, dhcp release packet should be the way, but I don't known if can >simply forge packet why any mac ? >>> >>I'll test it this afternoon to see if it's work. mmm,It's not working, the dhcp release packet never reach the bridge I have also try to forge the packet in python with scapy, same bahviour. from scapy.all import send, IP, UDP, BOOTP, DHCP, str2mac import random releaseMAC = '12:45:a3:ed:c8:36' releaseIP='192.168.2.10' serverIP='192.168.2.1' releaseMACraw = str2mac(releaseMAC) dhcp_release = IP(dst=serverIP)/UDP(sport=68,dport=67)/BOOTP(chaddr=releaseMACraw, ciaddr=releaseIP, xid=random.randint(0, 0xFFFFFFFF))/DHCP(options=[('message-type','release'), 'end']) send(dhcp_release) _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel