Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:server:advanced_server_configuration:advanced_network_configuration [2019-10-25 14:00] – mattias | blocks:server:advanced_server_configuration:advanced_network_configuration [2019-10-25 15:27] (current) – Note on interface name variability admin | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| In recent builds Ubuntu uses Netplan to configure the network settings. In a basic setup it is possible to use Webmin to do this. However due to some open bugs in Webmin this will not work very well in more complex setups. | In recent builds Ubuntu uses Netplan to configure the network settings. In a basic setup it is possible to use Webmin to do this. However due to some open bugs in Webmin this will not work very well in more complex setups. | ||
| - | Multiple | + | Multiple |
| - | The configuration files is kept in etc/netplan and logged in as administrator | + | The configuration files is kept in etc/netplan and logged in as pixi-admin using the terminal. |
| + | To see files the yaml: | ||
| + | < | ||
| + | To edit a file: | ||
| + | < | ||
| + | |||
| + | | ||
| + | This incredibly simple configuration tells the system that the enp3s0 device is to be brought up using DHCP4. Netplan also supports DHCPv6, as well as static IPs, setting routes, etc. | ||
| < | < | ||
| network: | network: | ||
| - | | + | version: 2 |
| - | eno1: | + | renderer: networkd |
| - | dhcp4: true</ | + | |
| - | + | | |
| - | This incredibly simple configuration tells the system that the eth0 device is to be brought up using DHCP4. Netplan also supports DHCPv6, as well as static IPs, setting routes, etc. | + | dhcp4: true |
| - | + | | |
| - | + | | |
| - | | + | :!: The name //enp3s0// shown above may vary with your hardware. See available network interfaces on your computer |
| + | |||
| + | Please have a look at more advanced examles from the [[https:// | ||
| + | |||
| + | |||
| + | To apply a new setting with automatic rollback: | ||
| + | |||
| + | < | ||
| + | |||
| + | To apply a new setting: | ||
| + | |||
| + | < | ||
| + | |||
| + | To get some debug information: | ||
| + | |||
| + | < | ||
| + | |||