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.