You are not logged in.

#1 2022-07-28 13:17:10

ADI-mistrzu
Member
From: Poland/Legionowo
Registered: 2016-06-22
Posts: 12

Systemd-networkd - one mac address is ignored by DHCP Server

Hi,

I have a strange problem, I use systemd-networkd to managment my eth0 connection with DHCP Server.
I also set manualy address for some devices:

# cat /etc/systemd/network/eth0.network
[Match]
Name=eth0

[Network]
Address=100.10.0.1/24
DHCPServer=true
IPMasquerade=ipv4

[DHCPServer]
PoolOffset=10
PoolSize=30
EmitDNS=yes
DNS=8.8.8.8

# AP
[DHCPServerStaticLease]
MACAddress = 00:4F:69:##:##:##
Address = 100.10.0.30

#BOSCH
[DHCPServerStaticLease]
MACAddress =00:60:34:17:AF:B8
Address = 100.10.0.24

# Canon
[DHCPServerStaticLease]
MACAddress = 34:9F:7B:##:##:##
Address = 100.10.0.32
...

all devices receive the indicated addresses except bosch.
I checked with wireshark and it identifies itself with the indicated address, but dhcp server does not assign the indicated address only for it
7941612300_1659014148_thumb.jpg  5673960700_1659014187_thumb.jpg

But why?

Last edited by ADI-mistrzu (2022-07-28 13:27:39)

Offline

#2 2022-07-29 06:26:13

ADI-mistrzu
Member
From: Poland/Legionowo
Registered: 2016-06-22
Posts: 12

Re: Systemd-networkd - one mac address is ignored by DHCP Server

I changed my mac address at another device at 00:60:34:17:AF:B8 and work correct.
The difference I see is a kind of bootp flags, oryginal device send DHCP request as Broadcast, other devices do it as unicast.
4315090000_1659075930_thumb.jpg

This is the first time I see this, can anyone explain it to me?

Offline

Board footer

Powered by FluxBB