From owner-freebsd-bugs Sat Dec 23 3:10: 8 2000 From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 23 03:10:02 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 87BA137B402 for ; Sat, 23 Dec 2000 03:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBNBA2b52225; Sat, 23 Dec 2000 03:10:02 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 23 Dec 2000 03:10:02 -0800 (PST) Resent-Message-Id: <200012231110.eBNBA2b52225@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, ishizuka@ish.org Received: from odekake.wakwak.com (odekake.wakwak.com [210.165.8.218]) by hub.freebsd.org (Postfix) with ESMTP id DD75737B400 for ; Sat, 23 Dec 2000 03:08:25 -0800 (PST) Received: (from ishizuka@localhost) by odekake.wakwak.com (8.11.1/8.11.1) id eBNB8Nw00391; Sat, 23 Dec 2000 20:08:23 +0900 (JST) (envelope-from ishizuka) Message-Id: <200012231108.eBNB8Nw00391@odekake.wakwak.com> Date: Sat, 23 Dec 2000 20:08:23 +0900 (JST) From: ishizuka@ish.org Sender: ishizuka@odekake.wakwak.com Reply-To: ishizuka@ish.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/23793: Modifying pipe config makes dummynet stop Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23793 >Category: kern >Synopsis: modifying pipe config makes dummynet stop >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 23 03:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Masachika ISHIZUKA >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: machine: CPU pentium III/933 NIC Intel Pro 100B (fxp) x 2 DIMM 1GB FreeBSD 4.2R but ip_dummynet.c and bridge.c are replaced as follows: $FreeBSD: src/sys/netinet/ip_dummynet.c,v 1.24.2.5 2000/11/26 20:24:18 bmilekic Exp $ $FreeBSD: src/sys/net/bridge.c,v 1.16.2.8 2000/11/28 00:27:30 bmilekic Exp $ kernel compile with the following options: options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPDIVERT options MSGBUF_SIZE=40960 options BRIDGE options IPFIREWALL_DEFAULT_TO_ACCEPT options DUMMYNET options MROUTING bridge mode is enabled with the /etc/sysctl.conf: net.link.ether.bridge=1 net.link.ether.bridge_ipfw=1 ipfw rules: ipfw add allow ip from any to any via lo0 ipfw add deny ip from any to 127.0.0.0/8 ipfw queue 1 config pipe 1 weight 5 mask src-ip 0x0000001f ipfw queue 2 config pipe 2 weight 5 mask dst-ip 0x0000001f ipfw pipe 1 config bw 1Mbit/s ipfw pipe 2 config bw 1Mbit/s ipfw queue 1 ip from 10.1.1.0/27 to any bridged ipfw queue 2 ip from any to 10.1.1.0/27 bridged ipfw add allow ip from any to any >Description: It is good working with 1mbit/s shaping when start up, but I want to modify shaping speed with the following command. # ipfw pipe 1 config bw 10mbit/s Then no packet was transmitted at all. The packets are queued as follows and dropped. # ipfw pipe show q00001: weight 5 pipe 1 50 sl. 14 queues (64 buckets) droptail mask: 0x00 0x0000001f/0x0000 -> 0x00000000/0x0000 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 2 ip 0.0.0.1/0 0.0.0.0/0 2060 199376 50 4852 1928 Is there any way to modify shaping speed of active pipes ? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message