Définition de la configuration statique dans un fichier

A/ Config ancienne → fichier /etc/network/interfaces

allow-hotplug eth0

address (193.52.61.144)

netmask (255.255.255.255)

network (193.52.61.128)

broadcast (193.52.61.159)

gateway (193.52.61.129)

B/ Config moderne → /etc/systemd/network/wired.network

[Match]

Name = eth0

[Network]

Description = Carte Ethernet config.statique

Address = 193.52.61.144/27

Gateway = 193.52.61.129

(peut être vérifié avec la commande networkdl)

ip link 2) Table de routage