public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare•com>
To: yao zhao <yao.development@gmail•com>
Cc: Leonardo Uzcudun <uzcudunl@yahoo•it>,
	Eric Dumazet <eric.dumazet@gmail•com>,
	"netdev@vger•kernel.org" <netdev@vger•kernel.org>
Subject: Re: VLAN 1 - Native
Date: Wed, 1 Feb 2012 18:14:15 +0000	[thread overview]
Message-ID: <1328120055.2541.5.camel@bwh-desktop> (raw)
In-Reply-To: <CADDf=MRuAWRFWMiCOOkWBzhW7_B3wRoMEpmk8ij=SxD2QvP3mw@mail.gmail.com>

On Wed, 2012-02-01 at 12:25 -0500, yao zhao wrote:
> How about this?
> 
> brctl addif br_vlan_1 eth0 eth1

Right, VID 1 is not special to Linux.

> brctl addif br_vlan_101 eth0.101 eth2.101

I think you mean eth2 rather than eth2.101.

This should work on:
1. Linux 2.6.36 and earlier, if eth0 has VLAN tag offload.
2. Linux 3.2 and later.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

  reply	other threads:[~2012-02-01 18:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1328095366.10975.YahooMailNeo@web29004.mail.ird.yahoo.com>
2012-02-01 11:24 ` VLAN 1 - Native Leonardo Uzcudun
2012-02-01 13:04   ` Eric Dumazet
     [not found]     ` <CADDf=MQ8EYEtOO2e5NJLrW0DKDz5xCBEBwuY6rxNu4Cybq=kKQ@mail.gmail.com>
2012-02-01 14:57       ` yao zhao
2012-02-01 15:05         ` Eric Dumazet
2012-02-01 15:14           ` Leonardo Uzcudun
2012-02-01 15:23             ` Eric Dumazet
2012-02-01 16:25           ` yao zhao
2012-02-01 16:44             ` Leonardo Uzcudun
2012-02-01 17:21               ` Eric Dumazet
2012-02-01 17:25               ` yao zhao
2012-02-01 18:14                 ` Ben Hutchings [this message]
2012-02-01 20:52                   ` yao zhao
2012-02-01 21:01                     ` Eric Dumazet
2012-02-01 22:01                       ` Leonardo Uzcudun
2012-02-01 19:26               ` Michal Soltys
2012-02-02  9:09                 ` Leonardo Uzcudun
2012-02-02  9:12                   ` Eric Dumazet
2012-02-02 12:17                     ` Michal Soltys
2012-02-02 16:33                       ` Jesse Gross
2012-02-02 12:10           ` Benny Amorsen
2012-02-02 12:53             ` Eric Dumazet

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=1328120055.2541.5.camel@bwh-desktop \
    --to=bhutchings@solarflare$(echo .)com \
    --cc=eric.dumazet@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=uzcudunl@yahoo$(echo .)it \
    --cc=yao.development@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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