How to give fixed IPs to guests (accessible from outside of host)?
serge.hallyn at ubuntu.com
Wed Mar 12 22:35:31 UTC 2014
Quoting Peng Yu (pengyu.ut at gmail.com):
> I followed the instructions and I'm able to create a host and access
> it. But its IP is something like 192.168.x.x, which is not accessible
> outside the host. Could anybody let me know how to create a guest with
> fixed IPs so that they can be accessed from outside? Thanks.
Not really, because it depends on your host and network setup.
But, the easiest way in general is to bridge a nic on your host
and use that bridge for your VMs. Then the dhcp server serving
your host will handle your VMs and give them public IPs.
More information about the ubuntu-server