Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 16:15:55 +0700 (JAVT)
From:      sony setiadi <sdeny@rad.net.id>
To:        questions@FreeBSD.org
Cc:        sdeny@yahoo.com
Subject:   Dummy Net -- Traffic Shape
Message-ID:  <200011090915.QAA12294@radmail.rad.net.id>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011090915.QAA12294>