Files
ilnmors-homelab/docs/services/systemd/systemd-networkd.md
2026-03-15 04:41:02 +09:00

1.1 KiB

systemd-networkd

  • Use networkctl and the files in /etc/systemd/network
  • link file Link file links hardware interface and kernel while booting
  • netdev file netdev file defines virtual interface (port, bridge)
  • network file network file defines network option above interfaces

commands

  • reload
    • networkctl reload
    • networkctl reconfigure [interface name]

references

Plans

  • Hypervisor's linux bridges work as L2 switch
    • br0 is completely L2 switch (LinkLocalAddressing=no)
    • br1 has ip address for hypervisor itself, but basically works as L2 switch whitch can deal with VLAN tags; id=1,10
  • Firewall's port (wan) works as Gateway which can conduct NAT
  • Firewall's port (clients) works as trunk port which can deal with VLAN tags; id=1,10,20
  • Firewall's port
    • client, id = 1
    • server, id = 10
    • user, id = 20
    • wg0