Ask Your Question
0

instance cannot access internet

asked 2017-11-14 05:57:10 -0600

chtsalid gravatar image

updated 2017-11-14 06:01:08 -0600

Hi all,

I am running pike in centos7 and the fedora instance that I have create cannot access internet. Here are some logs.

nova list

+--------------------------------------+-----------+--------+------------+-------------+----------------------------+

| ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------+--------+------------+-------------+----------------------------+

neutron net-show 405275df-5828-44ea-b6bb-c013929e8270

neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.

+---------------------------+--------------------------------------+

| Field | Value | +---------------------------+--------------------------------------+

| admin_state_up | True |

| availability_zone_hints | |

| availability_zones | nova |

| created_at | 2017-11-13T16:36:45Z |

| description | |

| id | 405275df-5828-44ea-b6bb-c013929e8270 |

| ipv4_address_scope | |

| ipv6_address_scope | |

| mtu | 1450 |

| name | int |

| port_security_enabled | True |

| project_id | 66a02dd6ffd544b5a3cbc9d2844cca8e |

| provider:network_type | vxlan |

| provider:physical_network | |

| provider:segmentation_id | 32 |

| revision_number | 3 |

| router:external | False |

| shared | False |

| status | ACTIVE |

| subnets | b1b9920d-d640-43a4-9fc7-a148015dc36e |

| tags | |

| tenant_id | 66a02dd6ffd544b5a3cbc9d2844cca8e |

| updated_at | 2017-11-13T16:36:46Z |

+---------------------------+--------------------------------------+

| 1261aa9a-413d-47c1-84a9-f96d4b512d54 | instance1 | ACTIVE | - | Running | int=10.0.0.8, 10.0.100.100 |

+--------------------------------------+-----------+--------+------------+-------------+----------------------------+

neutron net-show a709f90b-9f9c-4963-badc-b0f588188a08

neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.

+---------------------------+--------------------------------------+

| Field | Value |

+---------------------------+--------------------------------------+

| admin_state_up | True |

| availability_zone_hints | |

| availability_zones | nova |

| created_at | 2017-11-13T20:14:57Z |

| description | |

| id | a709f90b-9f9c-4963-badc-b0f588188a08 |

| ipv4_address_scope | |

| ipv6_address_scope | |

| is_default | False |

| mtu | 1450 |

| name | ext |

| port_security_enabled | True |

| project_id | 66a02dd6ffd544b5a3cbc9d2844cca8e |

| provider:network_type | vxlan |

| provider:physical_network | |

| provider:segmentation_id | 15 |

| revision_number | 6 |

| router:external | True |

| shared | False |

| status | ACTIVE |

| subnets | 714dc6f1-b50c-4ec5-91ef-51903214cd88 |

| tags | |

| tenant_id | 66a02dd6ffd544b5a3cbc9d2844cca8e |

| updated_at | 2017-11-13T20:15:21Z |

+---------------------------+--------------------------------------+

ip netns exec qrouter-23b2109e-fa2e-422f-b359-2c1858d7bda3 ssh -i key1 fedora@10.0.100.100

Last login: Tue Nov 14 11:35:31 2017 from 10.0.100.101

[fedora@instance1 ~]$ exit

logout

Connection to 10.0.100.100 closed.

ip netns exec qrouter-23b2109e-fa2e-422f-b359-2c1858d7bda3 ip a

1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever

11: qr-813d7579-0c: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue state UNKNOWN qlen 1000 link/ether fa:16:3e:fb:f5:3f brd ff:ff:ff:ff:ff:ff inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-813d7579-0c valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fefb:f53f/64 scope link valid_lft forever preferred_lft forever

12: qg-26b0144c-44: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue state UNKNOWN qlen 1000 link/ether fa:16:3e:82:6c:fc brd ff:ff:ff:ff:ff:ff inet 10.0.100.101/24 brd 10.0.100.255 scope global qg-26b0144c-44 valid_lft forever preferred_lft forever inet 10.0.100.100/32 brd 10.0.100.100 scope global qg-26b0144c-44 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe82:6cfc/64 scope link valid_lft forever preferred_lft forever

ip netns exec qrouter-23b2109e-fa2e-422f-b359-2c1858d7bda3 ssh -i key1 fedora@10.0.100.100

Last login: Tue Nov 14 11:50:41 2017 from 10.0.100.101

[fedora@instance1 ~]$

ping 10.0.0.1

PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.

64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=2.85 ms

64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.854 ms

ping 10.0.100.100

PING 10.0 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-11-14 07:32:23 -0600

chtsalid gravatar image

I am getting the following 14:25:42.588045 ARP, Request who-has 10.0.100.2 tell 10.0.100.101, length 28 10.0.100.2 is my gateway address of ext subnet.

edit flag offensive delete link more

Comments

how do you access your provider network (vlan/vlan/vxlan/etc) ?

timi gravatar imagetimi ( 2017-11-20 07:26:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-11-14 05:57:10 -0600

Seen: 13 times

Last updated: Nov 14