Bug #186

wndr3700 eth0 cannot be configured as a distinct ethernet port

Added by Dave Täht on May 29, 2011. Updated on Sep 17, 2011.
Closed High Jo-Philipp Wich

Description

By default, openwrt configures the first radio + ethernet port as a bridge across the local switch, and wireless. It appears to be picking up the mac address of the wireless interface when doing so, and works pretty good, except that thus far I’ve been unable to coax greater than 60Mbit performance out of it.

It would be useful to be able to NOT configure the ethernet interface as a bridge, but as a real, separate wired interface for my ongoing investigation to QoS and multicast issues, in particular.

Attempting to do so, results in the following - even after disabling the wireless interfaces entirely.

root@aitne:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr C4:3D:C7:B0:AE:36
inet addr:192.168.130.1 Bcast:192.168.130.255 Mask:255.255.255.0
inet6 addr: fe80::c63d:c7ff:feb0:ae36/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1219 errors:0 dropped:1218 overruns:0 frame:0
TX packets:1296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:16
RX bytes:130214 (127.1 KiB) TX bytes:338924 (330.9 KiB)
Interrupt:4

100% drops.

Even though, the other ethernet interface is fine

eth1 Link encap:Ethernet HWaddr C4:3D:C7:B0:AE:37
inet addr:192.168.115.171 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80::c63d:c7ff:feb0:ae37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5081 errors:0 dropped:0 overruns:0 frame:0
TX packets:3399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:5
RX bytes:669121 (653.4 KiB) TX bytes:312308 (304.9 KiB)
Interrupt:5

openwrt bleeding edge, r26878

There are no revealing errors in the log, this is all that is said about eth0 and eth1.

root@aitne:~# dmesg | grep eth0
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: using fixed link parameters
eth0: link up (1000Mbps/Full duplex)
eth0: link down
eth0: link up (1000Mbps/Full duplex)

Attachments

History

Updated by Dave Täht on May 29, 2011.
config switch
option name rtl8366s
option reset 1
option enable_vlan 1
# Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms; 4=340ms; 5=670ms
option blinkrate 2

config switch_vlan
option device rtl8366s
option vlan 1
option ports “0 1 2 3 5t”

I’m about to turn off vlan and see what happens.

Updated by Dave Täht on May 29, 2011.
Turned off the vlan on the switch, I see packets YES! Bwhahahahaa
Updated by Dave Täht on May 29, 2011.
the wireless interfaces insist on coming up on the same mac as eth0

perhaps there is a mac wired into the ethernet interface that is not being seen?

Updated by Dave Täht on Jun 13, 2011.
The only cure for this, assuming there is no mac addr assigned, is to either
invent one, or buy a OUI.

I REALLY want to route, not bridge.

Updated by Dave Täht on Jun 13, 2011.
I am frustrated enough by bridging to want to go pure routing. I can easily, with various forms of traffic on the switch, totally saturate the wireless bridge. Regrettably there is no extra mac on the wndrs.

Buying a full set of ‘bufferbloat’ mac ids will cost 1750.00 dollars.

Updated by Jo-Philipp Wich on Jun 16, 2011.
This is a possible fix for the duplicate MAC address issue, the same trick is already applied to the Routerstation boards.
Updated by Dave Täht on Jun 24, 2011.
Oh, thank you. I did NOT see this fix when it went by.
Updated by Dave Täht on Jul 10, 2011.
automagic mac generation fix appears to work well. Would suggest pushing into openwrt head, if you haven’t already.
Updated by Dave Täht on Jul 28, 2011.
Updated by Dave Täht on Aug 11, 2011.
Well, I’ll carry this patch forward if I have to.
Updated by Dave Täht on Sep 17, 2011.

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent News & Articles

Sep 6, 2018 Wiki page
Pete Heist's Thoughts on ECN
Sep 5, 2018 Wiki page
Dave Taht's Stance on ECN
Sep 4, 2018 Wiki page
Jonathan Morton's Take on ECN
Sep 3, 2018 Wiki page
ECN-Sane Project
Aug 24, 2018 Wiki page
ECN-Sane Project

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine

Sponsors

Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation
GoFundMe

Bufferbloat Related Projects

Congestion Control Blog
Lede Project (OpenWrt)
Flent Network Test Suite
Sqm-Scripts
The Cake shaper
AQMs in BSD
IETF AQM WG

Network Performance Related Resources


Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".