Ask Your Question
0

Internal router not pingable.. [closed]

asked 2015-02-23 20:41:59 -0500

updated 2015-02-25 09:33:27 -0500

Hi All, Please find the below screen shot and my neutron configuration details. I need you guys help me to fix this issue. Please suggest me how could I fix the issue, so that my router gateway can be alive and pingable..

image description

------------------ dhcp_agent.ini ------------------------
[DEFAULT]
auth_strategy = keystone
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
external_network_bridge = br-ex
user_namespaces = True
state_path=/var/lib/neutron
verbose = True
dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf
[keystone_authtoken]
auth_host = 192.168.2.51
admin_tenant_name = services
admin_user = neutron
admin_password = neutron

----------------- neutron.conf -------------------------
[DEFAULT]
auth_strategy = keystone
rpc_backend = neutron.openstack.common.rpc.impl_kombu
rabbit_host = 192.168.2.51
rabbit_port = 5672
rabbit_userid = neutron
rabbit_password = neutron
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
force_gateway_on_subnet = True
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://192.168.2.52:8774/v2
nova_admin_username = nova
nova_admin_tenant_id = 89bb93fbbf6d41f1b6183a3921fc208c
nova_admin_password = nova
nova_admin_auth_url = http://192.168.2.51:35357/v2.0
notification_driver = neutron.openstack.common.notifier.rpc_notifier
router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.LeastRoutersScheduler
[quotas]
[agent]
[keystone_authtoken]
auth_host = 192.168.2.51
admin_tenant_name = services
admin_user = neutron
admin_password = neutron
auth_uri = http://192.168.2.51:5000
auth_protocol = http
auth_port = 35357
[database]
connection = mysql://neutron:neutron@192.168.2.51/neutron_ml2
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

---------------- l3_agent.ini --------------------------
[DEFAULT]
debug = False
resync_interval = 30
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
external_network_bridge = br-ex
bridge_mappings = physnet1:br-ex
user_namespaces = True
state_path=/var/lib/neutron
metadata_ip = 192.168.2.53
metadata_port = 8755
verbose = True

---------------- metadata_agent.ini --------------------------
[DEFAULT]
auth_url = http://192.168.2.51:5000/v2.0
auth_region = RegionOne
admin_tenant_name = services
admin_user = neutron
admin_password = neutron
auth_strategy = keystone
nova_metadata_ip = 192.168.2.52
metadata_proxy_shared_secret = neutron
verbose = True
[keystone_authtoken]
auth_host = 192.168.2.51
admin_tenant_name = services
admin_user = neutron
admin_password = neutron

---------------- /etc/neutron/plugins/ml2/ml2_conf.ini --------------------------
[ml2]
tenant_network_type = gre
type_driver = flat,gre
tenant_network_types = gre
mechanism_drivers = openvswitch
[agent]
l2_population = True
[DATABASE]
sql_connection = mysql://neutron:neutron@192.168.2.51/neutron_ml2
[ml2_type_flat]
flat_networks = external
[ml2_type_gre]
tunnel_id_ranges = 1:1000
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
[OVS]
bridge_mappings = physnet1:br-ex
local_ip = 192.168.2.53
tunnel_type = gre
enable_tunneling = True

---------------- rootwrap.conf --------------------------
[DEFAULT]
filters_path=/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap,/etc/quantum/rootwrap.d,/usr/share/quantum/rootwrap
exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin
use_syslog=False
syslog_log_facility=syslog
syslog_log_level=ERROR
[xenapi]
xenapi_connection_url=<None>
xenapi_connection_username=root
xenapi_connection_password=<None>

----------------Service Status--------------------------
openstack-service status neutron
neutron-dhcp-agent (pid 3303) is active
neutron-l3-agent (pid 3302) is active
neutron-metadata-agent (pid 2048) is active
neutron-openvswitch-agent (pid 3304) is active
neutron-ovs-cleanup (pid 0) is inactive
neutron-server (pid 2034) is active

