Neutron advertises too high MTU for vxlan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Dr. Jens Harbott |
Bug Description
When creating a tenant network with type vxlan, the MTU is automatically set to 1450:
# neutron net-show net2
+------
| Field | Value |
+------
| admin_state_up | True |
| availability_
| availability_zones | nova |
| created_at | 2016-04-08T11:11:42 |
| description | |
| id | f44e9e2c-
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1450 |
| name | net2 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 288021c1-
| tags | |
| tenant_id | e3c253d3e8344a8
| updated_at | 2016-04-08T11:11:42 |
+------
This is the maximum Ethernet MTU possible for the tenant assuming the encapsulated packet has to fit into an IP MTU of 1500 on the tunnel network.
Now neutron tells DHCP to set --dhcp-
But now it will send Ethernet frames of size 1454, which encapsulated have size 1504, and thus get dropped on the tunnel network.
The correct behaviour here would be to advertise an MTU reduced by 4 via DHCP.
Fix proposed to branch: master /review. openstack. org/303399
Review: https:/