iphonogasm Posted September 4, 2011 Posted September 4, 2011 ok hi, so this is my first time setting up QoS, Im trying to setup QoS on a SMC router. But not to sure how, i want to enable QoS to a specific IP and allow, i dunno like, 90% QoS. But which of the following do i select? [ATTACH]145.IPB[/ATTACH] and the other one is when enabling it, which option is right? [ATTACH]146.IPB[/ATTACH] Thanks heaps! Quote
ICTCity Posted September 4, 2011 Posted September 4, 2011 Hi, If you post a screenshot of QUEUE CONFIGURATION and QOS CLASSIFICATION, I should help you a little bit better. Anyway, QUEUE configuration is HOW QoS manage the traffic. Basically you may have 3 types of queues: 1) First In First Out 2) Priority (usually based on policies) 3) Weighted Fair Queue (low traffic will be preferred instead of high traffic) Check here: http://support.microsoft.com/kb/233039/en-us QoS classification is made on the traffic type, again, if you post a screenshot, I should be able to explain settings... Regarding your last screenshot: DSCP mark should be implemented with caution. I THINK it has been invented by Cisco but I'm not sure. Anyway, this is used to FINE TUNE the QoS. Now the point is simple: let's say you have ONLY 2 types of traffic: VoIP and HTTP. You can give more priority to VoIP and the rest for HTTP. But if you have burst (or unpredictable) traffic, you MUST use more than one policy unless you want to choke your network. With cisco's routers you can create access-lists and define DSCP mark for each protocol. With your router I think you can't do that. So, my suggestion is: unless you really notice a problem (VoIP calls are not possible or other), let DSCP mark off ( NO CHANGE -1 ). Actually I don't know what does AUTO MARKING mean... probably it's something like "The router tryies to determine the best policy"... anyway... I'm not sure... I hope this can help you in some way. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted September 4, 2011 Author Posted September 4, 2011 ok thanks for your reply, here are the screenshots you want.. [ATTACH]147.IPB[/ATTACH] [ATTACH]148.IPB[/ATTACH] Thanks Quote
ICTCity Posted September 4, 2011 Posted September 4, 2011 Yeah, as said before... And on the second screen you can configure PER IP / MAC ADDRESS rules. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted September 4, 2011 Author Posted September 4, 2011 thanks ill have a play around and post if i get stuck cheers! Quote
ICTCity Posted September 4, 2011 Posted September 4, 2011 PAY ATTENTION if you are on a productional environment... Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted September 4, 2011 Author Posted September 4, 2011 so quick question, Source MAC address, and destination MAC address? what is this? MAC address as in 00 0C 05 05 05 etc, unique to my PC, so do i leave source MAC address empty to allow all connection, and just put the destination MAC in as my PC in assigning QoS to? also do i have to create 2 seperate classes to enable it on seperate proctocols, eg TCP and UDP? it doesnt give me the option to select both so im guessing create multiple classes on with UDP and one TCP Thanks! EDIT: so heres where i am now, ive set one up as follows, however when entering the MAC address it didnt like it, i went command prompt, ipconfig /all, got MAC address and entered it for the computer i was assigning QoS to, but it didnt like it, so i just left it blank. [ATTACH]149.IPB[/ATTACH] [ATTACH]150.IPB[/ATTACH] is there anyway of testing it? also where in these settings do i specify the priority? Thanks again! Quote
ICTCity Posted September 4, 2011 Posted September 4, 2011 Mhhh I don't know your router so I'm not sure... anyway... There are routers which want mac address in this way: AABBCC... and others: AA:BB:CC... so, try the combination :) Maybe the point is on ETHER TYPE (4th column) it says: "IP" so actually IP is not the MAC ADDRESS. I don't know which options you can choose from... but anyway... give it a try. The rule you entered means the following: ANY connection coming FROM ANY IP on port 27015 and DIRECTED TO 192.168.2.10 on port 27015 will be QoS. I think this is not correct... because the service on your server may be on port 27015 BUT clients don't open connection FROM port 27015... so basically it should be ANY port. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted September 4, 2011 Author Posted September 4, 2011 ok ill leave port 27015 blank, however i have a game sever running on 27015 at which im trying to prevent lagg on thanks Quote
ICTCity Posted September 4, 2011 Posted September 4, 2011 Which is correct... but your game IS RUNNING ON PORT 27015. That means: clients open a connection on port XXXXX (ANY) directed to your server on port 27015. Make a try: On a computer which is running NOTHING, open the command prompt and type: netstat -an You will notice nothing special... Now open a browser and point it to google or any other website... retype the command and now you should see something like: TCP 10.0.0.10:49225 94.245.117.45:80 ESTABLISHED Which means that: On protocol TCP there's an active connection (ESTABLISHED) which is pointing to 94.245.117.45 ON PORT 80 (WHICH IS A TYPICAL PORT FOR WEBSERVERS). Now take a look at 10.0.0.10, this is the PRIVATE address of your computer, look at the port number... it isn't 80 but instead 49225. Now open another website and notice that your LOCAL PORT is radomly generated each time you open a connection. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted September 5, 2011 Author Posted September 5, 2011 interesting....so when connecting outbound to a specific port, it uses a randam port on the local machine, but the computer receiving the connection will receive it on 27015? so ill leave the port entries blank? Thanks! Quote
iphonogasm Posted September 5, 2011 Author Posted September 5, 2011 so here my current setup. [ATTACH]153.IPB[/ATTACH] [ATTACH]152.IPB[/ATTACH] quick question, what are the eth0, eth1, eth2, eth3 and eth4 options for? How does this look?? Thanks heaps! Quote
ICTCity Posted September 5, 2011 Posted September 5, 2011 SET THE DESTINATION PORT TO 27015. Each client tries to OPEN CONNECTION ON PORT 27015 (because your server is running on that port). ETH1... are others interfaces... Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Recommended Posts