Page 1 of 1

Networking configuration problem

Posted: 15. May 2013, 14:55
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

Re: Networking configuration problem

Posted: 15. May 2013, 16:12
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.

Re: Networking configuration problem

Posted: 16. May 2013, 04:33
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).

Re: Networking configuration problem

Posted: 16. May 2013, 16:09
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

Re: Networking configuration problem

Posted: 16. May 2013, 16:15
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

Re: Networking configuration problem

Posted: 16. May 2013, 17:47
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

Re: Networking configuration problem

Posted: 16. May 2013, 19:53
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