[ITA] Guida indirizzo IP fisso con Debian Squeeze da console ssh

headMolto facile e veloce:

Apri il file /etc/network/interfaces con

su -

per diventare root

nano /etc/network/interfaces

per editare il file con nano.

Una volta modificato,
salvare con +”o” + invio
chiudere con +”x”

Ovviamente occorre adattare il seguente contenuto alla propria sottorete (è ovvio che può essere anche un indirizzo ip pubblico…). In questo esempio viene utilizzato l’ indirizzo IP, la subnet, il router, l’ interfaccia di rete ETH0

Buona configurazione.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static

per rendere effettive le modifiche /etc/init.d/networking restart
per verificare l’ indirizzo ifconfig oppure ifconfig eth0 (dove eth0 è il nome dell’ interfaccia).


(Visited 198 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.