Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ethernet driver bug (?) using several MAC addresses (vlan use case) on the integrated NIC

Featured Replies

Hello,

 

After several days of debug I put the finger on a very strange issue using integrated Ethernet.

I use my Rockpro64 mostly as a Samba and DNS server.

 

In my network context I implement 2 vlans as vlan interfaces (eth0.10 and eth0.20).

Each of these interfaces needs to use a specific mac address that differs from physical eth0 mac address (it is an important point).

If I use only the physical mac my router is not be able to route correctly between vlans (probably an ivl/svl issue).

 

Under this context I first noticed that when I bring down eth0.20 although using vlan 10 (so eth0.10) connectivity is lost.

I then write a script to gather all needed information (ie. ip link/addr/route/rule/neigh, ping, arping, netstat, ...) ==> no peculiar problem

 

I then add a background tcpdump and, guess what, the connectivity loss didn't occur anymore !

After thinking a bit, I made the assumption that the main difference is the use of promiscuous mode during tcpdump.

 

==> and "bingo" : setting 'promisc' flag on eth0 acts as a workaround.

Also if I do not set a specific mac for vlan and use physical mac leads to no connectivity issue, despite the wrong routing.

 

The key point seems that bringing down a vlan interface unregisters all macaddress from listening process instead only the needed, so the connectivity problem.

 

I don't know if it's a hardware limitation, a driver bug or Armbian issue, but I am open to any fix or at least, any debug hint that helps to narrow down the root cause.

 

Regards.

 

Edited by arnaudf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.