Linux Debian: impostazione IP statico Print

  • 0

l’IP statico viene impostato nel seguente file :

/etc/network/interfaces

percio procedere usando “nano”  : nano /etc/network/interfaces

Ecco un file corretto di esempio per IPV4:

# IPv4 address
iface eth0 inet static
	address	192.168.0.100
	netmask	255.255.255.0	
	network	192.168.0.0	
	broadcast 192.168.0.255
	gateway	192.168.0.1

Invece per la parte DNS:

nano /etc/resolv.conf
nameserver	8.8.8.8 
nameserver	8.8.4.4
Riavviare i servizi networking:

service networking restart


Was this answer helpful?

« Back