08-19-2015 10:14 AM - edited 03-11-2019 11:27 PM
Hello all. I have a few VM's that aren't getting internet access and some of them are. Is there a rule that is needed in the firewall that allows internet connection for VM's?
08-19-2015 11:06 AM
What type of device (ISR, ASA, etc) is this? Have you done a packet capture to see if DNS replies aren't coming in response to the queries? What makes you think the firewall is the issue, or DNS for that matter?
08-19-2015 11:08 AM
I am not sure. I have done this configuration for DNS and IP address many times and I never had issues. I have some VM's working with internet and some aren't. I have done some work in the firewall but I can't say why half of internet and half don't.
We are using an ASA.
I haven't done any packet capturing
08-19-2015 11:51 AM
Let's start with some basic troubleshooting, if you know you block ICMP somewhere then this may not be accurate, but I would say this is rare in a proper network.
08-19-2015 11:55 AM
VM can Ping itself
VM can ping gateway
VM cannot ping 8.8.8.8 / 8.8.4.4 and any other DNS servers
VM cannot ping google.com
Thank for following up Anthony.
08-19-2015 11:58 AM
Sounds like more problems than just DNS not working.
Are all of these machines in the same subnet using the same gateway?
08-19-2015 12:00 PM
Correct. VM's are using 10.100.0.* internal on 255.255.255.0 subnet.
08-19-2015 12:17 PM
Check that you have a default route on the VMs to the gateway, "route print" on windows, "route -n" on linux. Probably unlikely but also make sure that VM firewalls aren't causing issues.
After looking at the above it's more than likely time to look at your ASA. Check your NAT config, check that there aren't ACLs outbound or inbound blocking traffic based on host.
I'm pretty light on ASA experience myself, but I'm sure there is config that defines what IPs are NATd, and I know there will be the ability to have ACLs in various places.
08-20-2015 06:55 AM
Anthony, would this happen to be because the DNS LOOKUP is disabled on my interface?
08-20-2015 07:39 AM
No I don't think so. To me it looks like internet destinations in general are unreachable.
Try doing a trace route from one of the VMs and see where it fails, I would suspect at the default gateway, again this generally relies on ICMP (or UDP for Linux).
08-20-2015 09:11 AM
3 | Aug 20 2015 | 12:10:55 | 331001 | Dynamic DNS Update for 'WIN-RLDT21C5G8V.' <=> 10.100.0.151 failed |
Where is that rule in the firewall? Or how do I add it?
08-20-2015 10:50 AM
That looks to be DDNS updates for internal clients, I'm guessing the ASA is also your DHCP server?
Clients generally try and update their DNS entry if configured to do so, this is so you know xyx.hostname resolves to it's current IP address received from DHCP. While this is somewhat important, it's unlikely to be related to your current issue as mentioned in this thread.
To fix this issue you would have to do some debugging to find out why the dynamic update is failing on the ASA.
08-19-2015 12:19 PM
Ok well that gives me some work to do.
Thank you!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide