tis 2018-11-13 klockan 17:00 +0000 skrev Andy Smith:
...
Hmm, there is no DHCP server at BitFolk so either:
1. netplan has limited understanding of /etc/network/interfaces, or
2. netplan writes a default config file based on its network
settings in the installer phase, and ignores
/etc/network/interfaces totally
Yeah, #2 was likely what happened. My guess is that I simply assumed
DHCP because it showed up in the installer.
It's depressing that there's not a single IPv6
example in
https://netplan.io/examples
In case it helps anyone, here is my current 01-netcfg.yaml.
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- "85.119.82.90/21"
- "85.119.83.127/32"
- "2001:ba8:1f1:f1d1::22/64"
- "2001:ba8:1f1:f1d1::2/64"
gateway4: 85.119.80.1
gateway6: "2001:ba8:1f1:f1d1::1"
Above results in a setup where the default outgoing addresses are
85.119.82.90 and 2001:ba8:1f1:f1d1::2. Unsure whatever there is a more
explicit way to set that up.
// Andreas