Using the official CentOS 7 Marketplace AMI on an EC2 Instance, the network adapter appears to default to using Jumbo Frames:
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 0a:09:37:73:0f:7a brd ff:ff:ff:ff:ff:ff
What is the best method for disabling this? Why does it default to mtu 9001?
Editing /etc/sysconfig/network-scripts/ifcfg-ens5 does not seem to be an option:
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=dhcp
DEVICE=ens5
HWADDR=0a:09:37:73:0f:7a
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
I would like the change to persist.