Limiting bandwidth for PS3 only

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
knight_vision
DD-WRT Novice


Joined: 25 Jul 2014
Posts: 1

PostPosted: Fri Jul 25, 2014 2:28    Post subject: Limiting bandwidth for PS3 only Reply with quote
Recently installed dd-wrt and am hoping it has the capabilities to do what I need. Im not tech savvy enough to figure it out, and couldnt find anything specific in search, so Im hoping someone here can help. If I missed it and the subject has been explained in detail, a simple link to the thread would be great.

I upgraded my internet from the lowest basic high speed plan up to 105 mbps service for the sake of downloading movies & music faster. I also enjoy playing Call of Duty games and since the upgraded speeds, my gaming experience has become unbearable. Ive researched all I could find on the subject and realize the problem is the lag compensation and constant hosting Im forced into since my connection is strong. I've already set a static IP address and set the port forwarding per this tutorial http://www.dd-wrt.com/wiki/index.php/Sony_PSP_and_Remote_Play

What I was wondering, is if there is a way to limit the bandwidth going to the PS3 either by port or MAC address or IP address so I can have a weak connection there, without limiting my speed to my computer? I know Im probably not wording this correctly, but hope someone can make sense of what I need.

Thanks in advance for any help
Sponsor
jfish99
DD-WRT User


Joined: 25 Aug 2011
Posts: 112

PostPosted: Fri Aug 01, 2014 9:49    Post subject: Reply with quote
I use these iptables to limit bandwidth for my guest network - however you should be able to adapt it for your PS3

Code:
#download
TCA="tc class add dev br1"
TFA="tc filter add dev br1"
TQA="tc qdisc add dev br1" SFQ="sfq perturb 10"
tc qdisc del dev br1 root
tc qdisc add dev br1 root handle 1: htb
tc class add dev br1 parent 1: classid 1:1 htb rate 1024kbit
$TQA parent 1:1 handle 10: $SFQ
$TFA parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:1
iptables -t mangle -A POSTROUTING -d 192.168.1.50 -j MARK --set-mark 10

#upload
TCAU="tc class add dev imq0"
TFAU="tc filter add dev imq0"
TQAU="tc qdisc add dev imq0"
insmod imq
insmod ipt_IMQ
ip link set imq0 up tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 1: htb
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit
$TQAU parent 1:1 handle 10: $SFQ
$TFAU parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:1
iptables -t mangle -A PREROUTING -s 192.168.1.50 -j MARK --set-mark 10
iptables -t mangle -A PREROUTING -j IMQ --todev 0


change the IP address 192.168.1.50 to your PS3

Change the upload/download limits as well
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum