|
@@ -12,12 +12,12 @@ NetworkServer - network configuration
|
|
|
|
|
|
The Network configuration is loaded by NetworkServer service on startup. It consists of a list of interfaces, with adapter names as groups.
|
|
The Network configuration is loaded by NetworkServer service on startup. It consists of a list of interfaces, with adapter names as groups.
|
|
|
|
|
|
-The interface that is not listed in this config file is not set up and disabled by default.
|
|
|
|
|
|
+The interface that is not listed in this config file has DHCP enabled by default.
|
|
|
|
|
|
## Options
|
|
## Options
|
|
|
|
|
|
* `Enabled` (default: `true`) - Whether the interface is enabled.
|
|
* `Enabled` (default: `true`) - Whether the interface is enabled.
|
|
-* `DHCP` (default: `false`) - Whether the DHCP client should be run on this interface.
|
|
|
|
|
|
+* `DHCP` (default: `false`) - Whether the DHCP client should be run on this interface. This overrides static IP settings.
|
|
* `IPv4Address` (default: `0.0.0.0`) - The static IPv4 address for the interface. Used only when `DHCP` is `false`.
|
|
* `IPv4Address` (default: `0.0.0.0`) - The static IPv4 address for the interface. Used only when `DHCP` is `false`.
|
|
* `IPv4Netmask` (default: `0.0.0.0`) - The static IPv4 netmask for the interface. Used only when `DHCP` is `false`.
|
|
* `IPv4Netmask` (default: `0.0.0.0`) - The static IPv4 netmask for the interface. Used only when `DHCP` is `false`.
|
|
* `IPv4Gateway` (default: `0.0.0.0`) - The static IPv4 default gateway for the interface. Used only when `DHCP` is `false`.
|
|
* `IPv4Gateway` (default: `0.0.0.0`) - The static IPv4 default gateway for the interface. Used only when `DHCP` is `false`.
|
|
@@ -31,11 +31,11 @@ IPv4Address=10.0.0.5
|
|
IPv4Netmask=255.0.0.0
|
|
IPv4Netmask=255.0.0.0
|
|
IPv4Gateway=10.0.0.1
|
|
IPv4Gateway=10.0.0.1
|
|
|
|
|
|
-# Try to run DHCP discovery on ep0s8.
|
|
|
|
|
|
+# Try to run DHCP discovery on ep0s8. It is equivalent to not adding this entry at all.
|
|
[ep0s8]
|
|
[ep0s8]
|
|
DHCP=true
|
|
DHCP=true
|
|
|
|
|
|
-# Disable interface ep1s1 entirely. It is equivalent to not adding this entry at all.
|
|
|
|
|
|
+# Disable interface ep1s1 entirely.
|
|
[ep1s1]
|
|
[ep1s1]
|
|
Enabled=false
|
|
Enabled=false
|
|
```
|
|
```
|