Can't access guests from non-host computers on LAN
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Can't access guests from non-host computers on LAN
I have a Windows 7 Host running a few guests on Bridged mode. Each of these guests can access the internet and ping every other box on my network, but no other boxes can access or ping any of my VMs. My router won't assign any of them IP addresses with DHCP so I have them all configured with static addresses (192.168.200.200 with gateway 192.168.200.1 (my router)).
On one of my VMs (CentOS) I have an apache server running that I use for web development and I want to share that to my LAN. I followed the general steps to allow this, but I can't access it from my entire LAN. I can access the site from all of my VMs and my host, but nothing else.
I will post any other requested information.
Thanks!
Edit: I can access the website on my Apache server from my windows 7 host.
On one of my VMs (CentOS) I have an apache server running that I use for web development and I want to share that to my LAN. I followed the general steps to allow this, but I can't access it from my entire LAN. I can access the site from all of my VMs and my host, but nothing else.
I will post any other requested information.
Thanks!
Edit: I can access the website on my Apache server from my windows 7 host.
Last edited by macman4400 on 11. May 2012, 03:37, edited 2 times in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guest apache from LAN
Each guest should have a different IP address.I have them all configured with static addresses (192.168.200.200 with gateway 192.168.200.1 (my router)).
Sounds like you have a firewall issue or Virus software that is filtering the access.
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Re: Can't access guest apache from LAN
Yes, their IPs are 192.168.200.200, .200.201, ..., .200.205.
I completely shut off my Win7 antivirus and firewall and it still didn't work.
Keep in mind each of these VMs has full access to the internet, each other, and my host.
I completely shut off my Win7 antivirus and firewall and it still didn't work.
Keep in mind each of these VMs has full access to the internet, each other, and my host.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
Still in Bridged mode they all appear to be just another PC on the LAN. If the others can not access them & there is no filtering going on then it must in in the router.
Are they all in the same subnet as the other PCs?
Are they all in the same subnet as the other PCs?
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Re: Can't access guests from non-host computers on LAN
Yes. Everything on the router is in 255.255.255.0.
I just ran nmap on my other computer and found everything I have hooked up except my VMs.
Edit: I can access the website on my Apache server from my windows 7 host.
I just ran nmap on my other computer and found everything I have hooked up except my VMs.
Edit: I can access the website on my Apache server from my windows 7 host.
Last edited by macman4400 on 11. May 2012, 03:37, edited 1 time in total.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Can't access guests from non-host computers on LAN
I can't think of any reason why that would happen. As far as the networking software is concerned there is no difference between the host and any other machine on the LAN. Could you attach the ifconfig of your Apache server and that of a LAN machine which cannot reach the server?
Bill
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
Post the results of ifconfig -a or ipconfig /all if windows from one of the guests as well as the following:
From the host command window VBoxManage list bridgedifs
Note: you will need to be in the folder that has VBoxManage.exe on a Windows host if you have not set up an environmental variable (path statement) for VirtualBox.
From the host command window VBoxManage list bridgedifs
Note: you will need to be in the folder that has VBoxManage.exe on a Windows host if you have not set up an environmental variable (path statement) for VirtualBox.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
Sorry Bill, Didn't see your post. I will leave it to you.
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Re: Can't access guests from non-host computers on LAN
Here are my configs:
My Win7 Host can ping and access my VMs. My VMs can ping and access my Win7 Host.
My VMs can ping any computer on my network, but none of them can ping my VMs. My VMs can log into the router, access the internet, etc. My host can see the websites running on my VMs.
Win7 Host
Linux Guest - Gateway is 192.168.200.1
Another computer on LAN that can't access my VMs
Edit: I don't have that installed on my host.
C:\Users\M>VBoxManage list bridgedifs
'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.
My Win7 Host can ping and access my VMs. My VMs can ping and access my Win7 Host.
My VMs can ping any computer on my network, but none of them can ping my VMs. My VMs can log into the router, access the internet, etc. My host can see the websites running on my VMs.
Win7 Host
Code: Select all
Ethernet adapter Network Bridge:
Connection-specific DNS Suffix . : home
IPv4 Address. . . . . . . . . . . : 192.168.200.25
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.200.1
Code: Select all
[root@sauron /]# ifconfig
p2p1 Link encap:Ethernet HWaddr 08:00:27:58:E1:6E
inet addr:192.168.200.201 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe58:e16e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54008 errors:0 dropped:0 overruns:0 frame:0
TX packets:53792 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:65981059 (62.9 MiB) TX bytes:4612222 (4.3 MiB)
[root@sauron /]#
Code: Select all
Ethernet adapter Network Bridge:
Connection-specific DNS Suffix . : home
IPv4 Address. . . . . . . . . . . : 192.168.200.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.200.1
C:\Users\M>VBoxManage list bridgedifs
'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
Look in c:\program files\Oracle something.... That is where all of the VirtualBox files should be.
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Re: Can't access guests from non-host computers on LAN
Thank you for the pointer. Here it is:
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage list bridgedifs
Name: MAC Bridge Miniport
GUID: 0ccfecf9-fa85-40b8-88f2-664729268f52
Dhcp: Enabled
IPAddress: 192.168.200.25
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:0947:c06a:5d84:0b8e
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:d4:f2
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-MAC Bridge Miniport
Name: Intel(R) 82579V Gigabit Network Connection
GUID: 1d582f29-8098-40d0-a91f-1e391bf0e3eb
Dhcp: Enabled
IPAddress: 0.0.0.0
NetworkMask: 0.0.0.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 00:00:00:00:00:00
MediumType: Unknown
Status: Unknown
VBoxNetworkName: HostInterfaceNetworking-Intel(R) 82579V Gigabit Network Connect
ion
Name: Belkin USB Wireless Adaptor
GUID: 3c1a63a5-5608-469c-b6c3-5f42b7287335
Dhcp: Enabled
IPAddress: 0.0.0.0
NetworkMask: 0.0.0.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 00:00:00:00:00:00
MediumType: Unknown
Status: Unknown
VBoxNetworkName: HostInterfaceNetworking-Belkin USB Wireless Adaptor
Name: Microsoft Virtual WiFi Miniport Adapter
GUID: 4a18fce8-5e5f-4238-ae2c-0479dbedc434
Dhcp: Enabled
IPAddress: 169.254.29.116
NetworkMask: 15.0.0.0
IPV6Address: fe80:0000:0000:0000:3158:15f8:7496:1d74
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 94:44:52:75:d8:dc
MediumType: Ethernet
Status: Down
VBoxNetworkName: HostInterfaceNetworking-Microsoft Virtual WiFi Miniport Adapter
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 24cbd61d-6597-4958-813a-6c7b547c3711
Dhcp: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:0d88:ebc0:a210:4b70
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 08:00:27:00:d4:f2
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
The only common thing that I see so far is the router. Can you post an ifconfig or ipconfig from one of the other LAN clients? Other than that you would need something like wireshark to see what or where it is being filtered/stopped.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
Are you using a tunnel? Any VPN software running?
-
macman4400
- Posts: 10
- Joined: 11. May 2012, 03:09
Re: Can't access guests from non-host computers on LAN
What else can I do at this point? In the past I have run Apache servers on computers on my network without virtualization and they worked.macman4400 wrote: Another computer on LAN that can't access my VMsCode: Select all
Ethernet adapter Network Bridge: Connection-specific DNS Suffix . : home IPv4 Address. . . . . . . . . . . : 192.168.200.30 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.200.1
Edit: No tunnel or VPN on my Host or Guests.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't access guests from non-host computers on LAN
I don't know. Everything checks out so for so it must be something that I can not work on remotely. I would look at the router since it is the single point of access or use wireshark to find out why and where the path is stopping.