• February 23, 2025, 05:09:10 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: How to prioritize specific traffic?  (Read 10567 times)

andrey

  • Level 2 Member
  • **
  • Posts: 27
How to prioritize specific traffic?
« on: April 03, 2008, 03:59:47 PM »

I currently have linux server on my network that I use to record several MP3 streams using Streamripper (http://streamripper.sourceforge.net/). My network is set up as the following:

DGL-4500 ----- > linux PC
               ----- > WinXP PC #1
               ----- > WinXP PC #2
               ----- > WinXP laptop

Streamripper uses port 8000 for its traffic by default and everything works great when noone uses the network or surfs the web. However, once someone starts using any of the computers, streamripper disconnects and reconnects every 10-15 minutes.

Gamefuel is set to Auto on my DGL-4500, but that doesn't seem to keep the connection on linux box constant. What can I do to ensure that Streamripper gets the priority over other traffic on the network (web surfing, e-mail, other computers streaming audio/video)? What would be the specific settings I need to enable/disable on the router?

             
Logged

TaVARUS

  • Level 2 Member
  • **
  • Posts: 27
Re: How to prioritize specific traffic?
« Reply #1 on: April 11, 2008, 11:58:40 AM »

    This is best visualized using the folllowing FAQ:

                 http://support.dlink.com/faq/view.asp?prod_id=1998&question=DGL-4100%20/%20DGL-4300%20/%20DGL-4500

    For your specific rule you'll want to specify the following:
                 Priority: 50 or 100
                 Protocol: TCP (6), UDP (17), both (257) or all (256)
                 Source IP Range: <IP Address of the Linux PC (Static IP or DHCP Reservation)>
                 Source Port Range: 8000
                 Destination IP Range: 0.0.0.0 to 255.255.255.255
                 Destination Port Range: 1 to 65535

    Click the save Setting button and go start a stream from the Linux box. Open the WebUI for the router then go to STATUS tab >> INTERNET SESSION page ... you should see the priority field as what you have specified in the rule (50 or 100).

    The rule may be changed from the initial 50 or 100; ...test different values to get the prioritization you are comfortable with.
Logged

andrey

  • Level 2 Member
  • **
  • Posts: 27
Re: How to prioritize specific traffic?
« Reply #2 on: April 14, 2008, 09:10:23 AM »

    This is best visualized using the folllowing FAQ:

                 http://support.dlink.com/faq/view.asp?prod_id=1998&question=DGL-4100%20/%20DGL-4300%20/%20DGL-4500

    For your specific rule you'll want to specify the following:
                 Priority: 50 or 100
                 Protocol: TCP (6), UDP (17), both (257) or all (256)
                 Source IP Range: <IP Address of the Linux PC (Static IP or DHCP Reservation)>
                 Source Port Range: 8000
                 Destination IP Range: 0.0.0.0 to 255.255.255.255
                 Destination Port Range: 1 to 65535

    Click the save Setting button and go start a stream from the Linux box. Open the WebUI for the router then go to STATUS tab >> INTERNET SESSION page ... you should see the priority field as what you have specified in the rule (50 or 100).

    The rule may be changed from the initial 50 or 100; ...test different values to get the prioritization you are comfortable with.

Thank you, that actually worked. I ran a few tests over the weekend with streaming, while at the same time downloading several files, using Skype and BT. No problems with disconnected streams any longer. I did set the priority to 100 since most of other packets by default get priority 128 or lower.

Thanks again,
-- Andrey
Logged

TaVARUS

  • Level 2 Member
  • **
  • Posts: 27
Re: How to prioritize specific traffic?
« Reply #3 on: April 14, 2008, 09:30:35 AM »

Glad to be of assistance! Also, disabling "Automatic Classification" will default all communications to 255 (vise 128), at which point... full user management of all Priorities will be required. I would not suggested it, unless your testing something!
Logged

andrey

  • Level 2 Member
  • **
  • Posts: 27
Re: How to prioritize specific traffic?
« Reply #4 on: April 16, 2008, 07:18:04 PM »

Just out of curiosity, what happens when two connections that are established are set to the same priority? Which one gets prioritized in that case?

My guess would be the one that was established first, but I'm not 100% certain on that...
Logged

TaVARUS

  • Level 2 Member
  • **
  • Posts: 27
Re: How to prioritize specific traffic?
« Reply #5 on: April 17, 2008, 06:59:13 AM »

If they both are given the same priority, then they still are prioritized over any other traffic; it just becomes first come first serve.
Logged