Connect multiple Carambola2 devices together using Openwrt

I found a fun little network enabled device that runs Openwrt called Carambola2. The developer kit version has two ethernet ports and I wanted to try connecting them all on the same subnet by daisy chaining via the eth0 and eth1 across multiple devices. The requirement is to connect them in a way that any device can connect to any other device on the network but do not use a centralized switch to do so. The following configuration on the lan part of the network configuration shows how I connected eth0 and eth1. The configuration uses staticIP but I have not figured out if dhcp works via the main router yet.

config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask ''
option ipaddr ''
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ifname 'eth0 eth1'
option gateway ''
option dns ''
option broadcast ''

In this case, the device node is set to Make sure each device has a unique IP within the subnet range.

Leave a Reply

Your email address will not be published.