Results 1 to 8 of 8

Thread: VBox Guests assigned same IPv4 address?!

  1. #1
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default VBox Guests assigned same IPv4 address?!

    Weirdest thing I haven't seen before.
    When I launch 2 VBox guests at the same time, I found that they both are assigned the same IPv4 address.

    Oracle VBox 4.3 install (from Oracle, not from OSS repos)
    Guests are both configured with NAT (address assigned using DHCP)
    Guests are configured and verified with different MAC addresses.

    Additional:
    Determined in the network settings that the IPv6 address is also different (besides the MAC address).
    All other network settings are identical.

    Affected:
    All VBox guests no matter the OS, have verified openSUSE 13.1, CentOS 6.4, WindowsXP so far.

    Does not seem to affect network functionality. Each Guest can access external networks (like the Internet) through NAT simultaneously.
    The only issue seems to be that they cannot communicate with each other using an IPv4 address (of course, since they have the same IPv4 address).

    Wondering if anyone else running VBox is seeing the same thing?

    TIA,
    TSU

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,317

    Default Re: VBox Guests assigned same IPv4 address?!

    On Thu, 28 Nov 2013 20:16:03 +0000, tsu2 wrote:

    > Wondering if anyone else running VBox is seeing the same thing?


    I don't, but I'm only running version 4.2. But I use NAT and do run
    multiple VMs (actually cloned VMs from the same base, too) and this isn't
    a problem for me.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: VBox Guests assigned same IPv4 address?!

    On 11/29/2013 03:44 PM, Jim Henderson wrote:
    > On Thu, 28 Nov 2013 20:16:03 +0000, tsu2 wrote:
    >
    >> Wondering if anyone else running VBox is seeing the same thing?

    >
    > I don't, but I'm only running version 4.2. But I use NAT and do run
    > multiple VMs (actually cloned VMs from the same base, too) and this isn't
    > a problem for me


    I am running 4.3.4, which I just installed today, and I am seeing the same
    situation. A Windows XP and an openSUSE 12.3 VM both have 10.0.2.15 as their IP.



  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: VBox Guests assigned same IPv4 address?!

    On 2013-11-30 02:12, Larry Finger wrote:

    > I am running 4.3.4, which I just installed today, and I am seeing the
    > same situation. A Windows XP and an openSUSE 12.3 VM both have 10.0.2.15
    > as their IP.


    You could use manual network setup instead of dhcp, in the clients. Not
    optimal, but would solve the issue.

    You should also check that they different MAC addresses.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: VBox Guests assigned same IPv4 address?!

    Resolved.
    Apparently this is an anomaly unique(hopefully) to the default NAT Network.

    I now understand what the "NAT network" configuration option is (yes, it's different than the NAT option).
    With the "NAT network" option you can define new NAT networks and so I configured a new network with DHCP enabled.

    So far, it seems to be working as expected... When multiple Guests are launched, each acquire their own IP address.

    TSU

  6. #6
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    503

    Default Re: VBox Guests assigned same IPv4 address?!

    This is from https://forums.opensuse.org/english/...ion-4-3-a.html

    The following major new features were added:


    • NAT: experimental virtual router mode: several VMs are attached to the same internal network and share one NAT service (see the manual for more information)
    "The time is always right to do what's right." Rev. Dr. Martin Luther King, Jr.
    openSUSE 15.3 5.3.18-59.40-default x86_64

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: VBox Guests assigned same IPv4 address?!

    Quote Originally Posted by kerijan2003 View Post
    This is from https://forums.opensuse.org/english/...ion-4-3-a.html

    The following major new features were added:


    • NAT: experimental virtual router mode: several VMs are attached to the same internal network and share one NAT service (see the manual for more information)

    Yes, I read that and might have interpreted differently than you...
    "the same internal network" does not necessarily mean that all use the same IP address. A "network" comprises any number of networks, and once the Guest is running, you'll see the subnet mask used allows for many addresses.

    So no, in the statement you quoted I saw nothing that describes what I discovered.

    IMO,
    TSU

  8. #8
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    503

    Default Re: VBox Guests assigned same IPv4 address?!

    Ah, yes. I see what you mean. Thanks for pointing that out.
    "The time is always right to do what's right." Rev. Dr. Martin Luther King, Jr.
    openSUSE 15.3 5.3.18-59.40-default x86_64

Posting Permissions

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