VM's not showing up in router

Discussions related to using VirtualBox on Windows hosts.
Post Reply
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

VM's not showing up in router

Post by philtrev »

I'm running a couple windows 2003 servers on VB and everything's working. I don't even know if it's a problem but when I look at my router (2wire) It shows that both servers at one time had connected and got a DHCP address. I since changed the networking to bridged so I can access them over my network. Now when I look at the router it shows both servers as being disconnected even though they're up and running and accessible over the network. What am I doing wrong?
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: VM's not showing up in router

Post by noteirak »

It would only be a cometic issue IMO, unless you have networking issues or you require them to show up?
If you don't, nothing to worry about really.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:It would only be a cometic issue IMO, unless you have networking issues or you require them to show up?
If you don't, nothing to worry about really.
I don't need them to show up but I don't seem to have the ability to block out certain ip addresses on the 2wire router so it's possible the router could assign the servers ip addresses to another device. If they show up on the router I can assign them a static ip address but if they show up as disconnected it won't let me assign a static address.

I suppose I could assign a really high ip address on the vm servers that 2wire would never hand out but I was wondering if maybe it's a simple vm configuration setting that's blocking them from showing up on the router.
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: VM's not showing up in router

Post by noteirak »

philtrev wrote:I since changed the networking to bridged
And what was it before?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:
philtrev wrote:I since changed the networking to bridged
And what was it before?
nat
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: VM's not showing up in router

Post by noteirak »

If you used NAT, it is not possible they showed up in your router before, so they must have appear AFTER you changed to bridge.
Are they set as static or DHCP ip address at the moment?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:If you used NAT, it is not possible they showed up in your router before, so they must have appear AFTER you changed to bridge.
Are they set as static or DHCP ip address at the moment?
Static at the moment but I tried DHCP and they did not show up in the router.
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: VM's not showing up in router

Post by noteirak »

And do they get an IP in your LAN subnet if you enable DHCP? If you are not sure, enable DHCP, wait 10 sec. Post the output of the following on your VMs and your host :

Code: Select all

ipconfig /all
route print
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:And do they get an IP in your LAN subnet if you enable DHCP? If you are not sure, enable DHCP, wait 10 sec. Post the output of the following on your VMs and your host :

Code: Select all

ipconfig /all
route print
Yes DHCP works on both vm's.
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: VM's not showing up in router

Post by noteirak »

Then two possible issues :
1. Your router's firmware is bugged and does not properly show IP leases.
2. You get your IPs from another DHCP somewhere.

In any case, this is not a Virtualbox issue I am afraid, so not much can be done here.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:And do they get an IP in your LAN subnet if you enable DHCP? If you are not sure, enable DHCP, wait 10 sec. Post the output of the following on your VMs and your host :

Code: Select all

ipconfig /all
route print
Actually I noticed something interesting. When I enable DHCP it shows up on the router as connected. Then about a minute later it shows as disconnected even though it's not. When it's connected I set it to static ip but errors out when I try to save the configuration. So either it's dropping off the router faster than I can change and save the configuration or it's a router problem. I'm certain it's not the router because all my other devices and computers show up and work. It's only the vm servers that don't show up.
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:Then two possible issues :
1. Your router's firmware is bugged and does not properly show IP leases.
2. You get your IPs from another DHCP somewhere.

In any case, this is not a Virtualbox issue I am afraid, so not much can be done here.
The router shows both iphones, ipad, macbook, wireless printer, and 2 pc's. I can change the ip lease on all those devices with no problem. When I turn off and on any other device I can watch it disconnect and reconnect when turned on. The only thing that doesn't work are the 2 vm servers. Well they work but don't show up on the router longer than a minute if I use DHCP on them.

No, the only thing handing out DHCP is my router. I don't have DHCP turned on on either server.
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: VM's not showing up in router

Post by noteirak »

The next step would be packet sniffing and analyze of the traffic. If it is indeed a Virtualbox issue, then that's the only way to show it. But for now, we can only assume a faulty router firmware.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
philtrev
Posts: 12
Joined: 20. Apr 2013, 19:54

Re: VM's not showing up in router

Post by philtrev »

noteirak wrote:The next step would be packet sniffing and analyze of the traffic. If it is indeed a Virtualbox issue, then that's the only way to show it. But for now, we can only assume a faulty router firmware.
If I have 6 devices which all work and show up in the router and the only thing not showing up are the vb's, how is that faulty router firmware? They clearly show up when I enable DHCP then drop off. If it were faulty firmware they wouldn't show up at all and I would be having issues with my other devices which I'm not. There is an issue with the way vb communicates with 2wire.

I would be more than happy to help you identify the problem. Tell me what you want me to do and I'll send you the results.
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: VM's not showing up in router

Post by noteirak »

First of all, VBox does not communicate in anyway with your router. It only presents hardware to the guest OS. Then the guest OS communicates with the rest of your network.
Also, nobody reported anything of the sort, that I am aware of. So this is limited to you at the moment., hence my strong suspicions for nothing related to Virtualbox, but rather your network config or your Guest OS config.

For packet sniffing, use Wireshark in the guest and see what DHCP packets are being transmited. They should be a DHCP_RELEASE one if it's doing what you say it's doing. But network troubleshooting at this level is way out of scope of this forum...
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply