No interfaces showing in AWS Ubuntu 20.04

61 views
Skip to first unread message

Marc Walker

unread,
Aug 2, 2023, 11:36:45 AM8/2/23
to flexiWAN users
Hello everyone,

Is there a newer version of how to install the flexiwan router in AWS? I cant seem to get the FlexiUI to see my network devices.

I am following the manual process - https://docs.flexiwan.com/guides/manual.html

In vmware this works fine, just not in AWS?

network:
    ethernets:
        eth0:
            dhcp4: true
            dhcp4-overrides:
                route-metric: 100
            dhcp6: false
            match:
                macaddress: 06:d3:e8:3c:c9:76
            set-name: eth0
        eth1:
            dhcp4: true
            dhcp4-overrides:
                route-metric: 200
            dhcp6: false
            match:
                macaddress: 06:93:ea:24:8e:f0
            set-name: eth1
    version: 2

ubuntu@CT03NETWAN01:/etc/netplan$ ethtool -i eth0
driver: vif
version: 5.15.0-1040-aws
firmware-version:
expansion-rom-version:
bus-info: vif-0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

ubuntu@CT03NETWAN01:/etc/netplan$ ethtool -i eth1
driver: vif
version: 5.15.0-1040-aws
firmware-version:
expansion-rom-version:
bus-info: vif-1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no


Sassy Natan

unread,
Aug 2, 2023, 12:05:32 PM8/2/23
to Marc Walker, flexiWAN users
Hi,

Which instance type are you using?
Some EC2 instances do not support DPDK which is a requirement by flexiEdge.
Best practice to use enhanced networking -  Elastic Network Adapter (ENA).

Can you provide the output of the command ec2metadata
> --
> You received this message because you are subscribed to the Google Groups "flexiWAN users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to flexiwan-user...@flexiwan.com.
> To view this discussion on the web visit https://groups.google.com/a/flexiwan.com/d/msgid/flexiwan-users/97796e25-e3ae-4de6-a478-e8976040e6d9n%40flexiwan.com.

Marc Walker

unread,
Aug 2, 2023, 12:32:53 PM8/2/23
to flexiWAN users, Sassy Natan, flexiWAN users, Marc Walker
Hi Sassy,

Thank you for your response.

Instance type is t2.medium with an Ubuntu 20.04 image that says it supports ENA.

Output below as requested:

ubuntu@ip-10-10-10-60:~$ ec2metadata
ami-id: ami-007ec828a062d87a5
ami-launch-index: 0
ami-manifest-path: (unknown)
ancestor-ami-ids: unavailable
availability-zone: eu-west-2a
block-device-mapping: ami
ephemeral0
ephemeral1
root
instance-action: none
instance-id: i-0b61e3e3635a7019e
instance-type: t2.medium
local-hostname: ip-10-10-10-60.eu-west-2.compute.internal
local-ipv4: 10.10.10.60
kernel-id: unavailable
mac: unavailable
profile: default-hvm
product-codes: unavailable
public-hostname: unavailable
public-ipv4:
public-keys: ['']
ramdisk-id: unavailable
reservation-id: r-028e1a59c191b54d0
security-groups: FlexiWAN-SG
user-data: unavailable

Sassy Natan

unread,
Aug 2, 2023, 2:34:53 PM8/2/23
to Marc Walker, flexiWAN users


Network  interface driver

the following command to verify that the ena module is being used on a particular interface, substituting the interface name that you want to check. If you are using a single interface (default), it this is eth0. If the operating system supports predictable network names, this could be a name like ens5.

In the following example, the ena module is not loaded, because the listed driver is vif.

[ec2-user ~]$ ethtool -i eth0 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 module is loaded and at the minimum recommended version. This instance has enhanced networking properly configured.

[ec2-user ~]$ ethtool -i eth0 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 

Marc Walker

unread,
Aug 2, 2023, 3:52:46 PM8/2/23
to flexiWAN users, Sassy Natan, flexiWAN users, Marc Walker
Hi Sassy,

I think its the VM instance type as you originally suggested:


I have it working on an m5.large, so will play around with the smaller ones and see if I can get a 2core, 4gb RAM version working.

Many thanks for your help! :)
Reply all
Reply to author
Forward
0 new messages