News: This forum is now permanently frozen.
Pages: [1]
Topic: Need help finding error in my shaping config.  (Read 2575 times)
« on: February 22, 2008, 14:50:19 »
dandan *
Posts: 2

So I am trying to do something really simple (or so I thought).  I basically want any PC to have full bandwidth access to the internet, but if a certain pc (mypc/192.168.1.20) needs internet access, it should get top priority, and make sure it gets almost all of the bandwidth.  I have tried many variations of this configuration, and I just can't get it to work right.  When I download a large ISO using 2 machines (same source for both machines), 1 including 'mypc', the bandwidth is almost 50/50 split between the 2 machines.

I understand that even a low weight value means the other pc will get some bandwidth, but I can't imagine it should get this much.  Please tell me what I am doing wrong, I have checked every single thread in this forum, and while there are similar topics, none offer a working solution.  Thanks!

Bandwidth: 10Mbit down, ~950kbit up (tested)

Code:
Rules:
---------------------------------------------------------------------------
# If Dir Source Dest Target
---------------------------------------------------------------------------
1 WAN any 192.168.1.20 * queue_upload_mypc
2 WAN any * 192.168.1.20 queue_download_mypc
3 WAN out * * queue_upload_all
4 WAN in * * queue_download_all
---------------------------------------------------------------------------

Pipes:
-------------------------------------------------------------------
# Bandwidth Delay PLR Queue Mask Description
-------------------------------------------------------------------
1 9500 Kbit/s download
2 850 Kbit/s upload
-------------------------------------------------------------------

Queues:
-----------------------------------------------------------
# Pipe Weight Mask Description
-----------------------------------------------------------
1 download 1 queue_download_all
2 download 99 queue_download_mypc
3 upload 1 queue_upload_all
4 upload 99 queue_upload_mypc
-----------------------------------------------------------

« Reply #1 on: February 26, 2008, 07:53:03 »
nobody *
Posts: 4

Perhaps change the first two rules to the following?

Code:
1 WAN OUT 192.168.1.20 * queue_upload_mypc
2 WAN IN * 192.168.1.20 queue_download_mypc
3 WAN out * * queue_upload_all
4 WAN in * * queue_download_all
« Reply #2 on: February 28, 2008, 13:53:04 »
dandan *
Posts: 2

Still the same issue Sad
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines