aboutsummaryrefslogtreecommitdiff
path: root/etc/private/systemd-networkd/README
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-04 13:10:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-04 13:10:33 +0200
commit9f6b17a091222f8240194ae331f64e92ed2c3c28 (patch)
treeb83996996a6a6cee463e11fc884becd16946ea54 /etc/private/systemd-networkd/README
parentb026efa58533e7ce1f04bf9fbb8eb5e7da19db65 (diff)
Update private VM management scripts
Diffstat (limited to 'etc/private/systemd-networkd/README')
-rw-r--r--etc/private/systemd-networkd/README12
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/private/systemd-networkd/README b/etc/private/systemd-networkd/README
index 2db3904..48bb7cd 100644
--- a/etc/private/systemd-networkd/README
+++ b/etc/private/systemd-networkd/README
@@ -5,12 +5,14 @@ that appears as a real machine on the host's Ethernet network.
Assumptions:
- - The host's Ethernet interface is eth0.
+ - The host uses Ethernet for networking.
+
- The host uses IPv4 DHCP for network configuration.
Note: only perform the following steps over a physical login to the host since
the configuration involves bringing the host's networking down.
+Note: commands that start with the `#` prompt must be executed as root.
1. Switch to systemd-networkd for network configuration.
@@ -51,14 +53,18 @@ the comment at the beginning of each file for its purpose):
Note: if you are already using systemd-networkd, then you may already have
some configuration in /etc/systemd/network/. If the existing configuration
-conflicts with this setup (for example, you already have a configuration
-for eth0), then you will need to remove the relevant files.
+conflicts with this setup (for example, you already have a configuration for
+the Ethernet interface), then you will need to remove the relevant files.
Then adjust the following to match your setup:
- Ethernet interface name if not eth0: 20-br0-eth0.network (both name and
content)
+ Use the following command to list all network interfaces:
+
+ # ip link show
+
- Bridge MAC address: 10-br0.netdev
Use your Ethernet interface's address as your bridge address, which