I have a Fon2 which has 2 wired NICs and I want to set it up so that they work together as a normal switch. No need for vlans or firewalls just put the two together and let all the traffic flow. I also want the device to have an IP address.
I've done a lot of reading on the openwrt site that talks about fancy setups to have multiple vlans to separate 5 port WRTs into different switches but nothing that says how to removing vlans or at least how to go back to a minimal setup.
The best I can come up with from reading through is
config switch eth0
option vlan0 "0 1"
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.0.33'
option 'netmask' '255.255.255.0'
option 'ifname' 'eth0.0'
But then eth0.1 is created but doesn't do anything.
I can setup a bridge with brctl and add eth0.0 and eth0.1 to it and that allows bridging but I'm trying to test a theory that the transparent proxy I'm trying to setup is being affected by vlans, hence wanting to go back to complete scratch so I can build it up from the ground knowing exactly what is happening at each step.