add systemd-networkd client config docs/lxd_container_home_server_networking_for_dummies.md

This commit is contained in:
trent committed 2018-02-18 11:34:31 +00:00
1 parent 27a11c0656
commit 15e26954a8
5 files changed
+72 -22

No files matched your search

@@ -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