Netdev List
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "安理 李剑" <dovelijian@163.com>
Cc: netdev@vger.kernel.org
Subject: Re: Some question about 802.1Q VLAN
Date: Thu, 12 Feb 2015 05:40:35 -0800	[thread overview]
Message-ID: <20150212054035.7c7f6ff1@uryu.home.lan> (raw)
In-Reply-To: <79f6e3b1.10533.14b723e5dc4.Coremail.dovelijian@163.com>

On Tue, 10 Feb 2015 14:47:44 +0800 (CST)
安理 李剑 <dovelijian@163.com> wrote:

> 
> 
> 
> 
> HI…I am a Linux VLAN user. Now, I encounter some question about 802.1Q VLAN in my wireless AP. My Linux kernel version is 2.6.31.
>  
> Plese see my setting:
>            vconfig add eth0 10
>            vconfig add ath0 10
>            ifconfig eth0.10 up
>            ifconfig ath0.10 up
>            brctl addbr br0
>           brctl addbr br1
>           brctl addif br0 ath0
>           brctl addif br0 eth0
>           brctl addif br1 ath0.10
>           brctl addif br1 eth0.10
>           ifconfig br0 up
>           ifconfig br1 up
>                           
> The eth0 and ath0 is real network card in my AP,and the ath0 is the wireless card.
>  
> Question:
>      Two station associate AP by wireless,the two station and AP use same VLAN setting like my describe.One station br0 Ip address is 192.168.1.10/24,br1 ip address is 192.168.2.10/24;other station br0 ip address is 192.169.1.11/24, br1 ip address is 192.168.2.12/24.The AP is used bridge the data from station.
>   But now use station1 ping station2: ping 192.168.1.11,it is successed; ping 192.168.2.12,it is failed!!!
>   I don’t know the reason about the fail situation ,I need some help.
>   Thank you!

Wireless internally is point to point and does support true promiscious
mode. Typically AP's implement Ethernet level (L2) NAT to deal with this.
 

      reply	other threads:[~2015-02-12 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10  6:47 Fw:Some question about 802.1Q VLAN 安理 李剑
2015-02-12 13:40 ` Stephen Hemminger [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=20150212054035.7c7f6ff1@uryu.home.lan \
    --to=stephen@networkplumber.org \
    --cc=dovelijian@163.com \
    --cc=netdev@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