diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-24 13:54:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-24 13:54:49 +0200 |
commit | ea81317d3757f625c6728ef8b1bd512aa3393332 (patch) | |
tree | bdfd93cc16a41a2c7e3c37b72203392f936f3b8e /doc | |
parent | 519557ffe8d6c88d1cb6fdb9120b06185042cd99 (diff) |
Implement second stage (systemd) network configuration
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.cli | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/manual.cli b/doc/manual.cli index 22cbd13..e5d6cf3 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -105,13 +105,24 @@ sudo kvm \ \h2#config-net|Network| -Network is configured via DHCP. All Ethernet intrface that have carrier are -tried in (some) order and the first interface that is successfully configured -via DHCP is used. +Network is configured via DHCP. Initially, all Ethernet interfaces that have +carrier are tried in (some) order and the first interface that is successfully +configured via DHCP is used. Hostname is configured from the DHCP information. Failed that, a name is generated based on the MAC address, in the form \c{build-xxxxxxxxxx}. +@@ Maybe also kernel cmdline? -@@ Maybe also kernel cmdline. +Based on the discovery of the Ethernet interface, two bridge interfaces are +configured: \c{br0} is a public bridge that includes the Ethernet interface +and is configured via DHCP. \c{br1} is a private interface with NAT to \c{br0} +with \c{dnsmasq} configured as a DHCP on this interface. + +Normally, \c{br0} is used for \c{bslave} virtual machines/container (since +they may need to be accessed directly) and \c{br1} \- for \c{bbot} virtual +machines. You can view the bridge configuration on a booted \c{buildos} +instance by examining \c{/etc/network/interfaces}. + +@@ TODO: private network parameters. " |