User Tools

Site Tools


informatique:linux:ipbxfixedebian

Mettre une IP fixe sous Debian

Quelque chose de simple, mais je ne me rappelle jamais de la syntaxe.

Dans /etc/network/interfaces.conf :

allow-hotplug [nominterface]
iface [nominterface] inet static
address 192.168.1.15/24
gateway 192.168.1.254
dns-nameservers 192.168.1.1 8.8.8.8
dns-domain domaine.local
 
systemctl restart networking.service
ifup [nominterface]
informatique/linux/ipbxfixedebian.txt · Last modified: 2023/01/30 10:58 by yahiko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki