ok, really stumped.
getting a lot of 'br-lan: received packet on eth0.1 with own address as source address'.
The router involved has a fixed mac address of 00:11:22:33:44:55 in CFE. I already have this 'clone' on my lan in my main router.... which is also showing a lot of these....
I can set a new MAC in br-lan (e.g. 00:11:22:33:55:55), but it does not seem to make any difference.
ifconfig gives:
br-lan Link encap:Ethernet HWaddr 00:11:22:33:66:55
inet addr:192.168.1.207 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd45:1f55:8357::1/60 Scope:Global
inet6 addr: fe80::211:22ff:fe33:6655/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4926 errors:0 dropped:12 overruns:0 frame:0
TX packets:1996 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1081581 (1.0 MiB) TX bytes:566581 (553.3 KiB)
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6876 errors:0 dropped:0 overruns:0 frame:0
TX packets:2931 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1449138 (1.3 MiB) TX bytes:918756 (897.2 KiB)
Interrupt:14
eth0.1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4926 errors:0 dropped:0 overruns:0 frame:0
TX packets:1996 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1081581 (1.0 MiB) TX bytes:566581 (553.3 KiB)
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:328 errors:0 dropped:0 overruns:0 frame:0
TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:25265 (24.6 KiB) TX bytes:25265 (24.6 KiB)
So I assume that the two routers are detecting the eth0/eth0 conflict of MAC address.
I've already bricked one router by trying to hand-modify the CFE and writing it over mtd0 (I guess it's checksummed, oh well).
I don't think there is any populated 'NVRAM' in the routers (nvram mtd5 seems empty).
cat /proc/mtd gives:
dev: size erasesize name
mtd0: 00020000 00020000 "CFE"
mtd1: 0013694c 00020000 "kernel"
mtd2: 00e895b4 00020000 "rootfs"
mtd3: 00c40000 00020000 "rootfs_data"
mtd4: 00fc0000 00020000 "linux"
mtd5: 00020000 00020000 "nvram"
I can't see in uci how a mac address modification can be made to eth0?
my network file is:
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 'fd45:1f55:8357::/48'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.207'
option macaddr '00:11:22:33:66:55'
option _orig_ifname 'eth0.1 radio0.network1'
option _orig_bridge 'true'
option ifname 'eth0.1'
option gateway '192.168.1.1'
option dns '192.168.1.1'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0 1 2 3 4 5t'
the router is a BT Homehub V2A (bcm 63xx), running
LEDE Reboot 17.01.0 r3205-59508e3 / LuCI lede-17.01 branch (git-17.051.53299-a100738)
Any bright ideas appreciated :). I have a couple more of these routers, and they are pretty useless if they can't share a lan!
(I do want to use switch functionality, as this will be an OpenVPN client with one port looking out, and three ports as my private lan).
thanks in advance,
Simon