From owner-freebsd-net@FreeBSD.ORG Sat Dec 31 11:27:13 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E1811065670 for ; Sat, 31 Dec 2011 11:27:13 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id A8AAA8FC1F for ; Sat, 31 Dec 2011 11:27:12 +0000 (UTC) Received: by eaaf13 with SMTP id f13so18686221eaa.13 for ; Sat, 31 Dec 2011 03:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=x/M9vzgGeYBbfoXngsw1VKRIvVRq6hqhjCGMlWdOKCA=; b=tsHblAVH6TQoXnu3PjVD5RgD90ktzsi7885SHRpfWDV7bBfSpcrh8Ixl7Q2eUvqMUz rhzLVAp7vdFXrG2v+zAqgdO4fPK249Vy2wlCKpM4Hkedo3iOT+G3mgsjAr/+d2YsDaw9 tAHWwB+VrunmlszDhYn00S/r3lBCRMVr3bCFs= Received: by 10.205.133.139 with SMTP id hy11mr3969396bkc.98.1325330831485; Sat, 31 Dec 2011 03:27:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.123.17 with HTTP; Sat, 31 Dec 2011 03:26:30 -0800 (PST) In-Reply-To: <4EFAE551.8040101@gmx.com> References: <4EF038B9.5050203@gmx.com> <4EF18D7D.1050609@gmx.com> <4EF61535.4030507@gmx.com> <4EF8394F.8050108@gmx.com> <4EFAE551.8040101@gmx.com> From: saeedeh motlagh Date: Sat, 31 Dec 2011 14:56:30 +0330 Message-ID: To: Nikos Vassiliadis , freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexander Lunev , Alireza Torabi Subject: Re: vlan without ip address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 11:27:13 -0000 thank you guys for your answers but my problem is not solved yet:(( the thing is, i wanna have something like this: a freebsd box which acts like switch (for example cisco 2960). i want to define vlanX on one interface (without any ip address) and it tags any passing packets through that interface as vlanX (any passing packet will have vlanX ID). i've tried bridging interfaces (to simulate vlan ports) but its problem is that it doesn't perform any vlan tagging. i've also tried defining vlan as sub-interface. but problem is, it doesn't tag every passing packets on real interface (it only works if we set ip address for vlan, and then it just tags packets which their destination is ip address of vlan sub-interface) does anyone knows what should i do? Cheers. to me, the most important thing is that i is to vlan tagging while configure vlans without any ip addresses. is it possible?