ethernet bridge on imx8mp eqos interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ethernet bridge on imx8mp eqos interface

404 Views
inkwaterman
Contributor II

Hi,

I have an issue on imx8mp eqos ethernet interface.

I'm trying to bridge eth0 with wlan0 using NetworkManager.

in order to setup the bridge I used the commads:

 

 

nmcli connection add con-name Bridge ifname br0 type bridge ipv4.method auto ipv6.method disabled connection.autoconnect yes stp no
nmcli connection add con-name Ethernet ifname eth0 type bridge-slave master Bridge connection.autoconnect yes
nmcli connection add con-name Hotspot ifname wlan0 type wifi slave-type bridge master Bridge wifi.mode ap wifi.ssid my-hotspot-ssid

nmcli con mod Bridge ipv4.addresses 192.168.2.62/24
nmcli con mod Bridge ipv4.gateway 192.168.2.1
nmcli con mod Bridge ipv4.dns "8.8.8.8"
nmcli con up Bridge

 

 

 

The last one returns the following:

 

 

Connection successfully activated (master waiting for slaves)

 

 

 

when I used the eth0 out the bridge it worked without any issue.

In order to test my commands I repeated the procedure with a USB to ethernet converter as eth1 interface:

 

 

nmcli connection add con-name Bridge ifname br0 type bridge ipv4.method auto ipv6.method disabled connection.autoconnect yes stp no
nmcli connection add con-name Ethernet1 ifname eth1 type bridge-slave master Bridge connection.autoconnect yes
nmcli connection add con-name Hotspot ifname wlan0 type wifi slave-type bridge master Bridge wifi.mode ap wifi.ssid my-hotspot-ssid

nmcli con mod Bridge ipv4.addresses 192.168.2.62/24
nmcli con mod Bridge ipv4.gateway 192.168.2.1
nmcli con mod Bridge ipv4.dns "8.8.8.8"
nmcli con up Bridge

 

 

 

with this configuration the bridge worked as aspected...

can you help me understand why with eth0 doesn't works ?

There are some functionality that the eqos driver doesn't support in comparison to the usb-to ethernet driver ?

I'm using the kernel version 5.15.5 and nxp yocto honister for image building.

The board is a custom one and both wlan and eth0 work without issues outside the bridge.

Many thanks

0 Kudos
0 Replies