bendavid wrote:@luckyparty can you post your /etc/config/network and /etc/config/wireless ?
Are you sure you're not overriding the MAC addresses set from the device tree in your configuration?
I am 100% sure that I did not overide the MAC.
However, now I tried TeutonJon78 suggestion by overriding the MAC of br-lan with the values from the sticker on the backside of the router (see content of config/network below). The interface br-lan has now the MAC from the sticker. Since then the error message "br-lan: received packet on eth1 with own address as source address" does not appear anymore.
I am still worried that MAC's of eth's are identical on both routers.
Does this has a negative effect?
network file of router Suedseite modified according to TeutonJon78 suggestion:
root@OpenWrt-Suedseite config# cat network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fda9:2d63:9140::/48'
config interface 'lan'
option type 'bridge'
option _orig_ifname 'eth1 wlan0 wlan1'
option _orig_bridge 'true'
option proto 'static'
option ipaddr '192.168.11.250'
option netmask '255.255.255.0'
option gateway '192.168.11.254'
option dns '192.168.11.254'
option ip6assign '64'
option ifname 'eth1'
option macaddr 'F4:F2:6D:B6:BA:38'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option metric '10'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0'
config interface 'tor'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.253.1'
option type 'bridge'
config interface 'usb'
option ifname 'usb0'
option proto 'dhcp'
option metric '20'
config interface 'ovpnudp'
option proto 'none'
option ifname 'tun0'
config interface 'ovpntcp'
option proto 'none'
option _orig_ifname 'tun1'
option _orig_bridge 'true'
option ifname 'tun1'
wireless file of router Suedseite not modified at all:
root@OpenWrt-Suedseite config# cat wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option disabled '0'
option log_level '3'
option country 'DE'
option channel '100'
option txpower '27'
config wifi-iface
option device 'radio0'
option mode 'ap'
option encryption 'psk2'
option wps_pushbutton '0'
option key '*****************'
option ssid 'Betasite'
option network 'lan'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
option htmode 'HT20'
option disabled '0'
option log_level '3'
option channel 'auto'
option txpower '20'
option country 'DE'
config wifi-iface
option device 'radio1'
option mode 'ap'
option encryption 'psk2'
option wps_pushbutton '0'
option ssid 'Betasite'
option key '******************'
option network 'lan'
config wifi-iface 'tor'
option device 'radio0'
option network 'tor'
option mode 'ap'
option isolate '1'
option key 'changeme'
option disabled '0'
option ssid 'Hochstraess freies WLAN'
option encryption 'none'
option macfilter 'deny'
list maclist 'A8:9F:BA:96:11:03'
list maclist '38:0B:40:38:0A:DE'
list maclist 'f4:f9:51:79:dc:da'
list maclist '6c:2f:2c:23:ce:85'
list maclist 'e8:80:2e:ea:b2:19'
config wifi-iface
option device 'radio1'
option mode 'ap'
option encryption 'none'
option ssid 'Hochstraess freies WLAN'
option network 'tor'
option macfilter 'deny'
list maclist '38:0B:40:38:0A:DE'
list maclist 'A8:9F:BA:96:11:03'
list maclist 'f4:f9:51:79:dc:da'
list maclist '6c:2f:2c:23:ce:85'
list maclist 'e8:80:2e:ea:b2:19'
ifconfig of Suedseite after reboot:
root@OpenWrt-Suedseite config# ifconfig
br-lan Link encap:Ethernet HWaddr F4:F2:6D:B6:BA:38
inet addr:192.168.11.250 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fda9:2d63:9140::1/64 Scope:Global
inet6 addr: fe80::f6f2:6dff:feb6:ba38/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1007400 errors:0 dropped:633 overruns:0 frame:0
TX packets:793973 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1973029026 (1.8 GiB) TX bytes:190357075 (181.5 MiB)
br-tor Link encap:Ethernet HWaddr 02:34:56:78:FB:FB
inet addr:192.168.253.1 Bcast:192.168.253.255 Mask:255.255.255.0
inet6 addr: fe80::34:56ff:fe78:fbfb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:599545 errors:0 dropped:0 overruns:0 frame:0
TX packets:1167645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35881181 (34.2 MiB) TX bytes:1690043119 (1.5 GiB)
eth0 Link encap:Ethernet HWaddr 00:03:7F:BA:DB:01
inet6 addr: fe80::203:7fff:feba:db01/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6522 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2200394 (2.0 MiB)
Interrupt:255
eth1 Link encap:Ethernet HWaddr 00:03:7F:BA:DB:02
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2161729 errors:0 dropped:0 overruns:0 frame:0
TX packets:845981 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2897038445 (2.6 GiB) TX bytes:201000439 (191.6 MiB)
Interrupt:2
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2846 errors:0 dropped:0 overruns:0 frame:0
TX packets:2846 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:446576 (436.1 KiB) TX bytes:446576 (436.1 KiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.1.1.1 P-t-P:10.1.1.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:80 (80.0 B)
tun1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.1.2.1 P-t-P:10.1.2.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:80 (80.0 B)
wlan0 Link encap:Ethernet HWaddr 00:34:56:78:FB:FB
inet6 addr: fe80::234:56ff:fe78:fbfb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38394 errors:0 dropped:0 overruns:0 frame:0
TX packets:615235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3873544 (3.6 MiB) TX bytes:884228131 (843.2 MiB)
wlan0-1 Link encap:Ethernet HWaddr 02:34:56:78:FB:FB
inet6 addr: fe80::34:56ff:fe78:fbfb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4512 errors:0 dropped:0 overruns:0 frame:0
TX packets:7719 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:644593 (629.4 KiB) TX bytes:2228025 (2.1 MiB)
wlan1 Link encap:Ethernet HWaddr 00:03:7F:12:ED:ED
inet6 addr: fe80::203:7fff:fe12:eded/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3123 errors:0 dropped:0 overruns:0 frame:0
TX packets:34748 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:835727 (816.1 KiB) TX bytes:5233239 (4.9 MiB)
wlan1-1 Link encap:Ethernet HWaddr 02:03:7F:12:ED:ED
inet6 addr: fe80::3:7fff:fe12:eded/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:678536 errors:0 dropped:0 overruns:0 frame:0
TX packets:1307362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50203516 (47.8 MiB) TX bytes:1908975089 (1.7 GiB)
network file of router Nordseite modified according to TeutonJon78 suggestion:
root@OpenWrt-Nordseite config# cat network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd44:6a4d:ba0b::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option gateway '192.168.11.254'
option dns '192.168.11.254'
option ip6assign '64'
option ipaddr '192.168.11.249'
option macaddr 'A4:2B:B0:CD:44:C2'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option metric '10'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0'
config interface 'tor'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.254.1'
option type 'bridge'
config interface 'usb'
option ifname 'usb0'
option proto 'dhcp'
option metric '20'
config interface 'ovpnudp'
option proto 'none'
option ifname 'tun0'
config interface 'ovpntcp'
option proto 'none'
option ifname 'tun1'
wireless file of router Nordseite not modified at all:
root@OpenWrt-Nordseite config# cat wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option disabled '0'
option log_level '3'
option channel '116'
option country 'DE'
option txpower '27'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option wps_pushbutton '0'
option ssid 'Betasite'
option key '*************'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
option htmode 'HT20'
option disabled '0'
option log_level '3'
option channel 'auto'
option txpower '20'
option country 'DE'
config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option wps_pushbutton '0'
option ssid 'Betasite'
option key '*************'
config wifi-iface 'tor'
option device 'radio0'
option network 'tor'
option mode 'ap'
option isolate '1'
option key 'changeme'
option disabled '0'
option ssid 'Hochstraess freies WLAN'
option encryption 'none'
option macfilter 'deny'
list maclist 'f4:f9:51:79:dc:da'
list maclist '6c:2f:2c:23:ce:85'
list maclist 'e8:80:2e:ea:b2:19'
list maclist '38:0B:40:38:0A:DE'
list maclist 'A8:9F:BA:96:11:03'
config wifi-iface
option device 'radio1'
option mode 'ap'
option encryption 'none'
option ssid 'Hochstraess freies WLAN'
option network 'tor'
option macfilter 'deny'
list maclist 'f4:f9:51:79:dc:da'
list maclist '6c:2f:2c:23:ce:85'
list maclist 'e8:80:2e:ea:b2:19'
list maclist '38:0B:40:38:0A:DE'
list maclist 'A8:9F:BA:96:11:03'
ifconfig of Nordseite after reboot:
root@OpenWrt-Nordseite config# ifconfig
br-lan Link encap:Ethernet HWaddr A4:2B:B0:CD:44:C2
inet addr:192.168.11.249 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fd44:6a4d:ba0b::1/64 Scope:Global
inet6 addr: fe80::a62b:b0ff:fecd:44c2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:232066 errors:0 dropped:728 overruns:0 frame:0
TX packets:194520 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:87636108 (83.5 MiB) TX bytes:91806149 (87.5 MiB)
br-tor Link encap:Ethernet HWaddr 02:34:56:78:E2:E2
inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::34:56ff:fe78:e2e2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35011 errors:0 dropped:4 overruns:0 frame:0
TX packets:45276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3796397 (3.6 MiB) TX bytes:39547272 (37.7 MiB)
eth0 Link encap:Ethernet HWaddr 00:03:7F:BA:DB:01
inet6 addr: fe80::203:7fff:feba:db01/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2437490 (2.3 MiB)
Interrupt:255
eth1 Link encap:Ethernet HWaddr 00:03:7F:BA:DB:02
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1929900 errors:0 dropped:0 overruns:0 frame:0
TX packets:1042962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2262170488 (2.1 GiB) TX bytes:841781716 (802.7 MiB)
Interrupt:2
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3690 errors:0 dropped:0 overruns:0 frame:0
TX packets:3690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:722310 (705.3 KiB) TX bytes:722310 (705.3 KiB)
wlan0 Link encap:Ethernet HWaddr 00:34:56:78:E2:E2
inet6 addr: fe80::234:56ff:fe78:e2e2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:603962 errors:0 dropped:0 overruns:0 frame:0
TX packets:1576709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:401861235 (383.2 MiB) TX bytes:2171508528 (2.0 GiB)
wlan0-1 Link encap:Ethernet HWaddr 02:34:56:78:E2:E2
inet6 addr: fe80::34:56ff:fe78:e2e2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7370 errors:0 dropped:0 overruns:0 frame:0
TX packets:9990 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:676445 (660.5 KiB) TX bytes:8575376 (8.1 MiB)
wlan1 Link encap:Ethernet HWaddr 00:03:7F:12:CB:CB
inet6 addr: fe80::203:7fff:fe12:cbcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:258486 errors:0 dropped:0 overruns:0 frame:0
TX packets:162661 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:355768677 (339.2 MiB) TX bytes:39662435 (37.8 MiB)
wlan1-1 Link encap:Ethernet HWaddr 02:03:7F:12:CB:CB
inet6 addr: fe80::3:7fff:fe12:cbcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28049 errors:0 dropped:0 overruns:0 frame:0
TX packets:38677 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3691303 (3.5 MiB) TX bytes:32132868 (30.6 MiB)