Flat network VM not pinging outside host ip

asked 2015-10-29 12:26:50 -0500

satish.lx gravatar image

updated 2015-10-29 12:35:36 -0500

I have installed JUNO openstack using --allinone and configure flat networking using following link, I want my VM directly connected to my existing network no more NAT and floating IP thing.

https://trickycloud.wordpress.com/2013/11/12/setting-up-a-flat-network-with-neutron/ (https://trickycloud.wordpress.com/201...)

I can ping br-ex ip address but i can't ping outside Hosts ip address, I am doing testing on VirtualBox.

[root@openstack ~(keystone_admin)]# ifconfig br-ex
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.59.110  netmask 255.255.255.0  broadcast 192.168.59.255
        inet6 fe80::98cd:fdff:fe81:a44a  prefixlen 64  scopeid 0x20<link>

VM IP address is 192.168.59.111 and from VM i can ping 192.168.59.110 but i can't ping my Host machine which is 192.168.59.3

I have allowed ICMP and SSH both in security group.

[root@openstack ~(keystone_admin)]# ovs-vsctl show
8b579e69-90cf-46c2-b20e-294887193f1c
    Bridge br-ex
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "eth0"
            Interface "eth0"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qr-8ec1597e-7e"
            tag: 1
            Interface "qr-8ec1597e-7e"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap2fdbb98f-b5"
            tag: 1
            Interface "tap2fdbb98f-b5"
                type: internal
        Port "qvob8ed37a8-f4"
            tag: 2
            Interface "qvob8ed37a8-f4"
        Port "tap8ca31c52-a4"
            tag: 3
            Interface "tap8ca31c52-a4"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "qr-aa2098a2-76"
            tag: 2
            Interface "qr-aa2098a2-76"
                type: internal
        Port "tap540d05be-f1"
            tag: 4095
            Interface "tap540d05be-f1"
                type: internal
    ovs_version: "2.3.1"

And

[root@openstack ~(keystone_admin)]# brctl show
bridge name bridge id       STP enabled interfaces
qbrb8ed37a8-f4      8000.4e750db24cbf   no      qvbb8ed37a8-f4
                            tapb8ed37a8-f4

On HOST machine i can see MAC address of my openstack VM. from Host machine i can ping VirtualBox/CentOS7 ip 192.168.59.110 but i can ping 59.111 which is openstack VM

MacBook-Pro:~ root# arp -a
? (192.168.59.110) at 8:0:27:be:7f:9a on vboxnet0 ifscope [ethernet]
? (192.168.59.111) at fa:16:3e:78:bc:3d on vboxnet0 ifscope [ethernet]
edit retag flag offensive close merge delete