Networking configuration problem

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pappin
Posts: 5
Joined: 15. May 2013, 12:51

Networking configuration problem

Post by pappin »

Hello everyone,

I am trying to test a small network inside Virtualbox (4.2.12 r84980)

I have installed VirtualBox on a windows 7 (sp1) laptop with wireless internet access via a Broadcom 4322AG 802.11

a/b/g Wi-Fi adapter and Wireless Modem/Router with ip 192.168.0.1.

I have set up 2 windows 2003 servers (sp1) and a windows xp (sp3) client in VirtualBox

============================
2003 Server 1

Domain controller DNS & DHCP server

1 network adapter

NETWORK ADAPTER SETTINGS
Internal Network
intnet
Promiscuous Mode - Allow VMs
Static ip 192.168.1.1
Mask 255.255.255.0
Gateway 192.168.1.2

============================
2003 Server 2

2 network adapters

NETWORK ADAPTER 1 SETTINGS
Internal Network
intnet
Promiscuous Mode - Allow VMs
Static ip 192.168.1.2
Mask 255.255.255.0
Gateway 192.168.0.150

NETWORK ADAPTER 2 SETTINGS
Bridged Adapter
Broadcom 4322AG 802.11 a/b/g Wi-Fi adapter
Promiscuous Mode - Allow All
Static ip 192.168.0.150
Mask 255.255.255.0
Gateway 192.168.0.1 -- modem/router

============================

I can ping all the virtual machines on the internal network from each other.

I can ping the modem/router (192.168.0.1) from 2003 Server 2 and I have internet access from 2003 Server 2.

I can ping the second adapter on 2003 Server 2 (192.168.0.150) from any of the virtual machines.

I can't get internet access or ping the modem/router (192.168.0.1) from any of the other virtual machines on the

network.

Can anyone advise me what I have done wrong.

Thanks very much

Pappin
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: Networking configuration problem

Post by noteirak »

Please try the same setup but connecting with cabled connection, not with Wifi.

If it still doesn't work :
Run the following on your host for each VM name :

Code: Select all

vboxmanage showvminfo VmNameHere --details
and on the host and in each VM :

Code: Select all

ipconfig /all
route print
arp -a
Also include the ping you talk about in your post.

Attach as a zip file the complete outputs.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
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: Networking configuration problem

Post by BillG »

Have you configured RRAS/NAT on the second server to route domain traffic to the Internet? Have you modified the DNS server on the DC to forward to a public DNS service so that it can resolve foreign URLs for domain users? (The domain users should use the local DNS only).
Bill
pappin
Posts: 5
Joined: 15. May 2013, 12:51

Re: Networking configuration problem

Post by pappin »

noteirak wrote:Please try the same setup but connecting with cabled connection, not with Wifi.

If it still doesn't work :
Run the following on your host for each VM name :

Code: Select all

vboxmanage showvminfo VmNameHere --details
and on the host and in each VM :

Code: Select all

ipconfig /all
route print
arp -a
Also include the ping you talk about in your post.

Attach as a zip file the complete outputs.
Hello and thanks for the reply,

Tried the cable connection without success.

I have uploaded the zip file

Thanks again for your help,

pappin
Attachments
VB-config.zip
(5.21 KiB) Downloaded 10 times
pappin
Posts: 5
Joined: 15. May 2013, 12:51

Re: Networking configuration problem

Post by pappin »

Hello noteirak,

Just realised after I posted my last that I changed the static ip address of the second adapter in windows server 2 to 192.168.0.151. It was 192.168.0.150 in my original post.

Thanks,

pappin
pappin
Posts: 5
Joined: 15. May 2013, 12:51

Re: Networking configuration problem

Post by pappin »

BillG wrote:Have you configured RRAS/NAT on the second server to route domain traffic to the Internet? Have you modified the DNS server on the DC to forward to a public DNS service so that it can resolve foreign URLs for domain users? (The domain users should use the local DNS only).
Hello BillG,

Thanks for your reply.

I had already configured the DNS server.

At the moment I am just trying to ping my modem/router from within the virtualbox network

As I said in my first post I can ping the modem/router Gateway 192.168.0.1 and external public ip addresses from server 2 but not from any of the other virtual servers or workstations.

Thanks

Pappin
pappin
Posts: 5
Joined: 15. May 2013, 12:51

Re: Networking configuration problem

Post by pappin »

BillG wrote:Have you configured RRAS/NAT on the second server to route domain traffic to the Internet? Have you modified the DNS server on the DC to forward to a public DNS service so that it can resolve foreign URLs for domain users? (The domain users should use the local DNS only).

Hello again BillG,

You were right - I hadn't configured RRAS/NAT correctly. - Could kick myself !!

Thanks very much for your post

pappin
Post Reply