LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-13-2017, 05:36 AM   #1
chtsalid
Member
 
Registered: Jan 2017
Posts: 69

Rep: Reputation: Disabled
instance cannot access internet


Hi all,

in centos7 I run openstack pike with two nodes

node1 - 192.168.178.100 (controller,network)
node2 - 192.168.178.101 (compute)

[root@openstack ~(keystone_admin)]# nova list
+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+
| a470d85b-4755-41e0-a4a1-f25fd459f498 | instance1 | ACTIVE | - | Running | private=10.0.0.5, 192.168.178.140 |
+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+


ping from qrouter to instance works


[root@openstack ~(keystone_admin)]# ip netns exec qrouter-67894085-691c-4bbd-8bb2-837830412062 ping 192.168.178.140
PING 192.168.178.140 (192.168.178.140) 56(84) bytes of data.
64 bytes from 192.168.178.140: icmp_seq=1 ttl=64 time=7.64 ms
64 bytes from 192.168.178.140: icmp_seq=2 ttl=64 time=0.671 ms
64 bytes from 192.168.178.140: icmp_seq=3 ttl=64 time=0.807 ms


but ping from node to instance doesn't.


[root@openstack ~(keystone_admin)]# ping 192.168.178.140
PING 192.168.178.140 (192.168.178.140) 56(84) bytes of data.
From 192.168.178.100 icmp_seq=1 Destination Host Unreachable
From 192.168.178.100 icmp_seq=2 Destination Host Unreachable
From 192.168.178.100 icmp_seq=3 Destination Host Unreachable
From 192.168.178.100 icmp_seq=4 Destination Host Unreachable


arp is incomplete


[root@openstack ~(keystone_admin)]# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.178.50 ether 30:52:cb:84:b3:d9 C eno16777728
192.168.178.140 (incomplete) eno16777728
192.168.178.101 ether 00:0c:29:0e:45:79 C eno16777728
192.168.178.1 ether 08:96:d7:41:bf:18 C eno16777728


Any idea why this is happening?

Many thanks!
 
Old 12-14-2017, 08:56 AM   #2
chtsalid
Member
 
Registered: Jan 2017
Posts: 69

Original Poster
Rep: Reputation: Disabled
Hi,

probled is resolved. I had configured my external network with provider_type vlan, but my physical router uses flat network.
Therefore it could not work. After I configured my external network as flat. It works now!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Access virsh instance without ssh jberiksen Linux - Virtualization and Cloud 1 08-29-2014 12:48 AM
LXer: HowTo access metadata from RDO Havana Instance on Fedora 20 LXer Syndicated Linux News 0 04-06-2014 10:51 AM
Webmin Install on Amazon Ec2 Instance Unable to access from browser Hodgiers Linux - Software 3 12-06-2013 09:19 AM
SSH access to Juju EC2 ubuntu instance Thaidog Ubuntu 0 10-28-2012 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration