User Tools

Site Tools


ipconfiguration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
ipconfiguration [2019/08/21 21:56]
Denis Kenzior created
ipconfiguration [2020/10/21 16:29]
Andrew Zaborowski Syntax highlighting
Line 1: Line 1:
-Empty+While this page is being written please refer to the //Network Configuration Settings// section of the **iwd.network**(5) manual page ([[https://​git.kernel.org/​pub/​scm/​network/​wireless/​iwd.git/​tree/​src/​iwd.network.rst#​n250|git source]].) 
 + 
 +These settings are only used if IP configuration is globally enabled in IWD's main configuration file using the [General].EnableNetworkConfiguration setting, see the //General Settings// section of the **iwd.config**(5) manual page ([[https://​git.kernel.org/​pub/​scm/​network/​wireless/​iwd.git/​tree/​src/​iwd.config.rst#​n57|git source]].) 
 + 
 +===== Example configurations ===== 
 + 
 +If network configuration is globally enabled, by default a DHCP request is sent immediately after IWD connects to a network. ​ If a DHCP lease is obtained, the settings from the lease are used to configure the local interface'​s IP address, netmask, gateway address, local internet domain and to configure the DNS entries into the system resolver. 
 + 
 +If the **Address** and **Gateway** settings are present in the network config file's **IPv4** section, a static configuration is used instead as in the following example. ​ The other settings are optional. 
 + 
 +<code ini> 
 +[Security] 
 +PreSharedKey=27fd71c40ab6867885738e9ca15b21d84b0849531d92bd1f130398470080f4fb 
 + 
 +[IPv4] 
 +Address=10.0.1.20 
 +Netmask=255.255.255.0 
 +Gateway=10.0.1.1 
 +DNS=1.1.1.1,​8.8.8.8 
 +</​code>​ 
 + 
 +Some of the optional settings can be used alone to override the values in the DHCP lease.
ipconfiguration.txt · Last modified: 2020/11/26 18:30 by Andrew Zaborowski