Cannot get an ip address from the guest VM
Re: Cannot get an ip address from the guest VM
I have this version 4.2.12 of VirtualBox running..FYI
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Maybe one of the MODs that has the current release will test this again. In the mean time I will see about installing myself.
Re: Cannot get an ip address from the guest VM
Sure, thanks so much..
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Sorry for taking so long but my laptop was compiling and it is where I had the release version 4.2.12
This guest I have (3) test adapters and they all enumerate. Maybe it has something to do with you using a Mac, but I wouldn't think that would have anything to do with it. At this point I am at a loss as to why this is not working for you. Maybe a Mac user will try this for you and let you know if it works for them or not.
This guest I have (3) test adapters and they all enumerate. Maybe it has something to do with you using a Mac, but I wouldn't think that would have anything to do with it. At this point I am at a loss as to why this is not working for you. Maybe a Mac user will try this for you and let you know if it works for them or not.
Code: Select all
perry@perry-laptop ~ $ VBoxManage guestproperty enumerate Mint-14
Name: /VirtualBox/GuestInfo/OS/Product, value: Linux, timestamp: 1370045303992908000, flags:
Name: /VirtualBox/GuestInfo/Net/0/V4/IP, value: 10.0.2.15, timestamp: 1370045304307941000, flags:
Name: /VirtualBox/HostInfo/GUI/LanguageID, value: en_US, timestamp: 1370045264637186000, flags:
Name: /VirtualBox/GuestInfo/Net/0/MAC, value: 0800275323E7, timestamp: 1370045304309067000, flags:
Name: /VirtualBox/GuestInfo/OS/ServicePack, value: , timestamp: 1370045303999675000, flags:
Name: /VirtualBox/HostInfo/VBoxVerExt, value: 4.2.12, timestamp: 1370045264410072000, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/1/Status, value: Up, timestamp: 1370045304311769000, flags:
Name: /VirtualBox/GuestAdd/Vbgl/Video/SavedMode, value: 1287x766x32, timestamp: 1370045321621280000, flags:
Name: /VirtualBox/GuestInfo/Net/1/V4/Broadcast, value: 192.168.1.255, timestamp: 1370045304310687000, flags:
Name: /VirtualBox/GuestInfo/Net/0/V4/Netmask, value: 255.255.255.0, timestamp: 1370045304308673000, flags:
Name: /VirtualBox/GuestInfo/Net/1/V4/Netmask, value: 255.255.255.0, timestamp: 1370045304311059000, flags:
Name: /VirtualBox/GuestInfo/Net/1/MAC, value: 08002703EB0D, timestamp: 1370045304311418000, flags:
Name: /VirtualBox/GuestInfo/OS/Version, value: #46-Ubuntu SMP Mon Mar 25 20:00:05 UTC 2013, timestamp: 1370045303993820000, flags:
Name: /VirtualBox/GuestInfo/Net/2/V4/Netmask, value: 255.255.255.0, timestamp: 1370045304321738000, flags:
Name: /VirtualBox/GuestAdd/VersionExt, value: 4.2.12, timestamp: 1370045304014926000, flags:
Name: /VirtualBox/GuestAdd/Revision, value: 84980, timestamp: 1370045304015291000, flags:
Name: /VirtualBox/HostGuest/SysprepExec, value: , timestamp: 1370045264409485000, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/OS/LoggedInUsers, value: 1, timestamp: 1370045324700586000, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestInfo/Net/0/Status, value: Up, timestamp: 1370045304309624000, flags:
Name: /VirtualBox/GuestInfo/Net/2/MAC, value: 0800270505AC, timestamp: 1370045304322394000, flags:
Name: /VirtualBox/GuestInfo/Net/2/V4/IP, value: 10.0.0.10, timestamp: 1370045304312133000, flags:
Name: /VirtualBox/GuestInfo/Net/2/V4/Broadcast, value: 10.0.0.255, timestamp: 1370045304312495000, flags:
Name: /VirtualBox/HostGuest/SysprepArgs, value: , timestamp: 1370045264409525000, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestAdd/Version, value: 4.2.12, timestamp: 1370045304014548000, flags:
Name: /VirtualBox/HostInfo/VBoxRev, value: 84980, timestamp: 1370045264410103000, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/V4/Broadcast, value: 10.0.2.255, timestamp: 1370045304308311000, flags:
Name: /VirtualBox/HostInfo/VBoxVer, value: 4.2.12, timestamp: 1370045264410045000, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/OS/LoggedInUsersList, value: mint, timestamp: 1370045324699997000, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestInfo/Net/1/V4/IP, value: 192.168.1.108, timestamp: 1370045304310273000, flags:
Name: /VirtualBox/GuestInfo/Net/2/Status, value: Up, timestamp: 1370045304322774000, flags:
Name: /VirtualBox/GuestInfo/Net/Count, value: 3, timestamp: 1370045350131924000, flags:
Name: /VirtualBox/GuestInfo/OS/Release, value: 3.5.0-27-generic, timestamp: 1370045303993489000, flags:
Name: /VirtualBox/GuestInfo/OS/NoLoggedInUsers, value: false, timestamp: 1370045324700941000, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestAdd/HostVerLastChecked, value: 4.2.51, timestamp: 1368898006312607000, flags:
perry@perry-laptop ~ $ -
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Cannot get an ip address from the guest VM
Can't seem to reproduce your issue either...
I've exported one of my own VMs and imported back. Regardless of how I do it, I have no issue with networking. I have tried on Windows 8 & Debian "Testing" hosts.
I fear the issue is with the VM itself. Could you attach as zip the VM log file with a full session, where you have the issue?
I've exported one of my own VMs and imported back. Regardless of how I do it, I have no issue with networking. I have tried on Windows 8 & Debian "Testing" hosts.
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage guestproperty enumerate SambaDC
Name: /VirtualBox/GuestInfo/OS/Product, value: Linux, timestamp: 1370045619376320200, flags:
Name: /VirtualBox/GuestInfo/Net/0/V4/IP, value: 10.40.0.162, timestamp: 1370045619387324000, flags:
Name: /VirtualBox/HostInfo/GUI/LanguageID, value: C, timestamp: 1370045899659961600, flags:
Name: /VirtualBox/GuestInfo/Net/0/MAC, value: 080027A4039E, timestamp: 1370045619391325000, flags:
Name: /VirtualBox/GuestInfo/OS/ServicePack, value: , timestamp: 1370045619377321400, flags:
Name: /VirtualBox/HostInfo/VBoxVerExt, value: 4.2.12, timestamp: 1370045598120420501, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/V4/Netmask, value: 255.255.255.0, timestamp: 1370045619390824700, flags:
Name: /VirtualBox/GuestInfo/OS/Version, value: #1 SMP Debian 3.2.41-2, timestamp: 1370045619376821600, flags:
Name: /VirtualBox/GuestAdd/VersionExt, value: 4.2.6, timestamp: 1370045619380322300, flags:
Name: /VirtualBox/GuestAdd/Revision, value: 82870, timestamp: 1370045619380821800, flags:
Name: /VirtualBox/HostGuest/SysprepExec, value: , timestamp: 1370045598119920300, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/OS/LoggedInUsers, value: 0, timestamp: 1370045619384823100, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestInfo/Net/0/Status, value: Up, timestamp: 1370045619392825400, flags:
Name: /VirtualBox/HostGuest/SysprepArgs, value: , timestamp: 1370045598119920301, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestAdd/Version, value: 4.2.6, timestamp: 1370045619379821300, flags:
Name: /VirtualBox/HostInfo/VBoxRev, value: 84980, timestamp: 1370045598120420502, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/V4/Broadcast, value: 10.40.0.255, timestamp: 1370045619389324700, flags:
Name: /VirtualBox/HostInfo/VBoxVer, value: 4.2.12, timestamp: 1370045598120420500, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/Count, value: 1, timestamp: 1370046159872351300, flags:
Name: /VirtualBox/GuestInfo/OS/Release, value: 3.2.0-4-amd64, timestamp: 1370045619376320201, flags:
Name: /VirtualBox/GuestInfo/OS/NoLoggedInUsers, value: true, timestamp: 1370045619385323000, flags: TRANSIENT, TRANSRESET
C:\Program Files\Oracle\VirtualBox>Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Cannot get an ip address from the guest VM
Hi Perry,
Thanks so much for your help. Possibly I may not be able to send VM or the logs before checking with my company policies. what I can do however is, try and see if I can setup a
webex session or something and show you. For now, as you are suspecting, may be for all I know it's a MAC issue so what I will try to do is spin up a Centos within my VirtualBox and
then install VirtualBox within and then try to run the command line. Is that supported?. Last time I tried it, it gave an error, it was about some accelaration..I stopped at that point.
I will pick from there.
I guess, at this point, because of my limitation of not being able to provide you the VM and the logs, I guess, I will keep this task on hold, if you by chance can get it working with
MAC, with luck, similar to my setup please do let me know, I should be able to try whatever you suggest. Meanwhile, I will enquire about policies here and see what I can share with you.
Thanks so much for your help. Possibly I may not be able to send VM or the logs before checking with my company policies. what I can do however is, try and see if I can setup a
webex session or something and show you. For now, as you are suspecting, may be for all I know it's a MAC issue so what I will try to do is spin up a Centos within my VirtualBox and
then install VirtualBox within and then try to run the command line. Is that supported?. Last time I tried it, it gave an error, it was about some accelaration..I stopped at that point.
I will pick from there.
I guess, at this point, because of my limitation of not being able to provide you the VM and the logs, I guess, I will keep this task on hold, if you by chance can get it working with
MAC, with luck, similar to my setup please do let me know, I should be able to try whatever you suggest. Meanwhile, I will enquire about policies here and see what I can share with you.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Do others in your company do the same thing and does it work for them?
Re: Cannot get an ip address from the guest VM
Hi Perry,
No, everyone uses the standard way, meaning, importing through the UI and be done. I have to use it with commandline because (1) my cluster is remote and I need a headless version and (2) I am the only one who is automating my product end-to-end and as I said, one of our application uses the VM, my automation also need to include bringing up the VM on the
virtualbox in automation(without the UI).
One possibility I can see is, currently I am doing it all on my laptop but once I move my code into production, it will be running in the cloud on a Ubuntu/Centos so that is why I am not
so frustrated if it does not indeed work on MAC.
No, everyone uses the standard way, meaning, importing through the UI and be done. I have to use it with commandline because (1) my cluster is remote and I need a headless version and (2) I am the only one who is automating my product end-to-end and as I said, one of our application uses the VM, my automation also need to include bringing up the VM on the
virtualbox in automation(without the UI).
One possibility I can see is, currently I am doing it all on my laptop but once I move my code into production, it will be running in the cloud on a Ubuntu/Centos so that is why I am not
so frustrated if it does not indeed work on MAC.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Well if you have a Linux machine that you can use to verify that it is in fact a Mac issue then you could put this behind you. I just don't have one and it doesn't seem like anyone here that has a Mac is willing to see if it works for them. In the meantime, I'll try to contact someone that does here in a bit and see if the command works for them.
Re: Cannot get an ip address from the guest VM
Hi perry,
Sure, no problem, for now, as I am still have not moved the code to production, I can wait. When ever you get a chance to try it out let me know, atleast with this exercise, we will
know if it is a generic MAC issue or something to do with my setup. Based on that, I can make some calls.
Cheers and thanks for all your help.
Sure, no problem, for now, as I am still have not moved the code to production, I can wait. When ever you get a chance to try it out let me know, atleast with this exercise, we will
know if it is a generic MAC issue or something to do with my setup. Based on that, I can make some calls.
Cheers and thanks for all your help.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Confirmed. The Mac does not produce all of the information that is available. Not sure why but at least you know,
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Cannot get an ip address from the guest VM
In defense of Perry I had given him incorrect info. My fault. So It may not be confirmed.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Cannot get an ip address from the guest VM
Sadly we are back to something in your code, or at least something on the host causing the issue I am afraid. Seeing Louis's enumeration is exactly like looking at mine.
I would be interested to see if you can do this on a different machine on your LAN and see if the results are the same.
Also instead of using VBoxManage startvm <guest> --type headless you might want to try VBoxHeadless -s <guest> instead. It may not make a difference but it is a lot easier to type.
I would be interested to see if you can do this on a different machine on your LAN and see if the results are the same.
Also instead of using VBoxManage startvm <guest> --type headless you might want to try VBoxHeadless -s <guest> instead. It may not make a difference but it is a lot easier to type.
Re: Cannot get an ip address from the guest VM
Hi Perry,
Sure, I will try your installing on non-MAC system but it will take me sometime and to answer your other question, yes, I had tried VBoxHeadless few times, I found both commands
to be the same from the user point of view, maybe implementation on the code side maybe different, would not matter much to me.
Sure, I will try your installing on non-MAC system but it will take me sometime and to answer your other question, yes, I had tried VBoxHeadless few times, I found both commands
to be the same from the user point of view, maybe implementation on the code side maybe different, would not matter much to me.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Cannot get an ip address from the guest VM
Maybe I missed that part in the topic here, but what is the actual VM IP, when you go check via the VM console directly?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!