Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHCPv4 static leases per interface #201

Open
Jonny007-MKD opened this issue Jul 8, 2023 · 0 comments
Open

DHCPv4 static leases per interface #201

Jonny007-MKD opened this issue Jul 8, 2023 · 0 comments

Comments

@Jonny007-MKD
Copy link

I have several VLANs and thus network interfaces to separate the clients in them. I want to make a client a member of two VLANs, so I configured the client correctly to be member of these VLANs. The client's VLAN interfaces (by default) inherit the MAC address of the physical interface (which should not be a problem in case of L2 networking). But odhcpd as my DHCPv4 server assigns the same static lease based on the MAC address no matter on which interface the request is received.

Is there a possibility to configure separate static leases based on the interface?

I already tried spoofing MAC addresses on the client's interfaces, but failed on the IPv6 link-local addresses as they seem to be derived from the physical MAC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant