Ask Your Question
1

Provider Network IP Not reachable on Router

asked 2017-01-31 11:35:31 -0500

Sumit Kumar gravatar image

Hi,

I have configured Openstack on 2 VM. The first VM contains the Controller and Network components where as the second VM contains the compute note. I have followed step to step guide to install opnestack on centos 7 from the Openstack site. The issue is I am able to create networks/routers/instances but bot able to ping the external IP of the router, where as I am able to ping the internal IP of the router from the instances.

Controller: 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN 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 2: eno16777736: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:90:fe:2b brd ff:ff:ff:ff:ff:ff inet 172.25.3.131/24 brd 172.25.3.255 scope global eno16777736 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe90:fe2b/64 scope link valid_lft forever preferred_lft forever 3: eno33554960: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 00:0c:29:90:fe:35 brd ff:ff:ff:ff:ff:ff 6: tap0913edb7-36@if2: <broadcast,multicast,up,lower_up> mtu 1450 qdisc pfifo_fast master brq9cce9342-99 state UP qlen 1000 link/ether 7a:a6:31:26:6f:e2 brd ff:ff:ff:ff:ff:ff link-netnsid 1 7: vxlan-94: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue master brq9cce9342-99 state UNKNOWN link/ether fa:62:df:5c:00:75 brd ff:ff:ff:ff:ff:ff 8: brq9cce9342-99: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue state UP link/ether 02:0e:31:83:6a:b3 brd ff:ff:ff:ff:ff:ff 12: tapf0390fb0-e0@if2: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 3a:d1:10:58:9b:a5 brd ff:ff:ff:ff:ff:ff link-netnsid 0 13: brq7e572d3c-2c: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether 00:0c:29:90:fe:35 brd ff:ff:ff:ff:ff:ff 14: tapc3dfd199-54@if2: <broadcast,multicast,up,lower_up> mtu 1450 qdisc pfifo_fast master brq9cce9342-99 state UP qlen 1000 link/ether 02:0e:31:83:6a:b3 brd ff:ff:ff:ff:ff:ff link-netnsid 2 15: tapc5cf1d21-4c@if3: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 12:4b:b1:15:69:1e brd ff:ff:ff:ff:ff:ff link-netnsid 2

[root@controller ~]# neutron router-port-list router +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+ | c3dfd199-5476-49e1-a345-a3d8fe25448f | | fa:16:3e:3e:37:53 | {"subnet_id": "4ce46c2f-cbd7-4617-8b6c-ce100dccd8ee", "ip_address": "192.168.10.1"} | | c5cf1d21-4c2d-41b3-a48c-d3e046ecc2ff | | fa:16:3e:57:b8:d8 | {"subnet_id": "d5ad636a-3ed6-4fd4-922c-8ce394daccc6", "ip_address": "172.25.3.210"} | +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+

[root@controller ~]# ip netns qrouter-0f0efb3b-338c-49b4-9990-9891d88d90e7 (id: 2) qdhcp-7e572d3c-2c72-48df-83ec-ae94b70bb779 (id: 0) qdhcp-9cce9342-993b-418a-a232-cbe92c91971b (id: 1)

[root@controller ~]# neutron net-show provider +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-02-01 00:18:38 -0500

Vinoth gravatar image

1) Check the bridge mappings using the command ovs-vsctl show or brctl show

2) Check the IP configuration of router using the command " ip netns exec qrouter-0f0efb3b-338c-49b4-9990-9891d88d90e7 ifconfig "

3) Then verify the packet flow using "tcpdump" tool by examining all the required physical NIC and IP netns.


Regards,

Vinoth kumar selvaraj

edit flag offensive delete link more

Comments

agreed with Vinoth. Also I feels that, here your compute and controler/network are in different network, make sure are u able to reach internally this VM's (called external IP in your case) if works then router created to map instance will be able to communicate if bridge is done crct

Maestropandy gravatar imageMaestropandy ( 2017-02-01 01:57:40 -0500 )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

1 follower

Stats

Asked: 2017-01-31 11:35:31 -0500

Seen: 148 times

Last updated: Feb 01 '17