Ask Your Question
1

ot able to ping the router of the external net configured in neutron ext-net

asked 2014-10-15 01:47:07 -0600

groen692 gravatar image

updated 2014-10-16 14:03:47 -0600

larsks gravatar image
Hi,

I am trying to make a icehouse setup on opensuse 13.1. with repository http://download.opensuse.org/repositories/Cloud:/OpenStack:/Icehouse/openSUSE_13.1/

But I am stuck on the neutron configuration. I think I have set it up according to http://docs.openstack.org/icehouse/install-guide/install/zypper/content/ch_networking.html


However I am not able to ping the router of the external net configured in neutron ext-net.
Here is what happens
external net: 172.16.0.0/24
physical router 172.16.0.1
the neutron router of the ext-net: 172.16.0.110

ping from 172.16.0.21 to 172.16.0.110

On physical nic
tcpdump -ieno1
07:58:22.540247 ARP, Request who-has 172.16.0.110 tell 172.16.0.21, length 46
07:58:22.964585 ARP, Request who-has 172.16.4.35 tell 172.16.4.1, length 46
07:58:23.032330 ARP, Request who-has 172.16.0.96 tell 172.16.0.99, length 46

on bridge
tcpdump -ibr-ex
07:57:32.535197 ARP, Request who-has 172.16.0.110 tell 172.16.0.21, length 46
07:57:32.616321 ARP, Request who-has 172.16.0.98 tell 172.16.0.99, length 46
07:57:33.032401 ARP, Request who-has 172.16.0.96 tell 172.16.0.99, length 46

on router
ip netns exec qrouter-24ab9088-6283-4053-a78f-61feb56d4e63 tcpdump -iany
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
<empty/nothing>


I am confused here, The only thing I find strange is the router port is connected to the br-int and not the br-ex, (see output of vs-vsctl show below)

Any help would be helpfull.

mfg,
Jeroen


ovs-dpctl dump-flows
skb_priority(0),in_port(4),eth(src=78:24:af:2c:09:5e,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=172.16.0.21/255.255.255.255,tip=172.16.0.110/255.255.255.255,op=1/0xff,sha=78:24:af:2c:09:5e/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00), packets:23, bytes:1380, used:0.239s, actions:3

phoenix:~ # ovs-ofctl dump-flows br-ex                                                                              
NXST_FLOW reply (xid=0x4):                                                                                          
 cookie=0x0, duration=44511.022s, table=0, n_packets=196728, n_bytes=18082154, idle_age=0, priority=0 actions=NORMAL

phoenix:~ # ovs-dpctl show
system@ovs-system:
        lookups: hit:184051 missed:62864 lost:0
        flows: 8
        port 0: ovs-system (internal)
        port 1: br-int (internal)
        port 2: br-tun (internal)
        port 3: br-ex (internal)
        port 4: eno1
        port 5: qg-cf14cdbc-ec (internal)
        port 6: qr-d44098bf-8f (internal)


phoenix:~ # ip netns
qrouter-24ab9088-6283-4053-a78f-61feb56d4e63
phoenix:~ # ip netns exec qrouter-24ab9088-6283-4053-a78f-61feb56d4e63 ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1538 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1538 errors:0 dropped:0 overruns:0 ...
(more)
edit retag flag offensive close merge delete

Comments

Could you post statement for ext-net creation ?

dbaxps gravatar imagedbaxps ( 2014-10-15 09:07:52 -0600 )edit

Also: keystone tenant-list. I wouldn't define dns_nameservers for ext-net

dbaxps gravatar imagedbaxps ( 2014-10-15 09:24:53 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-28 02:23:01 -0600

groen692 gravatar image

If have recreated the ext-net many times, through neutron cli commando's and through the dashboard. But this is how it comes back every time. Eg with the gateway on the br-int

`ip netns exec qrouter-24ab9088-6283-4053-a78f-61feb56d4e63 route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 qg-cf14cdbc-ec 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-cf14cdbc-ec 192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-d44098bf-8f

edit flag offensive delete link more
1

answered 2014-10-15 10:27:37 -0600

dbaxps gravatar image

updated 2014-10-16 06:22:54 -0600

qg-cf14cdbc-ec is attached to wrong bridge br-int
View : Forwarding packet from br-int to br-ex on Neutron Node
http://bderzhavets.blogspot.com/2014/...

2. [root@controller ~(keystone_admin)]# ip netns exec qrouter-db10bdfd-f0c6-4c30-8a08-30ceb132a979 route -n
Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0            UG    0      0   0     qg-a9e0c15a-b6
20.0.0.0        0.0.0.0            255.255.255.0   U     0      0   0      qr-12b39034-b3
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0     0    qg-a9e0c15a-b6

Please , run

phoenix:~ # ip netns exec qrouter-24ab9088-6283-4053-a78f-61feb56d4e63 route -n

Recreate router && external network
Neutron instructions for IceHouse were correct, it just means neutron configuration error has been fixed.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-10-15 01:47:07 -0600

Seen: 742 times

Last updated: Oct 28 '14