<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Forgot to add, I can ping the router ip: 10.48.146.113 but not the instance IP; 10.48.146.115 ?</div>
<div><br>
</div>
<div>
<div>[root@lspal117 ~(keystone_admin)]# ping 10.48.146.113</div>
<div>PING 10.48.146.113 (10.48.146.113) 56(84) bytes of data.</div>
<div>64 bytes from 10.48.146.113: icmp_seq=1 ttl=64 time=0.951 ms</div>
<div>64 bytes from 10.48.146.113: icmp_seq=2 ttl=64 time=0.023 ms</div>
</div>
<div><br>
</div>
<div>Also I cannot associate the floating IP to instance as there is no port available.</div>
<div><br>
</div>
<div><img src="cid:B1C70DA2-C38D-480D-BB8E-C09DCC0E16C9" type="image/png"></div>
<div>
<div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Best Regards,</span><span style="font-size: 10.5pt;"><o:p></o:p></span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt;"> </span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Rushi.</span><span style="font-size: 10.5pt;"><o:p></o:p></span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(255, 102, 0);">Success is not a matter of being the best & winning the race. Success is a matter of handling the worst & finishing the race </span></p>
</div>
</div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><br>
</font></font></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><Ns>, SAP SAP <<a href="mailto:rushi.ns@sap.com">rushi.ns@sap.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, January 9, 2015 at 3:20 PM<br>
<span style="font-weight:bold">To: </span>Marius Cornea <<a href="mailto:marius@remote-lab.net">marius@remote-lab.net</a>>, rdo-list <<a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Rdo-list] networking issues on JUNO redhead openstack.<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Hi Marius,</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
I did this first and now can see the BR-ex is the same IP as my eno1 interface , you are right I lost first while doing the first command(ip addr del 10.48.146.77/24 dev eno1) and then conneting to console I did the second comand (ovs-vsctl add-port br-ex eno1
and also changed the IP address of br-ex to 10.48.146.77) </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 0);"> ip addr del <a href="http://10.48.146.77/24">10.48.146.77/24</a> dev eno1; ovs-vsctl add-port br-ex eno1</span></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Then after I removed all the routers, networks and interfaces from openstack and ran the following 4 commands. </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
1) source /root/keystonerc_admin</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>2) neutron net-create public --router:external=True</div>
<div>3) neutron subnet-create public 10.48.146.0/24 --name vlan --enable_dhcp=False --allocation_pool start=10.48.146.113,end=10.48.146.130 --gateway 10.48.146.1</div>
<div>4) neutron router-create router1</div>
<div>5) neutron router-gateway-set 7e07fef0-e92b-4956-9b23-82157d81ebf3 1605ac0b-4f59-473d-b20f-911c3401dc2c</div>
<div> 6) neutron floatingip-create public</div>
<div><br>
</div>
<div>The above command generated a floating IP 10.48.146.115 </div>
<div><br>
</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Then I spin up a new instance and it got IP assigned automatically 10.48.146.115, howevr I cannot ping or ssh to that ip : 10.48.146.115 ? </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
Here are the screenshots</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<img src="cid:964628AC-2686-40F5-B655-00EAF252B65D" type="image/png"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<img src="cid:2B55990D-8C1A-445B-8C55-BF8428FCA0F2" type="image/png"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>
<div>[root@lspal117 ~(keystone_admin)]# <span style="background-color: rgb(255, 255, 0);">
neutron net-list</span></div>
<div>+--------------------------------------+--------+-----------------------------------------------------+</div>
<div>| id | name | subnets |</div>
<div>+--------------------------------------+--------+-----------------------------------------------------+</div>
<div>| 1605ac0b-4f59-473d-b20f-911c3401dc2c | public | 24f385ad-bfeb-4c62-91ff-ab8756d3983b 10.48.146.0/24 |</div>
<div>+--------------------------------------+--------+——————————————————————————+</div>
<div><br>
</div>
<div>[root@lspal117 ~(keystone_admin)]# <span style="background-color: rgb(255, 255, 0);">
neutron subnet-list</span></div>
<div>+--------------------------------------+------+----------------+----------------------------------------------------+</div>
<div>| id | name | cidr | allocation_pools |</div>
<div>+--------------------------------------+------+----------------+----------------------------------------------------+</div>
<div>| 24f385ad-bfeb-4c62-91ff-ab8756d3983b | vlan | 10.48.146.0/24 | {"start": "10.48.146.113", "end": "10.48.146.130"} |</div>
<div>+--------------------------------------+------+----------------+----------------------------------------------------+</div>
<div><br>
</div>
<div>[root@lspal117 ~(keystone_admin)]#<span style="background-color: rgb(255, 255, 0);"> neutron router-list</span></div>
<div>+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+</div>
<div>| id | name | external_gateway_info | distributed |
ha |</div>
<div>+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+</div>
<div>| 7e07fef0-e92b-4956-9b23-82157d81ebf3 | router1 | {"network_id": "1605ac0b-4f59-473d-b20f-911c3401dc2c", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "24f385ad-bfeb-4c62-91ff-ab8756d3983b", "ip_address": "10.48.146.113"}]} | False |
False |</div>
<div>+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+</div>
</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div><font color="#ff0000"><font face="Calibri,sans-serif">Any ideas what is going wrong, I still can’t ping or ssh to that IP address and its not listening anywhere ?</font></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Best Regards,</span><span style="font-size: 10.5pt;"><o:p></o:p></span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt;"> </span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Rushi.</span><span style="font-size: 10.5pt;"><o:p></o:p></span></p>
</div>
<div style="font-family: Calibri;">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(255, 102, 0);">Success is not a matter of being the best & winning the race. Success is a matter of handling the worst & finishing the race </span></p>
</div>
</div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><br>
</font></font></div>
</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0);">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Marius Cornea <<a href="mailto:marius@remote-lab.net">marius@remote-lab.net</a>><br>
<span style="font-weight:bold">Date: </span>Friday, January 9, 2015 at 2:30 PM<br>
<span style="font-weight:bold">To: </span>SAP SAP <<a href="mailto:rushi.ns@sap.com">rushi.ns@sap.com</a>>, rdo-list <<a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Rdo-list] networking issues on JUNO redhead openstack.<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>As Kashyap kindly suggested we're not a support line and information here should be available for all the community members. First, I don't see how you can ping the br-ex IP address from an external network since it doesn't contain any physical interface.
Make sure that 10.48.146.112 isn't used by other host on you network segment. You can do the following to remove the ip address from the physical interface and add it to the br-ex bridge. Please make sure that you've got console access to the server before
doing this as you may lose connectivity.</div>
<div><br>
</div>
<div># ip addr del <a href="http://10.48.146.77/24">10.48.146.77/24</a> dev eno1; ovs-vsctl add-port br-ex eno1</div>
<div><br>
</div>
<div>You should then follow the documentation[1] to recreate the public/tenant networks and router. In your case FLOATING_IP_START, FLOATING_IP_END should be part of the <a href="http://10.48.146.0/24">10.48.146.0/24</a> network. Let's say you wish to allocate
IP addresses of the 10.48.146.200 - 10.48.146.210 range to your Openstack routers/instances, then FLOATING_IP_START=10.48.146.200 and FLOATING_IP_END=10.48.146.210. EXTERNAL_NETWORK_GATEWAY should be set to what 'ip r | grep default | awk {'print $3'}' outputs
and EXTERNAL_NETWORK_CIDR is <a href="http://10.48.146.0/24">10.48.146.0/24</a>.</div>
<div><br>
</div>
<div>Note that the instance will get an IP address of the tenant network. By assigning a floating IP you will be able to access it through an IP address from your physical network segment.</div>
<div><br>
</div>
<div>[1] <a href="http://docs.openstack.org/juno/install-guide/install/yum/content/neutron_initial-external-network.html">http://docs.openstack.org/juno/install-guide/install/yum/content/neutron_initial-external-network.html</a></div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 9, 2015 at 10:52 PM, Ns, Rushi <span dir="ltr">
<<a href="mailto:rushi.ns@sap.com" target="_blank">rushi.ns@sap.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>Hi Marius,</div>
<div><br>
</div>
<div>Here are the outputs. Is it possible to reach you on phone so that I can explain more than email. You can call me at
<a href="tel:650%20849%203915" value="+16508493915" target="_blank">650 849 3915</a> or let me know your number.</div>
<div><br>
</div>
<div><span style="background-color:rgb(255,255,0)">#ip a</span></div>
<div><br>
</div>
<div>
<div>[root@lspal117 network-scripts(keystone_admin)]# ip a</div>
<div>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN</div>
<div> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</div>
<div> inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo</div>
<div> valid_lft forever preferred_lft forever</div>
<div> inet6 ::1/128 scope host</div>
<div> valid_lft forever preferred_lft forever</div>
<div>2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000</div>
<div> link/ether d8:9d:67:29:c6:94 brd ff:ff:ff:ff:ff:ff</div>
<div> inet <a href="http://10.48.146.77/24" target="_blank">10.48.146.77/24</a> brd 10.48.146.255 scope global eno1</div>
<div> valid_lft forever preferred_lft forever</div>
<div> inet6 fe80::da9d:67ff:fe29:c694/64 scope link</div>
<div> valid_lft forever preferred_lft forever</div>
<div>3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether d8:9d:67:29:c6:95 brd ff:ff:ff:ff:ff:ff</div>
<div>4: eno3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether d8:9d:67:29:c6:96 brd ff:ff:ff:ff:ff:ff</div>
<div>5: eno4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether d8:9d:67:29:c6:97 brd ff:ff:ff:ff:ff:ff</div>
<div>6: ens1f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether 38:ea:a7:8f:bf:b4 brd ff:ff:ff:ff:ff:ff</div>
<div>7: ens1f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether 38:ea:a7:8f:bf:b5 brd ff:ff:ff:ff:ff:ff</div>
<div>8: ens2f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether 38:ea:a7:8f:bf:40 brd ff:ff:ff:ff:ff:ff</div>
<div>9: ens2f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000</div>
<div> link/ether 38:ea:a7:8f:bf:41 brd ff:ff:ff:ff:ff:ff</div>
<div>10: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN</div>
<div> link/ether 16:02:ac:3f:05:f4 brd ff:ff:ff:ff:ff:ff</div>
<div>11: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN</div>
<div> link/ether be:8b:24:03:a9:47 brd ff:ff:ff:ff:ff:ff</div>
<div> inet <a href="http://10.48.146.112/24" target="_blank">10.48.146.112/24</a> brd 10.48.146.255 scope global br-ex</div>
<div> valid_lft forever preferred_lft forever</div>
<div> inet6 fe80::bc8b:24ff:fe03:a947/64 scope link</div>
<div> valid_lft forever preferred_lft forever</div>
<div>12: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN</div>
<div> link/ether 02:35:a4:7c:e5:4c brd ff:ff:ff:ff:ff:ff</div>
<div>16: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN</div>
<div> link/ether fe:61:30:fb:a3:47 brd ff:ff:ff:ff:ff:ff</div>
<div>17: qbr63bd6704-47: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP</div>
<div> link/ether 8e:fe:6e:19:61:5c brd ff:ff:ff:ff:ff:ff</div>
<div> inet6 fe80::3822:bcff:fe6a:b74f/64 scope link</div>
<div> valid_lft forever preferred_lft forever</div>
<div>18: qvo63bd6704-47: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000</div>
<div> link/ether a2:fe:04:5f:04:b4 brd ff:ff:ff:ff:ff:ff</div>
<div>19: qvb63bd6704-47: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr63bd6704-47 state UP qlen 1000</div>
<div> link/ether 8e:fe:6e:19:61:5c brd ff:ff:ff:ff:ff:ff</div>
<div>22: tap63bd6704-47: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr63bd6704-47 state UNKNOWN qlen 500</div>
<div> link/ether fe:16:3e:d9:5e:ba brd ff:ff:ff:ff:ff:ff</div>
<div> inet6 fe80::fc16:3eff:fed9:5eba/64 scope link</div>
<div> valid_lft forever preferred_lft forever</div>
</div>
<div><br>
</div>
<div># <span style="background-color:rgb(255,255,0)">ovs-vsctl show</span></div>
<div><br>
</div>
<div>
<div>[root@lspal117 network-scripts(keystone_admin)]# ovs-vsctl show</div>
<div>c5bcc161-86cd-4004-9729-c1ba05d28569</div>
<div> Bridge br-ex</div>
<div> Port br-ex</div>
<div> Interface br-ex</div>
<div> type: internal</div>
<div> Port "qg-c3a1b534-36"</div>
<div> Interface "qg-c3a1b534-36"</div>
<div> type: internal</div>
<div> Bridge br-int</div>
<div> fail_mode: secure</div>
<div> Port patch-tun</div>
<div> Interface patch-tun</div>
<div> type: patch</div>
<div> options: {peer=patch-int}</div>
<div> Port "tape386c0cb-d8"</div>
<div> tag: 1</div>
<div> Interface "tape386c0cb-d8"</div>
<div> type: internal</div>
<div> Port br-int</div>
<div> Interface br-int</div>
<div> type: internal</div>
<div> Port "qvo63bd6704-47"</div>
<div> tag: 1</div>
<div> Interface "qvo63bd6704-47"</div>
<div> Port "tap44dd465f-d4"</div>
<div> tag: 4095</div>
<div> Interface "tap44dd465f-d4"</div>
<div> type: internal</div>
<div> Port "qr-e0ac3c25-2b"</div>
<div> tag: 2</div>
<div> Interface "qr-e0ac3c25-2b"</div>
<div> type: internal</div>
<div> Bridge br-tun</div>
<div> Port br-tun</div>
<div> Interface br-tun</div>
<div> type: internal</div>
<div> Port patch-int</div>
<div> Interface patch-int</div>
<div> type: patch</div>
<div> options: {peer=patch-tun}</div>
<div> ovs_version: “2.1.3"</div>
</div>
<div><br>
</div>
<div># <span style="background-color:rgb(255,255,0)">neutron net-list</span></div>
<div>
<div>[root@lspal117 network-scripts(keystone_admin)]# neutron net-list</div>
<div>+--------------------------------------+---------+------------------------------------------------------+</div>
<div>| id | name | subnets |</div>
<div>+--------------------------------------+---------+------------------------------------------------------+</div>
<div>| 5abe660b-52da-4d36-8275-4c1488df88b4 | public | 79ee8c72-4c60-4b39-9b53-e6a3e9591e6a
<a href="http://172.24.4.224/28" target="_blank">172.24.4.224/28</a> |</div>
<div>| d825e820-66e5-44b1-a91d-0c660aa822a5 | private | f0fc905d-ad3b-4ba6-8094-bf4dbbc55cd9
<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> |</div>
<div>| 6eb6d123-8fec-4984-986a-5eeabf895883 | sap | ea2b21e0-bf9f-4195-b210-b75b6f9f7943
<a href="http://10.48.146.0/24" target="_blank">10.48.146.0/24</a> |</div>
<div>+--------------------------------------+---------+------------------------------------------------------+</div>
</div>
<div><br>
</div>
<div># <span style="background-color:rgb(255,255,0)">neutron subnet-list</span></div>
<div>
<div>[root@lspal117 network-scripts(keystone_admin)]# neutron subnet-list</div>
<div>+--------------------------------------+----------------+-----------------+----------------------------------------------------+</div>
<div>| id | name | cidr | allocation_pools |</div>
<div>+--------------------------------------+----------------+-----------------+----------------------------------------------------+</div>
<div>| 79ee8c72-4c60-4b39-9b53-e6a3e9591e6a | public_subnet | <a href="http://172.24.4.224/28" target="_blank">
172.24.4.224/28</a> | {"start": "172.24.4.226", "end": "172.24.4.238"} |</div>
<div>| f0fc905d-ad3b-4ba6-8094-bf4dbbc55cd9 | private_subnet | <a href="http://10.0.0.0/24" target="_blank">
10.0.0.0/24</a> | {"start": "10.0.0.2", "end": "10.0.0.254"} |</div>
<div>| ea2b21e0-bf9f-4195-b210-b75b6f9f7943 | sap_local | <a href="http://10.48.146.0/24" target="_blank">
10.48.146.0/24</a> | {"start": "10.48.146.112", "end": "10.48.146.120"} |</div>
<div>+--------------------------------------+----------------+-----------------+——————————————————————————+</div>
</div>
<div><br>
</div>
<div>#<span style="background-color:rgb(255,255,0)">neutron router-list</span></div>
<div>
<div>[root@lspal117 network-scripts(keystone_admin)]# neutron router-list</div>
<div>+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+</div>
<div>| id | name | external_gateway_info | distributed |
ha |</div>
<div>+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+</div>
<div>| d6325c88-e5b0-448e-8ab1-af5908a189d4 | router1 | {"network_id": "5abe660b-52da-4d36-8275-4c1488df88b4", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "79ee8c72-4c60-4b39-9b53-e6a3e9591e6a", "ip_address": "172.24.4.226"}]} | False |
False |</div>
<div>+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+———+</div>
</div>
<div><br>
</div>
<div><span style="background-color:rgb(255,255,0)">In my system I have IP address for BR-ex and ENO1 (interface connecting ), should I disable eno1 as I can ping both (br-ex and eno1) from my network to reach to this host ? Probably its a dump question.</span></div>
<div><br>
</div>
<div>Here are the outputs.</div>
<div><br>
</div>
<div>
<div><span style="background-color:rgb(255,255,0)">br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500</span></div>
<div><span style="background-color:rgb(255,255,0)"> inet 10.48.146.112 netmask 255.255.255.0 broadcast 10.48.146.255</span></div>
<div><span style="background-color:rgb(255,255,0)"> inet6 fe80::bc8b:24ff:fe03:a947 prefixlen 64 scopeid 0x20<link></span></div>
<div> ether be:8b:24:03:a9:47 txqueuelen 0 (Ethernet)</div>
<div> RX packets 10 bytes 864 (864.0 B)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div>
<div> TX packets 25 bytes 3767 (3.6 KiB)</div>
<div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div>
<div><br>
</div>
<div>br-int: flags=4098<BROADCAST,MULTICAST> mtu 1500</div>
<div> ether 02:35:a4:7c:e5:4c txqueuelen 0 (Ethernet)</div>
<div> RX packets 135 bytes 7574 (7.3 KiB)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div>
<div> TX packets 0 bytes 0 (0.0 B)</div>
<div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div>
<div><br>
</div>
<div>br-tun: flags=4098<BROADCAST,MULTICAST> mtu 1500</div>
<div> ether fe:61:30:fb:a3:47 txqueuelen 0 (Ethernet)</div>
<div> RX packets 0 bytes 0 (0.0 B)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div>
<div> TX packets 0 bytes 0 (0.0 B)</div>
<div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div>
<div><br>
</div>
<div><span style="background-color:rgb(255,255,0)">eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500</span></div>
<div><span style="background-color:rgb(255,255,0)"> inet 10.48.146.77 netmask 255.255.255.0 broadcast 10.48.146.255</span></div>
<div><span style="background-color:rgb(255,255,0)"> inet6 fe80::da9d:67ff:fe29:</span>c694 prefixlen 64 scopeid 0x20<link></div>
<div> ether d8:9d:67:29:c6:94 txqueuelen 1000 (Ethernet)</div>
<div> RX packets 467319 bytes 48391354 (46.1 MiB)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div>
<div> TX packets 14794 bytes 5238733 (4.9 MiB)</div>
<div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div>
<div> device interrupt 32</div>
</div>
<span class="">
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Best Regards,</span><span style="font-size:10.5pt"><u></u><u></u></span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size:10.5pt"> </span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Rushi.</span><span style="font-size:10.5pt"><u></u><u></u></span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(255, 102, 0);">Success is not a matter of being the best & winning the race. Success is a matter of handling the worst & finishing the race </span></p>
</div>
</div>
<div><font color="#000000"><font face="Calibri"><br>
</font></font></div>
</div>
</span></div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Marius Cornea <<a href="mailto:marius@remote-lab.net" target="_blank">marius@remote-lab.net</a>><br>
<span style="font-weight:bold">Date: </span>Friday, January 9, 2015 at 1:46 PM<br>
<span style="font-weight:bold">To: </span>SAP SAP <<a href="mailto:rushi.ns@sap.com" target="_blank">rushi.ns@sap.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Rdo-list] networking issues on JUNO redhead openstack.<br>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Rushi,
<div><br>
</div>
<div>Can you provide the output of the following commands on your node ?</div>
<div><br>
</div>
<div># ip a<br>
</div>
<div># ovs-vsctl show</div>
<div># neutron net-list</div>
<div># neutron subnet-list</div>
<div># neutron router-list</div>
<div><br>
</div>
<div>Please note that only the br-ex bridge requires an IP address, the interface that's part of it shouldn't have one assigned. Also the floating IP addresses will be used for DNAT on the tenant router. You can check the documentation here[1] that describes
the use of floating IPs.</div>
<div><br>
</div>
<div>You can also check the upstream documentation[2] on how to create the networks.<br>
</div>
<div><br>
</div>
<div>[1] <a href="https://openstack.redhat.com/Difference_between_Floating_IP_and_private_IP" target="_blank">https://openstack.redhat.com/Difference_between_Floating_IP_and_private_IP</a></div>
<div>[2] <a href="http://docs.openstack.org/juno/install-guide/install/yum/content/neutron_initial-external-network.html" target="_blank">
http://docs.openstack.org/juno/install-guide/install/yum/content/neutron_initial-external-network.html</a> </div>
<div><br>
</div>
<div>Tnx,</div>
<div>Marius</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 9, 2015 at 10:22 PM, Ns, Rushi <span dir="ltr">
<<a href="mailto:rushi.ns@sap.com" target="_blank">rushi.ns@sap.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi Support,</div>
<div><br>
</div>
<div>I have a problem that a launched instance from openstack cannot connect to SSH or PING </div>
<div><br>
</div>
<div>First of all I have dump question whether my system should be NOVA network or Neutron network. Well to keep everyone on the same page. Here is my history.</div>
<div><br>
</div>
<ol>
<li>I did install RDO (allinone host) using the bellow steps <a href="https://openstack.redhat.com/Quickstart" target="_blank">https://openstack.redhat.com/Quickstart</a></li><li>Then I have used the following steps for floating IP <a href="https://openstack.redhat.com/Floating_IP_range" style="font-family:Consolas" target="_blank">https://openstack.redhat.com/Floating_IP_range</a>.</li></ol>
<div>My situtation is as follows. </div>
<div style="font-family:Consolas">* Floating IP address assignment: </div>
<div style="font-family:Consolas">I have assigned a floating IP , I did follow this steps.</div>
<div style="font-family:Consolas"><a href="https://openstack.redhat.com/Floating_IP_range" target="_blank">https://openstack.redhat.com/Floating_IP_range</a></div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas"></div>
<div style="font-family:Consolas">* Bridge configuration:My Ethernet device eth0(actually in Redhat 7 it is eno1 name)is on the same bridge as the compute host</div>
<div style="font-family:Consolas">Yes, ethernet device on 10.48.146.78 address and br-ex interface on 10.48.146.112 </div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">* DHCP configuration: Yes, DHCP configuration is set and Neutron hearing and responding to DHCP</div>
<div style="font-family:Consolas">requests and the instance is getting IP from 10.48.146.113 (next hop) however I cannot ping/ssh to that IP address (ICMP/SSH is added allowed</div>
<div style="font-family:Consolas">rule on default security group) </div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">Here is the little diagram of my system.</div>
<div style="font-family:Consolas"><img src="cid:EB813931-0B05-459C-A0B6-DE7C98D3D2FA" type="image/jpg"></div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">Can someone help to find what is missing.</div>
<div style="font-family:Consolas"><br>
</div>
<div> </div>
<div>
<div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Best Regards,</span><span style="font-size:10.5pt"><u></u><u></u></span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size:10.5pt"> </span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(0, 0, 127);">Rushi.</span><span style="font-size:10.5pt"><u></u><u></u></span></p>
</div>
<div style="font-family:Calibri">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size: 10.5pt; font-family: Verdana, sans-serif; color: rgb(255, 102, 0);">Success is not a matter of being the best & winning the race. Success is a matter of handling the worst & finishing the race </span></p>
</div>
</div>
<div><font color="#000000"><font face="Calibri"><br>
</font></font></div>
</div>
</div>
<br>
_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</span>
</body>
</html>