From owner-freebsd-net@FreeBSD.ORG Mon Jun 6 18:23:54 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 EA19616A41C; Mon, 6 Jun 2005 18:23:54 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 805C143D1F; Mon, 6 Jun 2005 18:23:54 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j56INgrw068998; Mon, 6 Jun 2005 11:23:42 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j56INdL7068997; Mon, 6 Jun 2005 11:23:39 -0700 (PDT) (envelope-from jmg) Date: Mon, 6 Jun 2005 11:23:39 -0700 From: John-Mark Gurney To: Nickolay Kritsky Message-ID: <20050606182338.GE655@funkthat.com> Mail-Followup-To: Nickolay Kritsky , sferreira@comcast.net, freebsd-ipfw@freebsd.org, freebsd-net@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p1 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: sferreira@comcast.net, freebsd-net@freebsd.org, freebsd-ipfw@freebsd.org Subject: Re: FREEBSD between two trunks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 18:23:55 -0000 Nickolay Kritsky wrote this message on Mon, Jun 06, 2005 at 21:38 +0400: > There was an old funny thing about bridging vlans: if you bridge vlanXX > interfaces without bridging parents - do not forget to put parent in up > and promiscuous mode. For 4.6 kernel it also required some patching. > What version are you running? What I was thinking he was going to due was not bridge the vlans themselves, but the two interfaces, and let dummynet handle the vlan packets just as any other normal packet.. He didn't say he needed each vlan to have a seperate delay or bandwidth limit.. I've never done any bridging of vlans, so I don't know the specifics.. I am using vlans so my firewall only has to have one interface.. :) It seems just setup the two interfaces to bridge, increase the mtu so that they accept the larger vlan packets, configure dummynet properly, and then route all packets through dummynet.. just my thoughts.. > -----Original Message----- > From: John-Mark Gurney [mailto:gurney_j@resnet.uoregon.edu] > Sent: Saturday, June 04, 2005 10:15 PM > To: sferreira@comcast.net > Cc: freebsd-ipfw@freebsd.org; freebsd-net@freebsd.org > Subject: Re: FREEBSD between two trunks > > sferreira@comcast.net wrote this message on Fri, Jun 03, 2005 at 20:44 > +0000: > > I'm trying to setup DUMMYNET to emulate long delays, such as those > encountered in satellite links. The problem is that I have to place my > freebsd host between two trunks passing vlans (2,3,4,5,6). > > > > So the setup is: > > > > cisco swictch trunks vlan 2,3,4,5,6 <-> freebsd <--> cisco switch > trunks vlan 2,3,4,5,6 > > > > > > All the documents I could find related to this subject matter has the > freebsd as an endpoint and not connecting two trunks. Also the freebsd > has to be an invisible hop on the network, so it can not route this > traffic. I had setup my freebsd in bridge mode but I could not get this > setup to work. > > You may need to increase your mtu to allow the full sized packets to > pass > through... or you could setup a vlan w/ and id that isn't used and let > that > adjust the mtu for you.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."