Re: VLAN switching in linux kernel...

From: David T Hollis
Date: Fri Dec 19 2003 - 08:03:19 EST


On Fri, 2003-12-19 at 07:13, Madhavi wrote:
> Hi,
>
> I have a doubt regarding the VLAN operation of the Standard Linux kernel
> (linux-2.4.20).
>
> My network setup is something like this:
>
> ---+---------------+------ VLAN ID 200
> |eth0.200 |eth0.200
> +------+ +------+
> | HA | |Router|
> +------+ +------+
> |eth1.300
> -----------+-------------- VLAN ID 300
> |eth0.300
> +------+
> | HB |
> +------+
>
> When I send ping packets from HA to HB over the interface eth0.200, is
> possible for the Router (using linux-2.4.20 with CONFIG_8021Q option) to
> switch packets from VLAN 200 to VLAN 300?
>
> Is this VLAN switching functionality supported by the standard linux kernel?
> Is there some extra configuration, some patches or sources that can support
> this feature for linux?
>
> I would be a great help to me if someone could answer this or give some
> pointers to this?
>
> Thanks & Regards
> Madhavi.
>

You would route between the two VLANs. They are two different broadcast
domains, you need to route them at Layer 3. HA would have a route or
default gw pointed at ROUTER which has IP forwarding turned on and you
should be able to hit HB.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/