Not able to ping internet from instance or compute node

asked 2017-04-25 01:14:51 -0500

dipayan gravatar image

Hi all, I am trying to implement openstack in virtual box with two nodes.

Controller node: 2 interface ( 10.10.10.10, DHCP from wireless (192.168.5.0/24) )
Compute node : 3 interfaces ( 10.10.10.11 , DHCP from wireless (192.168.5.0/24) , DHCP from ethernet (Internet connection)  (10.154.61.0/24) )

So after adding my ovs-vsctl port to eth1 I am not able to ping google, or instances from compute node and from instance also I am not able to ping any controller or compute node.

Compute node :

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
    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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:95:0b:b8 brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.11/24 brd 10.10.10.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fe95:bb8/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
    link/ether 08:00:27:fe:af:db brd ff:ff:ff:ff:ff:ff
    inet 192.168.5.103/24 brd 192.168.5.255 scope global dynamic eth1
       valid_lft 85672sec preferred_lft 85672sec
    inet6 fe80::a00:27ff:fefe:afdb/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:db:f9:c9 brd ff:ff:ff:ff:ff:ff
    inet 10.154.61.137/24 brd 10.154.61.255 scope global dynamic eth2
       valid_lft 23032sec preferred_lft 23032sec
    inet6 fe80::86d4:eb48:b385:7b4/64 scope link
       valid_lft forever preferred_lft forever
5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether a2:89:65:e9:54:54 brd ff:ff:ff:ff:ff:ff
6: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 4a:3c:87:cc:b1:4f brd ff:ff:ff:ff:ff:ff
8: br-provider: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 08:00:27:fe:af:db brd ff:ff:ff:ff:ff:ff
9: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000
    link/ether 52:54:00:e1:a9:6c brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
10: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 1000
    link/ether 52:54:00:e1:a9:6c brd ff:ff:ff:ff:ff:ff
17: qbrd33738f1-49: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 ...
(more)
edit retag flag offensive close merge delete