<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>There is one thing , which I clearly see . It is qrouter-namespace misconfiguration.  There is no qr-xxxxx bridge attached to br-int<br>Picture , in general, should look like this<br><br>ubuntu@ubuntu-System:~$ sudo ip netns exec qrouter-6cb93ddd-2637-449d-8b10-7c07da49ee8c route -n<br><br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>0.0.0.0         192.168.12.15   0.0.0.0         UG    0      0        0   qg-a753a8f5-c8<br>10.254.1.0      0.0.0.0         255.255.255.0   U     0      0      0    qr-393d9f71-53<br>192.168.12.0    0.0.0.0         255.255.255.0   U     0      0        0 qg-a753a8f5-c8<br><br>ubuntu@ubuntu-System:~$ sudo ip netns exec qrouter-6cb93ddd-2637-449d-8b10-7c07da49ee8c ifconfig<br>lo        Link encap:Local Loopback  <br>          inet addr:127.0.0.1  Mask:255.0.0.0<br>          inet6 addr: ::1/128 Scope:Host<br>          UP LOOPBACK RUNNING  MTU:65536  Metric:1<br>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)<br><br>qg-a753a8f5-c8 Link encap:Ethernet  HWaddr fa:16:3e:a2:11:b4  <br>          inet addr:192.168.12.150  Bcast:192.168.12.255  Mask:255.255.255.0<br>          inet6 addr: fe80::f816:3eff:fea2:11b4/64 Scope:Link<br>          UP BROADCAST RUNNING  MTU:1500  Metric:1<br>          RX packets:24504 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:17367 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:24328699 (24.3 MB)  TX bytes:1443691 (1.4 MB)<br><br>qr-393d9f71-53 Link encap:Ethernet  HWaddr fa:16:3e:9e:ec:01  <br>          inet addr:10.254.1.1  Bcast:10.254.1.255  Mask:255.255.255.0<br>          inet6 addr: fe80::f816:3eff:fe9e:ec01/64 Scope:Link<br>          UP BROADCAST RUNNING  MTU:1500  Metric:1<br>          RX packets:22487 errors:0 dropped:5 overruns:0 frame:0<br>          TX packets:24736 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:2379287 (2.3 MB)  TX bytes:24338711 (24.3 MB)<br><br>I would also advise you to post a question also on ask.openstack.org<br><br>Boris.<br><br><br><div><hr id="stopSpelling">Date: Tue, 19 May 2015 09:48:58 +0200<br>From: ichi.sara@gmail.com<br>To: rdo-list@redhat.com<br>Subject: [Rdo-list] [Neutron] router can't ping external gateway<br><br><div dir="ltr"><div><div><div><div>Hey people,<br></div>I have an issue with my networking. I connected my openstack to an external network I did all the changes required. But still my router can't reach the external gateway.<br><br></div>=====ifcfg-br-ex<br>DEVICE=br-ex<br>DEVICETYPE=ovs<br>TYPE=OVSBridge<br>BOOTPROTO=static<br>IPADDR=192.168.5.33<br>NETMASK=255.255.255.0<br>ONBOOT=yes<br>GATEWAY=192.168.5.1<br>DNS1=8.8.8.8<br>DNS2=192.168.5.1<br><br><br></div>====ifcfg-eth0<br>DEVICE=eth0<br>HWADDR=00:0c:29:a2:b1:b9<br>ONBOOT=yes<br>TYPE=OVSPort<br>NM_CONTROLLED=yes<br>DEVICETYPE=ovs<br>OVS_BRIDGE=br-ex<br><br>======[root@localhost ~(keystone_admin)]# ovs-vsctl show<br>19de58db-509d-4de8-bd88-9222019b13f1<br>    Bridge br-int<br>        fail_mode: secure<br>        Port "tap8652132e-b8"<br>            tag: 1<br>            Interface "tap8652132e-b8"<br>                type: internal<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port patch-tun<br>            Interface patch-tun<br>                type: patch<br>                options: {peer=patch-int}<br>    Bridge br-ex<br>        Port "qg-5f8ebe30-40"<br>            Interface "qg-5f8ebe30-40"<br>                type: internal<br>        Port "eth0"<br>            Interface "eth0"<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>    Bridge br-tun<br>        Port "vxlan-c0a80520"<br>            Interface "vxlan-c0a80520"<br>                type: vxlan<br>                options: {df_default="true", in_key=flow, local_ip="192.168.5.33", out_key=flow, remote_ip="192.168.5.32"}<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>        Port patch-int<br>            Interface patch-int<br>                type: patch<br>                options: {peer=patch-tun}<br>    ovs_version: "2.3.1"<br><br>=====[root@localhost ~(keystone_admin)]# ping 192.168.5.1<br>PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=1 ttl=64 time=1.76 ms<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=2 ttl=64 time=1.88 ms<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=3 ttl=64 time=1.45 ms<br>^C<br>--- 192.168.5.1 ping statistics ---<br>3 packets transmitted, 3 received, 0% packet loss, time 2002ms<br>rtt min/avg/max/mdev = 1.452/1.699/1.880/0.187 ms<br>[root@localhost ~(keystone_admin)]#<br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>14: qg-5f8ebe30-40: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:c2:1b:5e brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.5.70/24" target="_blank">192.168.5.70/24</a> brd 192.168.5.255 scope global qg-5f8ebe30-40<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fec2:1b5e/64 scope link<br>       valid_lft forever preferred_lft forever<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip r<br>default via 192.168.5.1 dev br-ex<br>default via 192.168.4.1 dev eth1<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth0  scope link  metric 1002<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth1  scope link  metric 1003<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev br-ex  scope link  metric 1005<br><a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a> dev eth1  proto kernel  scope link  src 192.168.4.14<br><a href="http://192.168.5.0/24" target="_blank">192.168.5.0/24</a> dev br-ex  proto kernel  scope link  src 192.168.5.33<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip r<br>default via 192.168.5.1 dev qg-5f8ebe30-40<br><a href="http://192.168.5.0/24" target="_blank">192.168.5.0/24</a> dev qg-5f8ebe30-40  proto kernel  scope link  src 192.168.5.70<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ping 192.168.5.1<br>PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.<br>^C<br>--- 192.168.5.1 ping statistics ---<br>5 packets transmitted, 0 received, 100% packet loss, time 3999ms<br><br></div>any hints??<br><div><br><br><br><br></div></div>
<br>_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com</div>                                       </div></body>
</html>