openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19061
Re: Quantum bridge mapping dhcp default route (optsfile tag:tag0 setting?)
Robert-
Yes the tag setting should be in the opts file. What version of dnsmasq are you running? Also can you get a tcpdump of the DHCP traffic?
(tcpdump -vvv -n -i <dhcp interface> port 67 or port 68)
Thanks,
mark
On Nov 30, 2012, at 4:31 AM, Robert van Leeuwen <Robert.vanLeeuwen@xxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm having some trouble with getting a specified default route to the clients with Quantum, DHCP, dnsmasq and bridge mappings.
> The DHCP config is created, the opts file has the following content:
> tag:tag0,option:router,10.0.0.1
>
> However, the tag option seems to prevent this from working.
> The client get the IP of the dhcp server as the default route in stead of the config from the opts file.
> (the quantum bridge mapping and dhcp itself work fine)
> When I manually remove the "tag:tag0" from the opts file it starts working correctly.
>
> Any clue what could be going on?
> Does the tag setting belong in the opt file and if so, what could be preventing the gateway address from propagating to the client?
>
> The setup is as follows:
> * Quantum, bridge_mapping, Namespaces disabled
> * Runs on Folsom, Scientific Linux 6.3 with openvswitch 1.7.1 kernel module
>
> * quantum net-show
> +---------------------------+--------------------------------------+
> | Field | Value |
> +---------------------------+--------------------------------------+
> | admin_state_up | True |
> | id | 3921b212-4c67-4dd7-ae5f-dd2709e183ab |
> | name | Physical_Nova_Segment |
> | provider:network_type | vlan |
> | provider:physical_network | default |
> | provider:segmentation_id | 20 |
> | router:external | False |
> | shared | True |
> | status | ACTIVE |
> | subnets | eb98af42-27d4-4709-b0fd-1695d65e4a26 |
> | tenant_id | d4b773abd5204531819a29f909f5c653 |
> +---------------------------+--------------------------------------+
>
> * quantum subnet-show
> +------------------+----------------------------------------------------+
> | Field | Value |
> +------------------+----------------------------------------------------+
> | allocation_pools | {"start": "10.0.1.100", "end": "10.0.1.200"} |
> | cidr | 10.0.1.0/24 |
> | dns_nameservers | |
> | enable_dhcp | True |
> | gateway_ip | 10.0.1.1 |
> | host_routes | |
> | id | eb98af42-27d4-4709-b0fd-1695d65e4a26 |
> | ip_version | 4 |
> | name | Nova network |
> | network_id | 3921b212-4c67-4dd7-ae5f-dd2709e183ab |
> | tenant_id | d4b773abd5204531819a29f909f5c653 |
> +------------------+----------------------------------------------------+
>
> * quantum.conf:
> [DEFAULT]
> verbose = True
> debug = False
> use_syslog= True
> syslog_log_facility= LOG_LOCAL1
>
> bind_host = 0.0.0.0
> bind_port = 9696
> core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
> api_paste_config = api-paste.ini
> auth_strategy = keystone
> allow_overlapping_ips = False
> rpc_backend = quantum.openstack.common.rpc.impl_kombu
> control_exchange = quantum
> rabbit_host = rabbit.local
> notification_driver = quantum.openstack.common.notifier.list_notifier
> list_notifier_drivers = quantum.openstack.common.notifier.rabbit_notifier
> [QUOTAS]
>
> * dhcp_agent.ini:
> [DEFAULT]
> debug = False
> state_path = /var/lib/quantum
> interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
> dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
> use_namespaces = False
> root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
>
>
> Thanks,
> Robert van Leeuwen
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Follow ups
References