Originally Posted by peric0
The two LAN interfaces must have the same ip and behave like a switch.
You will want to study Section 6.9
of the FAQ as this discusses bridging.
Do not know if this may be creating a trunk interface or a bridge.
I assume you are thinking about creating VLAN's to simulate multiple switches. Before getting too far, you will need to verify that your Ethernet interfaces can support VLAN's. Not all network interfaces do. The first place to go is to study the manpage for the interfaces shown in your chmod(2)