Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VM can't access internet

Hi everyone , i installed openstack newton and after creating networks ( provider and selfserver ) i still can't ping my router interface and thats why i cant access internet for my VMs .

VM can't access internet

Hi everyone , i installed openstack newton and after creating networks ( provider and selfserver ) i still can't ping my router interface and thats why i cant access internet for my VMs .

hi Bernd ,
i used 4 nodes ( controller , compute , object storage and block storage ) , infact i followed the official documentation of openstack newton : i am using linuxbridge . i tryed to create a vm directly on the provider network using cirros image and at first it uses dhcp but when i execute ifconfig it is not configured , once i configure it it works and internet as well . my problem now is i need to make it work on selfservice network . and this is my neutron.conf ( controller node )

[DEFAULT]   
core_plugin = ml2   
service_plugins = router  
allow_overlapping_ips = True   
transport_url = rabbit://openstack:password@controller   
auth_strategy = keystone   
notify_nova_on_port_status_changes = True    
notify_nova_on_port_data_changes = True    
[database]  
connection = mysql+pymysql://neutron:password@controller/neutron  

[keystone_authtoken]

auth_uri = http://controller:5000   
auth_url = http://controller:35357   
memcached_servers = controller:11211    
auth_type = password   
project_domain_name = Default   
user_domain_name = Default   
project_name = service    
username = neutron     
password = password  
[nova]    
auth_url = http://controller:35357   
auth_type = password    
project_domain_name = Default   
user_domain_name = Default    
region_name = RegionOne    
project_name = service    
username = nova    
password = password

this is my ml12_conf.ini

[ml2]   
type_drivers = flat,vlan,vxlan   
tenant_network_types = vxlan    
mechanism_drivers = linuxbridge,l2population   
extension_drivers = port_security    

[ml2_type_flat]   
flat_networks = provider   

[ml2_type_vxlan]    
vni_ranges = 1:1000

this is my linux bridge conf ( on controller i have eth0 for managment end eth1 with no address assigned to it )

[linux_bridge]   

physical_interface_mappings = provider:eth1   
[securitygroup]   
enable_security_group = True   
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver  
[vxlan]   
enable_vxlan = True   
local_ip = managment ip   
l2_population = True