Page 1 of 1
[Resolved] No connection between two guest in NAT network
Posted: 23. Oct 2019, 17:28
by tnagdn
Right now I have:
- Windows Server 2003 as DHCP Server (Static Address)
- IP: 10.0.2.10/24
- Netmask: 10.0.2.1
- Two Windows XP machines with dynamic addresses
The three machines inside a nat network with the following configuration
- 10.0.2.0/14
- Supported DHCP
Now, the clients are taking the desired addresses, but the problem is:
- Server can't ping the clients
- Clients can't ping between themselves
- Client can only ping the server
What am I doing wrong? Why can't the clients communicate?
Re: No connection between two guest in NAT network
Posted: 23. Oct 2019, 17:59
by Martin
Do have connected your guests to a new "NAT network" you have created for that purpose or are they just connected to "NAT"?
Re: No connection between two guest in NAT network
Posted: 23. Oct 2019, 18:05
by tnagdn
Hello Martin. All the machines are inside a "NAT Network", not simply "NAT"
Re: No connection between two guest in NAT network
Posted: 24. Oct 2019, 07:42
by socratis
tnagdn wrote:Windows Server 2003 as DHCP Server (Static Address)
Why do you have two DHCP servers, one the NATservice and one your Win2003? There
can will be a conflict there.
Are you trying by any chance to create an Active Directory? If so, that's a whole different setup and you will need (AFAIK) to have the Win2003 DHCP server active.
As far as pinging goes, make sure that the firewalls are down, or that at least the ICMP part is allowed.
Please post the output of the command:
And the DHCP settings for the Win2003 DHCP server.
Re: No connection between two guest in NAT network
Posted: 24. Oct 2019, 16:02
by tnagdn
Hello socratis. Yeah I misunderstood the way VBOX DHCP works, already fixed it. So when I set up a DHCP server, I have to disable the DHCP support on VBOX?
Code: Select all
vboxmanage list natnets
NetworkName: NatNetwork
IP: 10.0.2.1
Network: 10.0.2.0/24
IPv6 Enabled: No
IPv6 Prefix: fd17:625c:f037:2::/64
DHCP Enabled: No
Enabled: Yes
loopback mappings (ipv4)
127.0.0.1=2
No I'm not trying to build an Active Directory, just want to create an internal NAT network with DHCP, FTP and DNS functions
Now it seems to work right after disabling the firewall, no idea why when in the past it worked right without disabling it
Thank you for your help!
Re: No connection between two guest in NAT network
Posted: 25. Oct 2019, 10:52
by socratis
tnagdn wrote:So when I set up a DHCP server, I have to disable the DHCP support on VBOX?
Yes, otherwise I don't know which DHCP server will be the one to give an IP to the other guests.
tnagdn wrote:Now it seems to work right after disabling the firewall, no idea why when in the past it worked right without disabling it
I'm pretty sure that the default behavior these days is to prevent 'ping' from replying, for security reasons. Security through obfuscation...
Marking as [Resolved].