Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Piotr Chytla <pch@packetconsulting.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] linux bridging vlans?
Date: Thu, 30 Mar 2006 13:24:52 +0000	[thread overview]
Message-ID: <20060330132451.GA10820@packetconsulting.pl> (raw)
In-Reply-To: <1143679385.16301.17.camel@localhost>

On Thu, Mar 30, 2006 at 02:43:05AM +0200, Andraz Sraka wrote:
> re
> 
> can somebody tell me what am I doing wrong (at this late night hour),
> because vlan are not getting bridged at all.
> 
>    ifconfig eth0 0.0.0.0 up
>    ifconfig eth1 0.0.0.0 up
>    brctl addbr br0
>    brctl addif br0 eth0
>    brctl addif br0 eth1
>    ifconfig br0 up
>    vconfig add br0 X
>    vconfig add br0 Y
> 
> X = vlan-ID (example: 222)
> Y = vlan ID (example: 223)
>
You can't add vlan interface to bridge , bridge connects two or more
physical ethernet interfaces to one logical. 

Would be better to first create vlans on eth0/1 and next you can bridge
both vlans.

Something like that:

vconfig add eth0 X
vconfig add eth0 Y
vconfig add eth1 X
vconfig add eth1 Y
brctl addbr br0
brctl addif br0 eth0.X
brctl addif br0 eth1.X

brctl addbr br1
brctl addif br1 eth0.Y
brctl addif br1 eth1.Y

/pch

-- 
Dyslexia bug unpatched since 1977 ...
exploit has been leaked to the underground.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2006-03-30 13:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30  0:43 [LARTC] linux bridging vlans? Andraz Sraka
2006-03-30  9:01 ` m.innocenti
2006-03-30 13:24 ` Piotr Chytla [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=20060330132451.GA10820@packetconsulting.pl \
    --to=pch@packetconsulting.pl \
    --cc=lartc@vger.kernel.org \
    /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