I have a PC that acts as my home router.
- It has a NIC to the WAN.
- It has a NIC to the LAN.
- It has a NIC to the WAP.
It also has a bridge that spans the LAN/WAP.
Now, I want this router to dispense all the IP addresses as the DHCP server.
What I don’t know is: is netplan in any way involved with adding dhcp-server? Or does dhcp-servicing happen completely outside netplan?
My current netplan config:
# Bridge config
network:
version: 2
renderer: networkd
ethernets:
# WAN port
eno2:
dhcp4: yes
dhcp6: no
# LAN port to switch
enx00242788156c:
dhcp4: no
dhcp6: no
# LAN port to WAP
eno1:
dhcp4: no
dhcp6: no
bridges:
br0:
interfaces:
- enx00242788156c
- eno1
addresses:
- 10.1.0.1/22
- 10.2.0.1/22
Lastly, I also want to manually tie MAC addresses I have on my LAN to a hard-coded IP.
OS: Ubuntu 22.04