----------------Virtual Switch Output--------------------------
@neutron neutron(keystone_admin)]#ovs-vsctl show
7aec5db2-705d-49d4-bc9d-87dd3eb2e0f0
    Bridge br-int
        fail_mode: secure
        Port phy-br-int
            Interface phy-br-int
        Port br-int
            Interface br-int
                type: internal
        Port "tap61f1fb22-f7"
            tag: 1
            Interface "tap61f1fb22-f7"
                type: internal
        Port "qr-df609386-a2"
            tag: 1
            Interface "qr-df609386-a2"
                type: internal
        Port int-br-int
            Interface int-br-int
        Port int-br-ex
            Interface int-br-ex
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Pradipta_OS_M
close date 2015-03-20 13:22:15.636824

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-20 13:21:48 -0500

Finally solved the issue with getting help from Madhan. He helped me a lot to fix this issue. Finally can able to access the external network and gateway. Also able to access all public address from instance. The issue was in the network configuration and the mode of the network card setup..

Thank you Madhan for your great help.. Having a good experience work with you...

image description

edit flag offensive delete link more
0

answered 2015-02-23 23:30:52 -0500

madhank gravatar image

updated 2015-02-23 23:34:01 -0500

No configuration needed in plugin.ini

do the below

vi /etc/neutron/plugins/ml2/ml2_conf.ini

[ml2]

type_drivers = flat,gre

tenant_network_types = gre

mechanism_drivers = openvswitch

[ml2_type_flat]

flat_networks = external

[ml2_type_gre]

tunnel_id_ranges = 1:1000

[securitygroup]

enable_security_group = True

enable_ipset = True

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]

local_ip = INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS

enable_tunneling = True

bridge_mappings = external:br-ex

save the file

If you already configured,Check your /etc/network/interface do as below

change your external bridge interface like below

auto eth2

iface eth2 inet manual

up ip address add 0/0 dev $IFACE

up ip link set $IFACE up

down ip link set $IFACE down

auto br-ex

iface br-ex inet static

address 172.16.5.3

netmask 255.255.0.0

network 172.16.5.0

broadcast 172.16.5.255

save it and restart the neutron services

edit flag offensive delete link more

Comments

Hi Madan, Thanks for the update.. I build my neutron server on RHEL7. I updated all configuration files and output. Please have a look into this and kindly suggest how I can ping the router gateway.

Pradipta_OS_M gravatar imagePradipta_OS_M ( 2015-02-24 21:08:02 -0500 )edit
0

answered 2015-02-24 23:30:14 -0500

madhank gravatar image

external ipaddress should not have any firewall restrictions see below how to create your ext-subnet

neutron subnet-create ext-net --name ext-subnet --allocation-pool start=192.168.2.100,end=192.168.2.150 --disable-dhcp --gateway 192.168.2.1 192.168.2.0/24

edit flag offensive delete link more

Comments

Hi Madan, I have configured all node as per Openstack official document.. Manually configured all node properly.. I am in last stage to access the instance.. Please share your Skype ID to me. Please share few min to check my setup and advise on this..

Pradipta_OS_M gravatar imagePradipta_OS_M ( 2015-02-25 09:32:21 -0500 )edit

Hi Pradipta ,yes i have invited you on skype you need to add me

madhank gravatar imagemadhank ( 2015-02-25 22:56:57 -0500 )edit

Please send me a request on skype "pradipta_pks" and "pradiptapks@gmail.com"

Pradipta_OS_M gravatar imagePradipta_OS_M ( 2015-02-25 23:55:43 -0500 )edit

At morning itself i gave a request to your skype id pradipta_pk need to add me ,can you check on your skype please

madhank gravatar imagemadhank ( 2015-02-26 01:52:29 -0500 )edit

Thanks Madan I added you in my friend list.. Please let me know when u are usually get free time. So that I will check with you..

Pradipta_OS_M gravatar imagePradipta_OS_M ( 2015-02-26 08:35:35 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-23 20:41:59 -0500

Seen: 394 times

Last updated: Mar 20 '15