Configurazione NAT Guest OS

From RVM Wiki
Jump to navigation Jump to search


Per configurare correttamente un guest os con ip statico per il nat, configurare come segue:

iface eth0 inet static
        address 192.168.127.100
        netmask 255.255.255.0
        network 192.168.127.0
        broadcast 192.168.127.255
        gateway 192.168.127.2
        dns-nameservers 192.168.127.1

Il gateway NON deve essere l'ip della scheda VMWare-Nat (VMNet8) sull'Host OS (.1), ma l'ip del Nat device (.2).

Se non si fa così, si riesce a pingare e forse a risolvere, ma non a fare http.

Se si hanno difficoltà, configurare uan volta l'interfaccia con dhcp e copiare i parametri.

Keywords: VMWare nat ping not connect