Skip to main content
ty
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 263

Machine 62... : Ubuntu 16.04, has access to internet, can be accessed via the internet. On the 62... machine, there is VirtualBox with a VM (also Ubuntu).

I'd like the VM to behave like a 'normal' machine (ip-requests). I reserved a static ipIP for it, but now I'm not sure how to configure the interfaces of the host and the guest in a way I can ping the guest-machine like I would usually ping the host machine (via the reserved ipIP instead of 62...).

ReverseProxy worked for a while, but then I needed websockets over ports I dontdon't know in advance. So now my next guess is NAT? ipforwarding? Bridged networks? Masquerading?

Machine 62... : Ubuntu 16.04, has access to internet, can be accessed via the internet. On the 62... machine, there is VirtualBox with a VM (also Ubuntu).

I'd like the VM to behave like a 'normal' machine (ip-requests). I reserved a static ip for it, but now I'm not sure how to configure the interfaces of the host and the guest in a way I can ping the guest-machine like I would usually ping the host machine (via the reserved ip instead of 62...).

ReverseProxy worked for a while, but then I needed websockets over ports I dont know in advance. So now my next guess is NAT? ipforwarding? Bridged networks? Masquerading?

Machine 62: Ubuntu 16.04, has access to internet, can be accessed via the internet. On the 62 machine, there is VirtualBox with a VM (also Ubuntu).

I'd like the VM to behave like a 'normal' machine (ip-requests). I reserved a static IP for it, but now I'm not sure how to configure the interfaces of the host and the guest in a way I can ping the guest-machine like I would usually ping the host machine (via the reserved IP instead of 62...).

ReverseProxy worked for a while, but then I needed websockets over ports I don't know in advance. So now my next guess is NAT? ipforwarding? Bridged networks? Masquerading?

Source Link

Access VM via static IP (NAT?)

Machine 62... : Ubuntu 16.04, has access to internet, can be accessed via the internet. On the 62... machine, there is VirtualBox with a VM (also Ubuntu).

I'd like the VM to behave like a 'normal' machine (ip-requests). I reserved a static ip for it, but now I'm not sure how to configure the interfaces of the host and the guest in a way I can ping the guest-machine like I would usually ping the host machine (via the reserved ip instead of 62...).

ReverseProxy worked for a while, but then I needed websockets over ports I dont know in advance. So now my next guess is NAT? ipforwarding? Bridged networks? Masquerading?