Adam - You beat me to it. I do something similar on my PiDP-11, but I never need some of your automation because that was pre-systemd-networkd. I applied the commands as I went years ago, made sure there were persistent across reboots and never looked back 😉.
As a reminder, this topic was discussed here a few times, but a year ago it was under the subject line: Networking BSD2.11+ installed on RPi4/5 with RPI OS Bookworm from GitHub
FWIW: My Mac is set up similarly for OpenSIMH development, and I can talk to the PDP-10 under TOPS-20 or the PDP-11 under 2.11BSD (macos and the TUN/TAP driver is a little more difficult, but you can get it from the TunnelBrick VPN folks:
https://tunnelblick.net/downloads.html)
Note, If there is any interest, I have a fairly current 2.11BSD (i.e. all but the last one or two updates from Steven - IIRC it has a number of the aforementioned fixes) that I made for Dave Plummer (the Dave's Garage guy) when we were working on his 11/83 running and while back). Although I have been running it OpenSIMH (current) on the Mac as I have a lot more and much larger screens, and the system is so fast. scp the system image (2.11BSD_xx.dsk) file in /opt/pidp11/systems directory on your RPi and then make sure you have a boot.ini the older version of simh that Oscar supplies and needs these line to turn on his blinkenlights:
;connect to panel
set realcons host=localhost
set realcons panel=11/70
; We're running on a desktop PC with connection to localhost: max speed!
set realcons interval=1
set realcons connected
;set realcons debug
;show realcons
And you should be in business. Send me email offline and I give you a pointer to the kit I put togther for Dave.
Clem
From this thread, I probably need to recreate my OS on the RPi2 that drives the PiDP-11 - since I created it [which was from Oscar's initial build]. But just runs and runs, although given the age of the SD card, I suspect I'm playing with fire (I had been thinking it was an RPi3, but I double-checked recently and was surprised to realize that. But it just works, and on the PiDP-11, the boot.ini file is static and basically the original one that Oscar pushed out.