<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">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">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">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">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">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">169.254.0.0/16</a> dev eth0  scope link  metric 1002<br><a href="http://169.254.0.0/16">169.254.0.0/16</a> dev eth1  scope link  metric 1003<br><a href="http://169.254.0.0/16">169.254.0.0/16</a> dev br-ex  scope link  metric 1005<br><a href="http://192.168.4.0/24">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">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">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>