Making 2 Ethernet ports of ls1046ardb kit as L2 switch.
The problem is both the ports are not able to up simultaneously if they are in same network so i want these ports work as a L2 switch.
# brctl addbr mybridge
# brctl addif mybridge eth2
# brctl addif mybridge eth3
# ifconfig eth2 0.0.0.0
# ifconfig eth3 0.0.0.0
# ifconfig mybridge up
# ifconfig mybridge 192.168.100.5