Test whether enhanced networking is enabled
You can test whether enhanced networking is enabled in your instances or your AMIs.
Instance attribute
Check the value of the enaSupport
instance attribute.
Image attribute
Check the value of the enaSupport
image attribute.
Linux network interface driver
Use the following command to verify that the ena
kernel driver
is being used on a particular interface, substituting the interface name that
you want to check. If you are using a single interface (default), this is
eth0
. If your Linux distribution supports predictable network names,
this could be a name like ens5
. For more information, expand the section
for RHEL, SUSE, and CentOS in
Enable enhanced networking on your instance.
In the following example, the ena
kernel driver is not
loaded, because the listed driver is vif
.
[ec2-user ~]$
ethtool -ieth0
driver: vif version: firmware-version: bus-info: vif-0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no
In this example, the ena
kernel driver is loaded and at
the minimum recommended version. This instance has enhanced networking properly
configured.
[ec2-user ~]$
ethtool -ieth0
driver: ena version: 1.5.0g firmware-version: expansion-rom-version: bus-info: 0000:00:05.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no