From owner-freebsd-net@FreeBSD.ORG Sat Dec 18 18:58:03 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F8D16A4CE for ; Sat, 18 Dec 2004 18:58:03 +0000 (GMT) Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 1213443D2D for ; Sat, 18 Dec 2004 18:58:02 +0000 (GMT) (envelope-from misho@interbgc.com) Received: (qmail 13566 invoked from network); 18 Dec 2004 18:58:00 -0000 Received: from misho@interbgc.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(-4.9/8.0):. Processed in 0.778597 secs); 18 Dec 2004 18:58:00 -0000 X-Spam-Status: No, hits=-4.9 required=8.0 Received: from topilapi.ddns.cablebg.net (HELO misho) (213.240.205.199) by mail.interbgc.com with SMTP; 18 Dec 2004 18:57:59 -0000 Message-ID: <002501c4e533$7df445f0$c7cdf0d5@misho> From: "Mihail Balikov" To: References: <001e01c4e527$78caac10$9f90a8c0@donatas> Date: Sat, 18 Dec 2004 20:57:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: Re: double vlans - once again. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mihail Balikov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 18:58:03 -0000 I have done this 2 years ago for FreeBSD 4-STABLE in sys/net/if_vlan.c in vlan_config(), replace if (p->if_data.ifi_type != IFT_ETHER) return EPROTONOSUPPORT; with if (p->if_data.ifi_type != IFT_ETHER && p->if_data.ifi_type != IFT_L2VLAN) return EPROTONOSUPPORT; ----- Original Message ----- From: "Donatas" To: Sent: Saturday, December 18, 2004 7:31 PM Subject: double vlans - once again. ok, i'll simplify my question - we have vlan traffic, which is transfered via double tagged vlans (nested vlans). Such functions are supported in some advanced switches (AT-8948). The problem is - we cannot route those double-tagged vlans using freebsd machines. Or maybe it is possible? let's say we've created vlan-1 and vlan-2, where vlan-2 parent device is vlan-1 and vlan-1 parent device is physical network adapter. This procedure seems impossible in freebsd. I've mentioned netgraph only as possible solution. Interesting, what happens when freebsd get's double-tagged frame? thank you Donatas Gendvilas AB Lietuvos Radijos Ir Televizijos Centras Duomenu Perdavimo Departamentas Valdymo Centras tel.: lokalus 444, 8-5-2525384, +37065266772 Sausio 13-osios g. 10, 04347 Vilnius 50, Lietuva _______________________________________________ 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"