lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 1 Feb 2012 09:57:51 -0500
From:	yao zhao <yao.development@...il.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Leonardo Uzcudun <uzcudunl@...oo.it>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: VLAN 1 - Native

On Wed, Feb 1, 2012 at 9:50 AM, yao zhao <yao.development@...il.com> wrote:
>
>
> On Wed, Feb 1, 2012 at 8:04 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
>>
>> Le mercredi 01 février 2012 à 11:24 +0000, Leonardo Uzcudun a écrit :
>> > ________________________________
>> > Da: Leonardo Uzcudun <uzcudunl@...oo.it>
>> > A: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
>> > Inviato: Mercoledì 1 Febbraio 2012 12:22
>> > Oggetto: VLAN 1 - Native
>> >
>> > Hello:
>> >
>> > I'm connecting my Linux computer (debian 2.6.32-5) to a switch to
>> > implement vlans.
>> >
>> > All is working fine except for the VLAN 1. Of sure you are aware of
>> > this situation and i would like to knoe if there is any parameter or
>> > setting that i should set in the vlan (linux side, not switch)
>> > configuration. Here's my configuration:
>> > ip addr add 0.0.0.0 dev eth0
>> > ip link set eth0 up
>> > ip link add link eth0 name eth0.1 type vlan id 1
>> > ip link add link eth0 name eth0.101 type vlan id 101
>> > ip addr add 0.0.0.0 dev eth0.1
>> > ip addr add 0.0.0.0 dev eth0.101
>> > ip link set eth0.101 up
>> > ip link set eth0.1 up
>> > brctl addbr br_vlan_1
>> > brctl addbr br_vlan_101
>> > brctl addif br_vlan_1 eth0.1
>> > brctl addif br_vlan_101 eth0.101
>> > ip addr add 0.0.0.0 dev br_vlan_1
>> > ip
>> > addr add 0.0.0.0 dev br_vlan_101
>> > ip link set br_vlan_1 up
>> > ip link set br_vlan_101 up
>> >
>> > Traffic on vlan 101 is working fine. Traffic on VLAN 1 is not working
>> > cause the packets are going out from eth0 like tagged. How could i set
>> > the VID 1 as untagged?
>>
>> What do you mean by "sending packets for VID 1, untagged " ?
>>
 on switch like Cisco: vlan 1 is the native vlan or default vlan so it is
 untagged. untagged means packet has no vlan header.

>>
>> What is the difference between vlan 101 and vlan 1 ?

 No other difference. Just because it is vlan 1  which is special in
 switches(of course it can be changed on switch side but he doesn't want to)
>>
>>
>>
>>
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