Also forgot to specify my VM external address is 10.7.7.105. The external 
network CIDR is 10.7.0.0/16 gateway is 10.7.0.1.





On Tuesday, October 14, 2014 3:40 PM, Amit Anand <mr_amitan...@yahoo.com> wrote:
 


Hi James,

Thanks for the response! Yeah Ive tried that no luck. My resolv.conf on a VM  
(192.168.1.5) is as follows:

nameserver 192.168.1.3 
nameserver 10.7.0.1
search openstacklocal

The first is the  demo-subnet dhcp address.
The second is the outside network gateway/dns address.

Neither work. Whenever I try anything this what I get:

 dig domain.com @8.8.8.8

; <<>> DiG 9.9.5-3-Ubuntu <<>> domain.com @8.8.8.8
;; global options: +cmd
;; connection timed out; no servers could be reached


Weirdly, when I try to do an nslookup from the VM and then tcpdump on port 53, 
on the network node qrouter namespace I see no requests, but I do see requests 
on the compute node:

15:37:36.150955 IP (tos 0x0, ttl 64, id 64629, offset 0, flags [none], proto 
UDP (17), length 67)
    192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)
15:37:41.151060 IP (tos 0x0, ttl 64, id 64630, offset 0, flags [none], proto 
UDP (17), length 67)
    192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)
15:37:46.151166 IP (tos 0x0, ttl 64, id 64631, offset 0, flags [none], proto 
UDP (17), length 67)
    192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)


Also I can do an nslookup from the namespace itself and works no problem:


ip netns exec qrouter-d9b5f02b-48c5-44a1-bc4b-7ba0336ee201 nslookup 
www.google.com
Server:         10.7.0.1
Address:        10.7.0.1#53

Non-authoritative answer:
Name:   www.google.com
Address: 74.125.225.148
Name:   www.google.com
Address: 74.125.225.146
...etc....






On Tuesday, October 14, 2014 3:05 PM, James Denton <james.den...@rackspace.com> 
wrote:
 


Hi Amit,

Have you tried specifying a name server with dig? Ie. dig domain.com @8.8.8.8 
<—google DNS

Have you confirmed your instances have a resolver configured in 
/etc/resolv.conf? This usually occurs via DHCP.

James

From: Amit Anand <mr_amitan...@yahoo.com>
Reply-To: Amit Anand <mr_amitan...@yahoo.com>
Date: Tuesday, October 14, 2014 at 11:59 AM
To: "openstack@lists.openstack.org" <openstack@lists.openstack.org>
Subject: [Openstack] Name Resolution problem (ICEHOUSE)


Hi all,

So I have a DNS (or at least it seems to be only DNS) problem with the VM's I 
have created. I cannot resolve anything from within the VM's. I can ping 
outside by IP (ie, I can ping google,etc but only by IP) but cannot do a dig, 
curl, nslookup, etc by name. I have no clue why this is happening and Ive tried 
some of the solutions other have recommended at Ask Openstack but to no avail. 
I was hoping someone here maybe able to point me in the right direction. I have 
also posted the question at Ask, all the node stack details are here:

No internet access from VM - Ask OpenStack: Q&A Site for OpenStack Users and 
Developers

  
          
No internet access from VM - Ask OpenStack: Q&A Site for OpenStack Users and 
Developers 
Hi all, So I cant seem to access the internet from my VMs. I can access the 
floating IPs from anywhere in our network and from all nodes now 
(controller/network/compute) just fine (but strangely I cannot access the 
private ips, the tenant network from any of the nodes?!) but cant ...  
View on ask.openstack.org Preview by Yahoo  
  


Thanks in advance for any help!

Amit
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to