Results 1 to 4 of 4

Thread: Want GuestOS to be Network Visible

  1. #1
    Join Date
    Mar 2005
    Beans
    188
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Want GuestOS to be Network Visible

    Heya All,

    I am running VirtualBox 3.2.8_OSE r64453 on Lubuntu 10.10, running an Ubuntu Server 12.04 install, and wish to allow communication from host to guest, as well as guest to network. However, while the guest can communicate with the host, that is as far as communications go. I have the guest set up with two adapters; one NAT, and one Bridged (tried Host-Only as well), but to no avail. I only get that the packets are filtered when I try pinging any address of the guest. The network set up is as follows:

    Host eth0 192.168.0.64
    NAT-Gate 10.0.2.2
    NAT-Guest eth0 10.0.2.15
    BRI-Guest eth1 192.168.56.72

    I can understand difficulty with different subnets, but it seems that some communication is possible with the NAT, as it registers filtered packets.

    I have also opened port 7 in UFW on the Ubuntu Server, which is the ICMP reply port, but that does not work.

    Is there any way I can fix this? Do I need GNS3, or IPCop?

    Just in case, as to why I want to do this; I want to run game servers on my machine, but in a virtualized environment. This way, I can keep back-ups of those machines readily available, and if anyone attempts to take-over my box, they will only be able to access the virtual machine.

    Thanks in advance.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Want GuestOS to be Network Visible

    Change networking to bridged instead of NAT.

    The VM will then be on the same network as the host.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Mar 2005
    Beans
    188
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Want GuestOS to be Network Visible

    Thanks CharlesA, that did work. It did change the IP addresses on the guest, but I think was to make them subnet appropriate.

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Want GuestOS to be Network Visible

    Quote Originally Posted by Rhemat View Post
    Thanks CharlesA, that did work. It did change the IP addresses on the guest, but I think was to make them subnet appropriate.
    Yep. It will use whatever address scheme you use on the host's network.

    NAT defaults to 10.x.x.x.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •