From owner-freebsd-questions Thu Nov 9 1:17:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from radmail.rad.net.id (radmail.rad.net.id [202.154.1.3]) by hub.freebsd.org (Postfix) with ESMTP id 478A737B479 for ; Thu, 9 Nov 2000 01:17:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by radmail.rad.net.id (8.9.3/8.9.3) with SMTP id QAA12294; Thu, 9 Nov 2000 16:15:55 +0700 (JAVT) (envelope-from sdeny@rad.net.id) Date: Thu, 9 Nov 2000 16:15:55 +0700 (JAVT) Message-Id: <200011090915.QAA12294@radmail.rad.net.id> To: questions@FreeBSD.org From: sony setiadi Cc: sdeny@yahoo.com X-Mailer: RAD-Mail by Gelo Team Subject: Dummy Net -- Traffic Shape Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Sir, I have implemented traffic shape using FreeBSD, it has been running ultill this time. My problem is, Does the traffic shape work the same result as the real Link Connection which is use certain BW ? eg. Is Traffic shape for the BW 64 = the link connection which use modem 64 Kbps ? this is my setting configuration : bash-2.03$ cat /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # ntpdate_flags="202.154.1.5" sendmail_enable="NO" router_enable="NO" gateway_enable="YES" ntpdate_enable="YES" sshd_enable="YES" network_interfaces="xl0 ep0 ep1 ep2 lo0" #network_interfaces="xl0 ep0 ep2 lo0" ifconfig_xl0="inet 202.154.42.239 netmask 255.255.255.224" ifconfig_ep0="inet 202.154.39.137 netmask 255.255.255.252" ifconfig_ep1="inet 202.154.43.225 netmask 255.255.255.224" ifconfig_ep2="inet 202.154.39.157 netmask 255.255.255.252" defaultrouter="202.154.42.225" hostname="noc3-dr3.rad.net.id" snmpd route add -net 202.154.29.0 -netmask 255.255.255.0 202.154.39.138 route add -net 202.154.43.96 -netmask 255.255.255.224 202.154.39.158 ipfw add pipe 1 ip from any to 202.154.29.0/24 in ipfw add pipe 1 ip from any to 202.154.39.136/30 in ipfw add pipe 2 ip from any to 202.154.43.224/27 in ipfw add pipe 3 ip from any to 202.154.43.96/27 in ipfw add pipe 3 ip from any to 202.154.39.156/30 in ipfw pipe 1 config bw 256Kbit/s queue 128Kbyte ipfw pipe 2 config bw 64Kbit/s queue 32Kbyte ipfw pipe 3 config bw 187Kbit/s queue 96Kbyte ipfw add pipe 101 ip from 202.154.29.0/24 to any out ipfw add pipe 101 ip from 202.154.39.136/30 to any out ipfw add pipe 102 ip from 202.154.43.224/27 to any out ipfw add pipe 103 ip from 202.154.43.96/27 to any out ipfw add pipe 103 ip from 202.154.39.156/30 to any out ipfw pipe 101 config bw 256Kbit/s queue 128Kbyte ipfw pipe 102 config bw 64Kbit/s queue 32Kbyte ipfw pipe 103 config bw 187Kbit/s queue 96Kbyte bash-2.03$ Do I do the right setting, trafffic shape for 64 will cause 64 Kbps the same as modem Leased Line Speed and so others ? Cause I feel the shaping cause slower connection than the real modem link. I hope you can provide me some information about it, thank you very much. -------------------------------------------------------------------------- PT. Rahajasa Media Internet Radnet Bandung Custommer Support Sony Setiadi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message