From owner-freebsd-net@FreeBSD.ORG Sat Dec 17 12:05:50 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 73EC1106564A for ; Sat, 17 Dec 2011 12:05:50 +0000 (UTC) (envelope-from sol289@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7AE8FC08 for ; Sat, 17 Dec 2011 12:05:49 +0000 (UTC) Received: by iadj38 with SMTP id j38so2598254iad.13 for ; Sat, 17 Dec 2011 04:05:49 -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=AUdMJWjZJPcvTLvDppvxow3P+WVmOyGn6JDyJsr/MM0=; b=hgDSKdHuPecVNQ0RViYRuGcccU8Xbg9LpfYXj3H8WVFHfObe0PFeqv9sbrJ4lalmcL 12nBc8PQiW6Zw0zIRCnACw87vINYdGp/4aZkkzHpb6Hu6jFYuBYfdK+d9LQeIns4jcXi fYS6AzeM/G9VME546YEViBSOvj8w10Rd3RXjo= Received: by 10.50.178.68 with SMTP id cw4mr14363333igc.31.1324121887118; Sat, 17 Dec 2011 03:38:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.135.34 with HTTP; Sat, 17 Dec 2011 03:37:46 -0800 (PST) In-Reply-To: References: From: Alexander Lunev Date: Sat, 17 Dec 2011 15:37:46 +0400 Message-ID: To: saeedeh motlagh Content-Type: text/plain; charset=UTF-8 Cc: Juli Mallett , freebsd-net@freebsd.org 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 12:05:50 -0000 What is your network topology from the system you start ping to the system which you're pinging? -- your sweet isn't ready yet On Sat, Dec 17, 2011 at 2:01 PM, saeedeh motlagh wrote: > 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" >> > _______________________________________________ > 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"