Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1724 (new defect)

Opened 11 years ago

"received packet with own address as source address" should not be displayed for bridges

Reported by: sergio@ammirata.net Assigned to:
Priority: minor Milestone:
Component: madwifi: driver Version: v0.9.3.3
Keywords: bridging Cc:
Patch is attached: 0 Pending:

Description

I am testing using two machines. They have identical software and hardware, kernel 2.6.16 and Atheros 5212.

One is configured as an AP and the other one as a STATION

They both have bridges defined and the wireless interfaces are inside the bridges. The AP only has one interface. The STATION has two interfaces: the wireless and a regular Ethernet. Here is the output of brctl show on both:

AP:
/>brctl show
bridge name     bridge id               STP enabled     interfaces
br0             000a.0060b3071bb6       no              wlan0

STA:
/>brctl show
bridge name	bridge id		STP enabled	interfaces
br0		000a.0060b3071bb6	no		wlan0
							eth0

The wireless interfaces both have wds set to 1 or bridging would not work.

The bridge always acquires the mac address of the first interface you put in. Thus, packets initiated by either machine have the corresponding wireless mac address as the source address. This causes the driver to complaint on a scenario that is acceptable for every packet that goes out. This is the warning:

wlan0: received packet with own address as source address:

In this scenario, there should be no warning.