File: nm-all.md

package info (click to toggle)
netplan.io 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,268 kB
  • sloc: python: 34,640; ansic: 14,096; xml: 4,989; javascript: 2,165; sh: 513; makefile: 118
file content (26 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# NetworkManager default configuration

Without configuration, Netplan will not do anything. Therefore, on Desktop
systems, a useful configuration snippet to just bring up networking via DHCP is
as follows:

```yaml
network:
  version: 2
  renderer: NetworkManager
```

This will make NetworkManager manage all devices and by default. Any Ethernet
device will come up with DHCP, once carrier is detected. This is basically
Netplan passing control over to NetworkManager at boot time.

You can still define any more specific IDs in you Netplan configuration, to
configure interfaces individually, according to Netplan [YAML reference](/netplan-yaml/).

When NetworkManager [Netplan desktop integration](/netplan-everywhere/) is
activated, NetworkManager will automatically create specific Netplan IDs for
each of its connection profiles.

This configuration snippet is shipped by default on Ubuntu Desktop systems
through the [ubuntu-settings](https://launchpad.net/ubuntu/+source/ubuntu-settings)
package as `/usr/lib/netplan/00-network-manager-all.yaml`.