DHCP

From Indie IT Wiki
Jump to: navigation, search

HOWTO: VLANS

https://www.ossramblings.com/using-multiple-vlan-with-dhcp-ubuntu

https://community.spiceworks.com/topic/1331562-isc-dhcp-server-for-multiple-vlans

HOWTO: FIX: DNSMasq DHCP Server With UFW

 sudo ufw allow from any port 68 to any port 67 proto udp

HOWTO: List Leases On The Command Line

egrep "lease|hostname|hardware|\}" /var/lib/dhcp/dhcpd.leases

or

egrep "lease|hostname|hardware|\}" /var/lib/dhcpd/dhcpd.leases

Thanks - https://unix.stackexchange.com/questions/91799/command-to-list-assigned-dhcp-addresses/