From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757068AbZFJPAZ (ORCPT ); Wed, 10 Jun 2009 11:00:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754373AbZFJPAL (ORCPT ); Wed, 10 Jun 2009 11:00:11 -0400 Received: from stinky.trash.net ([213.144.137.162]:60470 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbZFJPAK (ORCPT ); Wed, 10 Jun 2009 11:00:10 -0400 Message-ID: <4A2FCA7A.60707@trash.net> Date: Wed, 10 Jun 2009 17:00:10 +0200 From: Patrick McHardy User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Gil Beniamini CC: Brent Cook , David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: SOCK_RAW does not receive broadcast (with VLAN unless PROMISC) References: <91ac27070906081105x30171bedra10d244d382a6934@mail.gmail.com> <4A2E4A32.1060705@trash.net> <91ac27070906090608me50af3bv23b150d8d0cd0080@mail.gmail.com> <200906091430.32294.bcook@bpointsys.com> <91ac27070906100724v25c2328x6b343315358c8e12@mail.gmail.com> <4A2FC40E.4040106@trash.net> <91ac27070906100748p1b2cb6bax56ecc230e556ae96@mail.gmail.com> In-Reply-To: <91ac27070906100748p1b2cb6bax56ecc230e556ae96@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gil Beniamini wrote: > Dear Patrick, > Below is my try to add vlan-id 24 on eth1, followed by "ip -d link list": > root@StudentsHPA:/home/hpa# vconfig add eth1 24 > ERROR: trying to add VLAN #24 to IF -:eth1:- error: File exists > > 5: vlan24@eth0: mtu 1500 qdisc > noqueue state UP You're apparently using the "VLAN_NAME_TYPE_PLUS_VID_NO_PAD" naming policy, which causes name clashes when you create two VLANs with the same ID. I'd suggest to use iproute to create the devices, which allows you to specify the desired name manually. Alternatively you can use vconfig and a different naming policy.