VBox - Configurare ipstatico guest ubuntu su host W7
Inviato: sabato 9 aprile 2016, 9:32
Non riesco a configurare l'ip statico su un client lubuntu 15.10. Dal pannello di Vbox la macchina è configurata per Internal Network
Codice: Seleziona tutto
lubuntu@lubuntu-VirtualBox:~$hostname
lubuntu-VirtualBoxCodice: Seleziona tutto
lubuntu@lubuntu-VirtualBox:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 lubuntu-VirtualBox
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Codice: Seleziona tutto
lubuntu@lubuntu-VirtualBox:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.44.2
netmask 255.255.255.0
broadcast 192.168.44.255
Codice: Seleziona tutto
lubuntu@lubuntu-VirtualBox:~$ sudo /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.Codice: Seleziona tutto
lubuntu@lubuntu-VirtualBox:~$ ping 192.168.44.2
PING 192.168.44.2 (192.168.44.2) 56(84) bytes of data.
^C
--- 192.168.44.2 ping statistics ---
23 packets transmitted, 0 received, 100% packet loss, time 22052ms