From owner-freebsd-net@FreeBSD.ORG Sat Dec 17 10:01:58 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 48248106564A; Sat, 17 Dec 2011 10:01:58 +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 5245A8FC08; Sat, 17 Dec 2011 10:01:57 +0000 (UTC) Received: by eaaf13 with SMTP id f13so5003178eaa.13 for ; Sat, 17 Dec 2011 02:01:56 -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 :content-type; bh=rFRC25Yo98xHTP6KJ2RhtR2NN42hhZuNEqXa+Kzydos=; b=iJ3PVjLF/jYOaWaOjSxsrfWKn8/xqUN+g0smy3L/IXgssZiwKQH/b3HAkxqU4bFuiE dWcKWJZfcsR+CEcDl4Xh/PwYShrTmLDkiV97KIX7Z9hSWH+o9FEC+msA2g4GOnLHmtCT 9lMhwGJZYf0UbTwaFrNwe2O4lzsfZ/jZU9ZVk= Received: by 10.213.19.3 with SMTP id y3mr1055515eba.39.1324116116324; Sat, 17 Dec 2011 02:01:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.114.130 with HTTP; Sat, 17 Dec 2011 02:01:15 -0800 (PST) In-Reply-To: References: From: saeedeh motlagh Date: Sat, 17 Dec 2011 13:31:15 +0330 Message-ID: To: Juli Mallett , freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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, 17 Dec 2011 10:01:58 -0000 when i do that, the vlan is defined but from a system in a vlan, i can't ping the other one which is in the same vlan. so i think that the vlan is not working. am i right? On Sat, Dec 17, 2011 at 1:15 PM, Juli Mallett wrote: > You probably just need to do ifconfig vlanxxx up instead of assigning an > IP. > > On Sat, Dec 17, 2011 at 00:08, saeedeh motlagh > wrote: > > hi every body > > > > i wanna configure a freebsd box as a switch. in order to do that, i > bridged > > all my interfaces to have switching and it works fine. after that i want > to > > have vlans on it. as you know, in a real switch, a vlan is configured > just > > by assigning a port to it without any additional configuration and vlans > > are submitted just by name. but in freebsd a vlan just works when it has > an > > ip address (i think). when i define vlan121 on two freebsd systems with > ip > > address it works fine but without ip address i don't know how it should > be > > worked. > > > > can sombody tell me if it is possible to simulate vlans in freebsd as > they > > are in a real switch? i mean can we have vlans without ip addresses which > > works fine? maybe some kind of vlan which works by MAc address. is it > > possible? > > it's so necessary for me to do that:( > > > > yours, > > motlagh > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >