br-ex configuration & external network

asked 2016-07-25 05:34:37 -0600

openstackstarter gravatar image

Hi. I'm using 3node architecture to build cloud following Openstack Guide Mitaka: for Ubuntu After successfully launching an instance, I can't access internet from an instance. I think the problem is packets don't go out from br-ex to external network,or the other way around, but don't know how to fix this issue.

Control Node:10.0.0.1 / Network Node:10.0.0.2 / Compute Node:10.0.0.3

Instance's fixed IP:172.168.1.3 floating IP:192.168.0.102

Router gateway : 192.168.0.100 interface : 172.168.1.1

I created ex-net(192.168.0.0/24)and test-net(172.168.1.0/24) and attached both to Router. and my br-ex currently has IP 192.168.0.37,

so From Router, I can ping br-ex(192.168.0.37) and both instance's IP(172.168.1.3,192.168.0.102) but not to one of external network.

From Instance, I can ping each fixed and floating IP, and br-ex,and Router gateway, but can't to one of external network. This is why I think br-ex is the problem, since everything inside of br-ex seems to be working. Here are some more info, and I will update more if needed. Please help! Thanks in advance.

On Network Node with 2 NIC :

ifconfig

br-ex     Link encap:Ethernet  HWaddr 90:9f:33:ef:38:3c  
          inet addr:192.168.0.37  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::929f:33ff:feef:383c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:161 errors:0 dropped:0 overruns:0 frame:0
          TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:55484 (55.4 KB)  TX bytes:5876 (5.8 KB)

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:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4180 (4.1 KB)  TX bytes:4180 (4.1 KB)

p3p1      Link encap:Ethernet  HWaddr e8:11:32:31:9f:f2  
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ea11:32ff:fe31:9ff2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5645 errors:0 dropped:0 overruns:0 frame:0
          TX packets:733 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:464335 (464.3 KB)  TX bytes:138840 (138.8 KB)

tapf8f66cd9-f3 Link encap:Ethernet  HWaddr 0e:31:f0:04:ff:3f  
          UP BROADCAST RUNNING MULTICAST  MTU:1458  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 ...
(more)
edit retag flag offensive close merge delete

Comments

see this link may this help you link text

cloudlearner gravatar imagecloudlearner ( 2016-07-25 23:46:15 -0600 )edit