I'm trying to setup dummynet for my home network.  I have an 384/128kbps
ADSL connection to the Internet.  What I want to do is give priority to a
100kbps video stream when it's running over other traffic.  The video stream
comes from 192.168.1.3:8080 on my internal network.  I setup the following
rules on my firewall:

# Begin Configure pipe & queues to allow video stream priority

#       Flush before we define
        $fwcmd -f queue flush
        $fwcmd -f pipe flush

        $fwcmd pipe 1 config queue 64Kbyte
        $fwcmd queue 1 config pipe 1 weight 90 queue 56KByte
        $fwcmd queue 2 config pipe 1 weight 10 queue 8Kbyte

        $fwcmd add queue 1 ip from 192.168.1.3 8080 to any
        $fwcmd add queue 2 ip from not 192.168.1.3 8080 to any

Now this seems to work as I don't get any errors when the rules load.  I
also notice that I match packets when connecting to the video stream with
the first "add queue" rule.  However other packets do not match the second
"add queue" rule and I don't understand why.  I expect that every packet
crossing the firewall that is not part of the video stream to be added to
queue 2.  What am I missing?

I would also appreciate any suggestions on tuning the queue size for my
purpose as I really don't have any understanding other than the defaults are
probably too large for my slow ADSL link.

Thanks for the help,

Drew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to