Project

General

Profile

Actions

Error #484

closed

Switched Ethernet devices with all ports in one VLAN are not correctly handled during autoconfiguration

Added by Roger Pueyo Centelles about 4 years ago. Updated about 4 years ago.

Status:
Tancat
Priority:
Alta
Category:
Network
Target version:
Start date:
12/01/2020
Due date:
% Done:

100%

Estimated time:
4:00 h
Spent time:

Description

For example, EdgeSwitch 8 XP has eth0 with 8 switch ports on eth0.1 inside br-lan, and eth1 on its own. Instead of using eth0.1 as LAN device, it puts eth0, which is incorrect and does not work.

Actions #1

Updated by Roger Pueyo Centelles about 4 years ago

  • Status changed from Nou to Resolt
  • % Done changed from 0 to 100
  • Estimated time changed from 2:00 h to 4:00 h

Fixed in b3ea015da20b31f89faa1ceff3e8f10a79c007bf.

In slow devices with switched interfaces, (e.g., eth0.1.), these take some
seconds to appear under /sys/class/net after a network restart. Therefore,
default OpenWrt interfaces, which are well-known to exist from /etc/board.json,
seem to not be there, and qmp_configure_smart_network skips them.

By waiting for the known interfaces in $default_lan and $default_wan to appear
under /sys/class/net we get proper interfaces detection:
---------------------------------------
Starting smart networking configuration
---------------------------------------
Default device network:
- LAN eth0.1
- WAN eth1
Waiting for eth0.1... (0)
Waiting for eth0.1... (1)
Waiting for eth0.1... (2)
Network devices found:
- LAN eth0.1
- MESH eth0.1 eth1
- WAN eth1
- NO VLAN eth0.1 eth1
... done!
Actions #2

Updated by Roger Pueyo Centelles about 4 years ago

  • Status changed from Resolt to Tancat
Actions

Also available in: Atom PDF