Which kernel version does your Ubuntu image use? Have it got mt7530 module loaded? Are there any references to mt7530 in Ubintu’s dmesg?
Yes in ubuntu mt7530 module is not loaded. Only eth0 and eth1 are created and I can create eth0 aliases on same subnet and its working fine.
why do you thing you need to remove bridge in order to create interface aliases?
As I mentioned earlier yes I want to create aliases on eth0(on same subnet).
With switch functionality, lan0-lan3 created are created and so I think I can’t set same subnet IP address on aall ports. If I set then ping happens only on one port.
root@LEDE:/# ifconfig br-lan down
root@LEDE:/# brctl delbr br-lan
[ 1052.495867] device lan3 left promiscuous mode
[ 1052.500302] br-lan: port 4(lan3) entered disabled state
[ 1052.506807] device lan2 left promiscuous mode
[ 1052.511193] br-lan: port 3(lan2) entered disabled state
[ 1052.517461] device lan1 left promiscuous mode
[ 1052.521834] br-lan: port 2(lan1) entered disabled state
[ 1052.527900] device lan0 left promiscuous mode
[ 1052.532219] device eth0 left promiscuous mode
[ 1052.536610] br-lan: port 1(lan0) entered disabled state
root@LEDE:/# ifconfig lan0 192.168.2.10
root@LEDE:/# ifconfig lan1 192.168.2.20
root@LEDE:/# ifconfig lan2 192.168.2.30
root@LEDE:/# ifconfig lan3 192.168.2.40
root@LEDE:/# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 lan0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 lan1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 lan2
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 lan3
I compiled the kernel with mt7530 as a module, with this image eth0 and eth1 are created but somehow link itself is not up. when I connect PC and the board(wan/lan any ports) PC failing to detect link itself.
For my appliation(OpenWRT), I need to initialize all lan ports on same subnet. Can you please help me in achieving this on OpenWRT.