From owner-freebsd-net@FreeBSD.ORG Thu Oct 11 07:28:10 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E0E5986 for ; Thu, 11 Oct 2012 07:28:10 +0000 (UTC) (envelope-from rnderr@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C1B928FC14 for ; Thu, 11 Oct 2012 07:28:09 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so935604eek.13 for ; Thu, 11 Oct 2012 00:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+z/j3vyhhR5QJQFcz0RXFs9mm9yGiiRQEhMk6yGPplA=; b=M+ui8wR4DmTGhZgx2KAzW+zJkKUZQF4c3yhGf6H2w2ESS0Y6kKRC8kOJzP1lBwjf2g /d8g4vulsJUfTm9fVBojq+T71VlQ1O2CWwCScaslZ9JBn06atobUNQ0V25ippmaAot4B 16+13yp7Ugkk25DomsRhECcrWBegaXD0BYKus0vulU/gs7biDSejmp88Y8aiUsfMohfi LvQFx0wDE5UUFC0ijEHtKbU9Jr+n60K41dDMRuLsqqC/Zs/Ttdt1bbbooY80FWq73k4l 7P1gHO9mhlfFVp8v4Bdom1z9nQmE5rWxky8uYbFG6aspwTVYHtyN2cEv4S6x4s0GRFPN 2nzw== MIME-Version: 1.0 Received: by 10.14.207.5 with SMTP id m5mr37220331eeo.22.1349940488656; Thu, 11 Oct 2012 00:28:08 -0700 (PDT) Received: by 10.14.202.132 with HTTP; Thu, 11 Oct 2012 00:28:08 -0700 (PDT) Date: Thu, 11 Oct 2012 13:28:08 +0600 Message-ID: Subject: bridging VLANs on one interface From: Alexander Rnderr To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2012 07:28:10 -0000 Hello. I want bridging VLANs on igb1. When i add vlan667 to bridge0 network down. "tcpdump -pni vlan200"/"tcpdump -pni vlan667" show only STP. What's wrong? _________ ___FreeBSD___ | | |200--- | | Switch | trunk(vlan 200 & 667) ---> | | PF,ipfw | | | |667---________| | | |________| access(vlan 667) --->Linux rc.conf: #vlan ifconfig_igb1="up" vlans_igb1="vlan200 vlan667" create_args_vlan200="vlan 200" create_args_vlan667="vlan 667" ifconfig_vlan200="inet x.x.41.98/24 up" ifconfig_vlan667="ether 00:25:90:60:50:52 up" #bridge cloned_interfaces="bridge0" ifconfig_bridge0="addm vlan200" defaultrouter="x.x.41.1" # ifconfig igb1: flags=8943 metric 0 mtu 1500 options=401bb ether 00:25:90:60:50:51 inet6 fe80::225:90ff:fe60:5051%igb1 prefixlen 64 scopeid 0x2 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 bridge0: flags=8843 metric 0 mtu 1500 ether 02:55:56:ec:90:00 nd6 options=29 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: vlan200 flags=153 ifmaxaddr 0 port 7 priority 128 path cost 55 vlan200: flags=8943 metric 0 mtu 1500 options=103 ether 00:25:90:60:50:51 inet6 fe80::225:90ff:fe60:5051%vlan200 prefixlen 64 scopeid 0x7 inet x.x.41.98 netmask 0xffffff00 broadcast x.x.41.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active vlan: 200 parent interface: igb1 vlan667: flags=8843 metric 0 mtu 1500 options=103 ether 00:25:90:60:50:52 inet6 fe80::225:90ff:fe60:5051%vlan667 prefixlen 64 scopeid 0x8 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active vlan: 667 parent interface: igb1