[Rdo-list] [Neutron] router can't ping external gateway
ICHIBA Sara
ichi.sara at gmail.com
Tue May 19 07:48:58 UTC 2015
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 at localhost ~(keystone_admin)]# ovs-vsctl show
19de58db-509d-4de8-bd88-9222019b13f1
Bridge br-int
fail_mode: secure
Port "tap8652132e-b8"
tag: 1
Interface "tap8652132e-b8"
type: internal
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Bridge br-ex
Port "qg-5f8ebe30-40"
Interface "qg-5f8ebe30-40"
type: internal
Port "eth0"
Interface "eth0"
Port br-ex
Interface br-ex
type: internal
Bridge br-tun
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 br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
ovs_version: "2.3.1"
=====[root at localhost ~(keystone_admin)]# ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=1.76 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=1.88 ms
64 bytes from 192.168.5.1: icmp_seq=3 ttl=64 time=1.45 ms
^C
--- 192.168.5.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.452/1.699/1.880/0.187 ms
[root at localhost ~(keystone_admin)]#
======[root at 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
14: qg-5f8ebe30-40: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UNKNOWN
link/ether fa:16:3e:c2:1b:5e brd ff:ff:ff:ff:ff:ff
inet 192.168.5.70/24 brd 192.168.5.255 scope global qg-5f8ebe30-40
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fec2:1b5e/64 scope link
valid_lft forever preferred_lft forever
[root at localhost ~(keystone_admin)]#
======[root at localhost ~(keystone_admin)]# ip r
default via 192.168.5.1 dev br-ex
default via 192.168.4.1 dev eth1
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
169.254.0.0/16 dev br-ex scope link metric 1005
192.168.4.0/24 dev eth1 proto kernel scope link src 192.168.4.14
192.168.5.0/24 dev br-ex proto kernel scope link src 192.168.5.33
[root at localhost ~(keystone_admin)]#
======[root at localhost ~(keystone_admin)]# ip netns exec
qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip r
default via 192.168.5.1 dev qg-5f8ebe30-40
192.168.5.0/24 dev qg-5f8ebe30-40 proto kernel scope link src
192.168.5.70
[root at localhost ~(keystone_admin)]#
======[root at 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 ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
any hints??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150519/cc018d11/attachment.html>
More information about the dev
mailing list