[Neutron] router can't ping external gateway

asked 2015-05-19 06:59:43 -0500

ichi-the-one gravatar image

Hey people, 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.

=====ifcfg-br-ex DEVICE=br-ex DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=192.168.5.33 NETMASK=255.255.255.0 ONBOOT=yes GATEWAY=192.168.5.1 DNS1=8.8.8.8 DNS2=192.168.5.1

====ifcfg-eth0 DEVICE=eth0 HWADDR=00:0c:29:a2:b1:b9 ONBOOT=yes TYPE=OVSPort NM_CONTROLLED=yes DEVICETYPE=ovs OVS_BRIDGE=br-ex

====[root@localhost ~(keystone_admin)]# ovs-vsctl show 19de58db-509d-4de8-bd88-9222019b13f1 Bridge br-int fail_mode: secure Port "tap2decc1bc-bf" tag: 2 Interface "tap2decc1bc-bf" type: internal Port "qvo1e68b67c-31" tag: 2 Interface "qvo1e68b67c-31" Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-7b330e0e-5c" tag: 2 Interface "qr-7b330e0e-5c" type: internal Port "qvo164afbd4-0c" tag: 2 Interface "qvo164afbd4-0c" Bridge br-ex Port "eth0" Interface "eth0" Port br-ex Interface br-ex type: internal Port "qg-e1b584b4-db" Interface "qg-e1b584b4-db" type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Port "vxlan-c0a80520" Interface "vxlan-c0a80520" type: vxlan options: {df_default="true", in_key=flow, local_ip="192.168.5.33", out_key=flow, remote_ip="192.168.5.32"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.3.1"

=====[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip r default via 192.168.5.1 dev qg-e1b584b4-db 10.0.0.0/24 dev qr-7b330e0e-5c proto kernel scope link src 10.0.0.1 192.168.5.0/24 dev qg-e1b584b4-db proto kernel scope link src 192.168.5.70

======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip a 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 12: qg-e1b584b4-db: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN link/ether fa:16:3e:68:83:f8 brd ff:ff:ff:ff:ff:ff inet 192.168.5.70/24 brd 192.168.5.255 scope global qg-e1b584b4-db valid_lft forever preferred_lft forever inet 192.168.5.73/32 brd 192.168.5.73 scope global qg-e1b584b4-db valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe68:83f8/64 scope link valid_lft forever preferred_lft forever 13: qr-7b330e0e-5c: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN link/ether fa:16:3e:92:9c:90 brd ff:ff:ff:ff:ff:ff inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-7b330e0e-5c valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe92:9c90/64 scope link valid_lft forever preferred_lft forever

======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ping 192.168.5.1 PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data. ^C --- 192.168.5.1 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms

=====[root@localhost ~(keystone_admin)]# ping 192.168.5.1 PING 192.168.5.1 ... (more)

edit retag flag offensive close merge delete