Date: Sat, 23 Dec 2000 20:08:23 +0900 (JST) From: ishizuka@ish.org To: FreeBSD-gnats-submit@freebsd.org Subject: kern/23793: Modifying pipe config makes dummynet stop Message-ID: <200012231108.eBNB8Nw00391@odekake.wakwak.com> Resent-Message-ID: <200012231110.eBNBA2b52225@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012231108.eBNB8Nw00391>