add systemd-networkd client config docs/lxd_container_home_server_networking_for_dummies.md

This commit is contained in:
2018-02-18 11:34:31 +00:00
parent 27a11c0656
commit 15e26954a8
5 changed files with 72 additions and 22 deletions

View File

@ -312,6 +312,31 @@ The configuration for a debian stretch container is the same, except the the fil
`/etc/network/interfaces` will also describe eth0, but you only have to add the
description for eth1.
### systemd-networkd
This seems to work.
```conf
# eth0.network
[Match]
Name=eth0
[Network]
DHCP=ipv4
```
```conf
# eth1.network
[Match]
Name=eth1
[Network]
DHCP=ipv4
[DHCP]
UseRoutes=false
```
### the /etc/hosts file
Once you assign the containers static ip addresses for their *eth1*
@ -349,4 +374,3 @@ vim /etc/hosts
etcetera