Created
June 26, 2019 19:58
-
-
Save Poil/6ac748bc4ee628bcca9552927dc275cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/netplan/01-netcfg.yaml | |
# This file describes the network interfaces available on your system | |
# For more information, see netplan(5). | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp1s0f0: | |
dhcp4: no | |
dhcp6: no | |
enp1s0f1: | |
dhcp4: yes | |
dhcp6: no | |
bridges: | |
br0: | |
interfaces: [enp1s0f0] | |
macaddress: xx:xx:xx:xx:xx:xx | |
dhcp4: yes | |
dhcp6: no | |
parameters: | |
stp: false | |
forward-delay: 0 | |
$ reboot | |
# généré le plan et systemctl restart systemd-networkd ne suffit pas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment