From 770c40673c4a9f1d8b241fb120776f8c961a5e82 Mon Sep 17 00:00:00 2001 From: bserie Date: Mon, 28 May 2018 10:59:59 +0200 Subject: [PATCH] cat /etc/systemd/network/50-default.network --- HowtoDebian/Reseau.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtoDebian/Reseau.md b/HowtoDebian/Reseau.md index 25e3f128..a1696dec 100644 --- a/HowtoDebian/Reseau.md +++ b/HowtoDebian/Reseau.md @@ -208,7 +208,7 @@ De façon définitive : À partir de Stretch, certaines machines sont installés d'office avec networkd (qui fait partie de systemd), on peut vouloir migrer à ifup (`/etc/network/interfaces`) pour plusieurs raisons (compatibilité, …). Voici les opérations à faire : -- On récupère les informations avec `networkctl status nomInterface` ; +- On récupère les informations avec `networkctl status nomInterface` et/ou `cat /etc/systemd/network/50-default.network` ; - On construit le fichier `/etc/network/interfaces` avec les informations récupérés (se baser sur un existant par exemple) ; - On désactive `systemd-networkd` et on redémarre le service `networking` : @@ -238,7 +238,7 @@ Un exemple de conversion : 192.0.2.254 NTP: ntp.ovh.net -cat /etc/systemd/network/50-default.network +# cat /etc/systemd/network/50-default.network # This file sets the IP configuration of the primary (public) network device. # You can also see this as "OSI Layer 3" config. # It was created by the OVH installer, please be careful with modifications.