de:admin:linux:systemd:networkd

systemd-networkd

Parent device:

/etc/systemd/network/port1.network
[Match]
Name=enp1s0f1
Type=ether
 
[Network]
Description=Network for uplink without IP
VLAN=uplink
 
# tagged only / no IP configuration
LinkLocalAddressing=no
LLDP=no
EmitLLDP=no
IPv6AcceptRA=no
IPv6SendRA=no

VLAN file:

/etc/systemd/network/uplink.netdev
[NetDev]
Name=uplink
Kind=vlan
 
[VLAN]
Id=1337

Network configuration for RA/DHCPv6:

/etc/systemd/network/uplink.network
[Match]
Name=uplink
Type=vlan
 
[Network]
Description=VLAN for uplink
 
DHCP=yes
[DHCPv6]
PrefixDelegationHint=::/59
  • Zuletzt geändert: 2022-10-24 16:13