Ask Your Question
0

From instance able to ping only Network/Compute and Controller hosts not able to reach any other external address

asked 2016-10-21 23:39:58 -0500

Vikas gravatar image

updated 2016-10-22 12:58:04 -0500

dbaxps gravatar image

Hi Gurus,

I have installed multi node openstack (One Controller, One Compute and One Network Node) liberty on Centos7 using packstack. I am able to ssh to instances and ping them from any node in the outside network (LAN). But from the instance I am able to ping only Control/Compute and Network Node. I am not able to reach any other external nodes. The whole setup it in Virtual Box and first interface in Virtual Box is Bridged and Second one I tried with internal network as well as NAT, Promiscuous mode is set to "Allow All" for both the interfaces.

[root@networker ~]# ovs-vsctl show
6a02ef34-1ad5-4214-bd1c-281431d1ffef
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "qg-59513dde-c9"
            Interface "qg-59513dde-c9"
                type: internal
        Port "enp0s3"
            Interface "enp0s3"
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "qr-a62a51d0-b2"
            tag: 1
            Interface "qr-a62a51d0-b2"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap417ad585-ba"
            tag: 1
            Interface "tap417ad585-ba"
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a80150"
            Interface "vxlan-c0a80150"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.1.82", out_key=flow, remote_ip="192.168.1.80"}

[root@networker ~]# ifconfig -a

br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.82  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a00:27ff:fe36:d62c  prefixlen 64  scopeid 0x20<link>
        inet6 2602:30a:c7f7:c660:a00:27ff:fe36:d62c  prefixlen 64  scopeid 0x0<global>
        ether 08:00:27:36:d6:2c  txqueuelen 0  (Ethernet)
        RX packets 8393  bytes 673222 (657.4 KiB)
        RX errors 0  dropped 60  overruns 0  frame 0
        TX packets 6107  bytes 600506 (586.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-int: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 0e:e4:ea:95:48:44  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 48  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-tun: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether d6:f9:f5:c5:c4:4e  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.82  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a00:27ff:fe36:d62c  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:36:d6:2c  txqueuelen 1000  (Ethernet)
        RX packets 25744  bytes 6835596 (6.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6304  bytes 681928 (665.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s8: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:89 ...
(more)
edit retag flag offensive close merge delete

Comments

Can you ping 8.8.8.8 from Network Node (VM ) ?

dbaxps gravatar imagedbaxps ( 2016-10-22 13:02:59 -0500 )edit

Please, post route -n on Network Node.

dbaxps gravatar imagedbaxps ( 2016-10-22 13:06:12 -0500 )edit

Thanks for the response.

1) From the network node (VM) we can ping 8.8.8.8


[root@networker ~]# ping  8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=20.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=10.4 ms
Vikas gravatar imageVikas ( 2016-10-23 16:21:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-23 16:22:12 -0500

Vikas gravatar image

updated 2016-10-23 16:22:57 -0500

> 2) Please find output of route -n from
> network node (VM) below. 
> [root@networker ~]# route -n Kernel IP
> routing table Destination     Gateway 
> Genmask         Flags Metric Ref   
> Use Iface
> 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 br-ex
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-ex
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 enp0s3
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-10-21 23:39:58 -0500

Seen: 91 times

Last updated: Oct 23 '16