Page 1 of 1
VM's not showing up in router
Posted: 26. Apr 2013, 15:04
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?
Re: VM's not showing up in router
Posted: 26. Apr 2013, 15:30
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.
Re: VM's not showing up in router
Posted: 26. Apr 2013, 16:08
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.
Re: VM's not showing up in router
Posted: 26. Apr 2013, 19:02
by noteirak
philtrev wrote:I since changed the networking to bridged
And what was it before?
Re: VM's not showing up in router
Posted: 26. Apr 2013, 19:10
by philtrev
noteirak wrote:philtrev wrote:I since changed the networking to bridged
And what was it before?
nat
Re: VM's not showing up in router
Posted: 26. Apr 2013, 19:23
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?
Re: VM's not showing up in router
Posted: 26. Apr 2013, 21:37
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.
Re: VM's not showing up in router
Posted: 26. Apr 2013, 21:41
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 :
Re: VM's not showing up in router
Posted: 27. Apr 2013, 00:56
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 :
Yes DHCP works on both vm's.
Re: VM's not showing up in router
Posted: 27. Apr 2013, 01:03
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.
Re: VM's not showing up in router
Posted: 27. Apr 2013, 01:08
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 :
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.
Re: VM's not showing up in router
Posted: 27. Apr 2013, 01:15
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.
Re: VM's not showing up in router
Posted: 27. Apr 2013, 07:06
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.
Re: VM's not showing up in router
Posted: 27. Apr 2013, 11:29
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.
Re: VM's not showing up in router
Posted: 28. Apr 2013, 08:05
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...