On Tue, 14 Sep 2004 14:48:58 +0100 (BST)
liam sharp <piccalo_clark@yahoo.co.uk> wrote:
> Hi,
>
> I'm using Vlans in my network as a way of preventing
> pier to pier communication - I only want nodes in the
> network to talk to the gateway (a linux box).
>
> I have successfully set up lots of sub interfaces
> using the vconfig too, one for each vlan. What I would
> like to be able to do is remove the ip address from
> each of these subinterfaces eth0.x and bridge them to
> eth0. I have successfully worked through the HOWTO,
> but cannot see how to adapt this to my situation.
>
> I want the network to appear to eth0 as if all the
> nodes are on the same network - like if I didn't use
> any Vlans at all.
That isn't going to work. eth0 is the needed to provide the
tagged interface, the eth0.x are just pseudo interfaces that
have tags.
You can bridge the vlan's but unless you do filtering with ebtables
to restrict what flows why bother? If you do bridge a bunch of vlan's
then the original eth0 interface on the bridge should be left alone.
If you need the bridge to have an IP address assign it to the bridge
pseudo network device (br0).