From owner-freebsd-net@FreeBSD.ORG Sun Dec 19 20:32:39 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 F173F16A4CE for ; Sun, 19 Dec 2004 20:32:39 +0000 (GMT) Received: from borgtech.ca (borgtech.ca [216.187.106.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD0743D46 for ; Sun, 19 Dec 2004 20:32:39 +0000 (GMT) (envelope-from asegu@borgtech.ca) Received: from www.borgtech.ca (localhost.borgtech.ca [127.0.0.1]) by borgtech.ca (Postfix) with SMTP id 8D39854C3; Sun, 19 Dec 2004 20:33:57 +0000 (GMT) Received: from 161.53.212.202 (SquirrelMail authenticated user asegu.borgtech.ca) by borg.darktech.org with HTTP; Sun, 19 Dec 2004 20:33:57 -0000 (GMT) Message-ID: <3721.161.53.212.202.1103488437.squirrel@borg.darktech.org> In-Reply-To: <721371959296.20041217154130@star-sw.com> References: <20041217094937.E4E6054C3@borgtech.ca> <721371959296.20041217154130@star-sw.com> Date: Sun, 19 Dec 2004 20:33:57 -0000 (GMT) From: asegu@borgtech.ca To: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: "Nickolay A. Kritsky" Subject: Re: FW: Curiosity in IPFW/Freebsd bridge. [more] 802.1q VLAN at fault? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 20:32:40 -0000 Ok, the whole discussion to date led to how VLAN traffic wasn't being registered by IPFW in my system. I think that it'll probably be too late for a code change to fix my problem, so I'm going to go the route of changing the network configuration. I've rebuilt to 4.10 and.. And I had no luck there (IPFW _really_ doesn't see the traffic now!). On the other hand, I've read about vlan pseudo-dev and goten myself access to the switch's configuration. So tomorrow evening I plan on changing the vlan id used to 3, and then in freebsd, use the following configuration(and I post this to the list to see if anybody knows that this is going to fail) fxp1 --> router (uses ID 2) fxp0 --> switch (uses ID 2, will switch to ID 3) ifconfig vlan1 vlan 3 vlandev fxp0 ifconfig vlan0 vlan 2 vlandev fxp1 sysctl net.link.ether.bridge_cfg=vlan1,vlan0 sysctl net.link.ether.bridge_ipfw=1 Does anybody think this will allow IPFW to see the packets? or that this will outright fail? Thank you everybody, Andrew