public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@codefidence.com>
To: David T Hollis <dhollis@davehollis.com>, Madhavi <madhavis@sasken.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: VLAN switching in linux kernel...
Date: Sat, 20 Dec 2003 19:07:36 +0200	[thread overview]
Message-ID: <200312201907.36311.gilad@codefidence.com> (raw)
In-Reply-To: <1071837956.8316.1.camel@dhollis-lnx.kpmg.com>

On Friday 19 December 2003 14:45, David T Hollis wrote:

> > 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?
> >
> 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.

Another options is to bridge between the two VLAN interfaces (eth0.200 
and eth0.300). man "brctl" to learn how to enslave both ports to a 
bridge unit. 

Note: you might need to use the vconfig option "set_flag [vlan-device] 
1" to enable Ethernet headers reoredering to get this to do what you 
want.

Cheers,
Gilad

-- 
Gilad Ben-Yossef <gilad@codefidence.com>
Codefidence. A name you can trust (tm)
http://www.codefidence.com


-- 
Gilad Ben-Yossef <gilad@codefidence.com>
Codefidence. A name you can trust (TM)
http://www.codefidence.com


      reply	other threads:[~2003-12-20 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-19 12:13 VLAN switching in linux kernel Madhavi
2003-12-19 12:45 ` David T Hollis
2003-12-20 17:07   ` Gilad Ben-Yossef [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312201907.36311.gilad@codefidence.com \
    --to=gilad@codefidence.com \
    --cc=dhollis@davehollis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madhavis@sasken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox