Hello together,
thanks a lot for your support. I am not using the option "dnsmasq_config_file =/etc/neutron/dnsmasq-neutron.conf" in the dhcp_agent.ini file, because the value in the "dhcp-option=26,1400" is used during Path MTU discovery protocol, where DHCP Server would like to assign an MTU value to instances, and my instances (cirros) does not consider PMTU.
Be aware, my issue in not any MTU size value on any instance or subnet, but only the MTU size of the physical network created with the neutron command "neutron net-create..........." with admin priviliges.
When I use in the ml2 file the value path_mtu=segment_mtu=1604 bytes, then Neutron reduces from that value 50 bytes, finally resulting in the expected 1554 bytes, which are required for VXLAN based Overlay Networks.
Please see output "net-create ..." command executed with admin rights with path_mtu=segment_mtu=1604 bytes:
root@controller01:~# neutron net-create TENANT_NET100 --tenant-id fe55df4eac9a4f7b9460877e5c30a923 --provider:network_type vxlan --provider:segmentation_id 100
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2016-09-08T14:07:52 |
| description | |
| id | d2a33db5-c466-4d6e-a22a-eb1e70905007 |
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1554 |
| name | TENANT_NET100 |
| port_security_enabled | True |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 100 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| tenant_id | fe55df4eac9a4f7b9460877e5c30a923 |
| updated_at | 2016-09-08T14:07:52 |
+---------------------------+--------------------------------------+
When I use instead of 1604 bytes the normal expected value 1554 bytes (path_mtu=segment_mtu=1604 bytes) in ml2 config, then the same output shows 1504 bytes for the physical network, which is unsufficient for VXLAN Overlay Networks:
My question is, why does Neutron when creating pyhsical networks as admin user reduce 50 bytes from the configured path_mtu/segment_mtu? This problem does not happen only Ubuntu OpenStack Mitaka, but also Ubuntu OpenStack Liberty Release.
As workaround of course we just use the value path_mtu=segment_mtu=1604 bytes in the ml2 config file.
Greetings
Thomas
where did you find this
patch_mtu
option? I don't see it in the source code.