Re: VLAN 1 - Native
From: Leonardo Uzcudun <hidden>
Date: 2012-02-01 11:30:17
________________________________ Da: Leonardo Uzcudun [off-list ref] A: "netdev@vger.kernel.org" [off-list ref] 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? Thanks a lot. BR, Leo