cat /etc/systemd/network/50-default.network
This commit is contained in:
parent
021f57ef21
commit
770c40673c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue