When the command “sudo nano /etc/network/interfaces” is typed in Konsole in the VM Workstation (in VirtualBox) the following appears:
iface lo inet loopback
When using Virtual Machines (not Physical Isolation),
- eth0 is an internal, isolated, virtual network
- provided and only visible inside Virtual Machines
- solely used to communicate with the Gateway
- it has no access to the host.
- Thus, the following IP address can NOT cause conflicts
with your LAN network router.
iface eth0 inet static
##increment last octet of address
##on optional additional workstations.
address [IP address]
netmask [IP address]
gateway [IP address]
## out commented. ## For what do we require the network and broadcast ## instances anyway? #network [IP address] #broadcast [IP address][/QUOTE]
Is the [address [IP address]] the only one that should be modified? What about the netmask, gateway, network and broadcast IP addresses?
How do I edit the IP addresses that it gives me, for example changing the last octet? I typed “^G” to “get help” but nothing happened. There also other options (such as “^O” to “write out” – what does this mean?) which I don’t understand.
I basically do not know how to modify any of the information (IP addresses) it gives me. I have been able to change some of the numbers, but I don’t know how to save those changes.
Also, underneath the text I quoted above, when I type “sudo service networking restart” and press enter, nothing happens.