You are not logged in.
I bought a Dell PowerEdge R530. It's got 4 ethernet interfaces.
I want to use 1 ethernet to talk to a CenturyLink fiber optic -> ethernet modem, which means PPPoE and a VLAN ID of 201 on an ethernet port. I want to put 2 different wireless access points on 2 of the remaining ethernet ports, and a 8-port ethernet bridge on the last port. I can get everything to work if I do some config by hand, but my smaller understanding of systemd won't let me do all of this persistently. My hacked-together systemd unit to set VLAN ID, LAN IP addresses and routing, etc etc fails.
Just as an example, this is the current running set of ethernet interfaces:
% ip -br address
lo UNKNOWN 127.0.0.1/8 ::1/128
eno1 UP 10.0.0.1/24 fe80::46a8:42ff:fe2d:c255/64
eno2 UP 10.0.10.1/24 fe80::46a8:42ff:fe2d:c256/64
eno3 UP fe80::46a8:42ff:fe2d:c257/64
eno4 DOWN 10.0.20.1/24
eno3.201@eno3 UP fe80::46a8:42ff:fe2d:c257/64
ppp0 UNKNOWN a.b.c.165 peer a.b.c.d.2/32
I've got systemd services ppp@centurylink.service, iptables.service, a service to clamp PMTU on the PPP interface, and a "network.service" I hacked together to set IP addresses and routes on the LAN interfaces (eno1, eno2, eno4), but it runs out-of-order and pppd dies because eno3.201 (VLAN ID of 201) doesn't exist when ppp@centurylink.service runs. What's the systemd way of setting static IP addresses and routes on 3 ethernet interfaces, created the eno3.201 interface and so forth?
Offline
The systemd way would be to use systemd-networkd to configure the ethernet interfaces.
https://wiki.archlinux.org/index.php/Systemd-networkd
The ppp service gets a dropin to start it when a specific vlan device exists:
https://superuser.com/questions/1293939 … an-on-boot
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline