External network Cannot ping vm successfully
My environment is ubuntu 13.04 64bit server and openstack grizzly, single node with OpenVSwitch. Here is my config:
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.2.0.41
netmask 255.255.255.0
gateway 10.2.0.1
# The primary network interface
auto eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
auto br-ex
iface br-ex inet static
address 10.2.0.36
netmask 255.255.255.0
network 10.2.0.0
broadcast 10.2.0.255
gateway 10.2.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 61.147.37.1
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
#Under the database section
[DATABASE]
sql_connection = mysql://quantumUser:quantumPass@10.2.0.41/quantum
#Under the OVS section
[OVS]
tenant_network_type = gre
tunnel_id_ranges = 1:1000
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = 10.2.0.41
enable_tunneling = True
#Firewall driver for realizing quantum security group function
[SECURITYGROUP]
firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
I have two vms, 10.2.0.51 and 10.2.0.52 of floatingip, 192.168.100.2 and 192.168.100.3 of internal ip. In vm, I can ping both floatingip and internal ip succcessfully, but the vm cannot reach external network and either external network. I cannot ping successfully 10.2.0.50 that is the router gateway.
Please post ovs-vsctl show output
Did you try to set up your eth1 in promiscuous mode ? I think this is needed (yet, I don't know if it will solve the problem). You should add the following line in your /etc/network/interfaces: up ifconfig eth1 promisc
Check
ovs-vsctl show
comand, also check security lists. Try to listen interfaces with tcpdump