On Fri, 2 Sep 2005 18:36:33 +0200 "Tabaro Pierantonio" <tabarot@xxxxxxxxxx> wrote: > about Your reply: > > > I'm not sure I understand what you want. Let me summarise > > what I *think* you want: > > > > In "embedded linux BOX" you want everything received on eth1 > > to get copied to a predefined vlan on eth0 EVEN IF it is also > > sent up the IP stack locally. > > In a "linux BOX" I want everything received on eth1 to get copied to a > vlanX on eth0 and viceversa > (everything received from eth0 for vlanX to get copied to a eth1) > WITHOUT send to up to the IP stack locally. > The software on the IP stack over eth0 work normally without vlan or in > default vlan(1?) > The eth1 is "unconfigured" without ip (is possible turn it up without > this?) > > I hope this clarify the scenario > Ah that's easy. Just create a bridge brctl addbr br0 and a vlanX over eth0 vconfig add eth0 10 ifconfig eth0.10 0.0.0.0 up Remove the IP stack from eth1 ifconfig eth1 0.0.0.0 up Add the IP stack to eth0 ifconfig eth0 a.b.c.d Add eth1 and vlanX to bridge brctl addif br0 eth1 brctl addif br0 eth0.10 Enable bridge (without IP stack) ifconfig br0 0.0.0.0 up This does exactly what you require Alex