• January 20, 2018, 01:04:22 PM
  • 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: DIR-645 Based QoS Gaming and QoS Setup Information - XBox Live  (Read 51969 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44296
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
DIR-645 Based QoS Gaming and QoS Setup Information - XBox Live
« on: December 27, 2011, 09:38:19 PM »

The following settings are for the DIR-645/655RevC/835/868L/866L/865L/850L/826L/816L/815RevB and 803 only. The QoS options UI is different from the other DGL/DIR series routers. QoS may not be enabled however fully configurable. Some DIR series routers may have a different QoS UI, for those who don't have the same, please use the following sticky link>: Gaming and QoS for XBL

These settings are for Xbox Live.

Preferred connections for gaming consoles is wired however certain wireless connections work well if configured correctly.

Note: You must save your settings before you leave each page but you can choose to "Reboot Later".
This process can be used for a single xbox or multiple xbox consoles. However, In some cases Game Fuel or QoS may not be needed. Ensure that uPnP is enabled under Advanced/Advanced Networking and this usually can ensure that the NAT status in games is OPEN for gaming. Game Fuel or QoS is only to ensure that when multiple devices are connected to the router, that each devices gets good LAN side data connected service through the router. Game Fuel or QoS does not effect WAN side Internet data connected services!

Preferred settings I use are to set the Xbox console IP address up for a Reserved IP address of the devices on the router so that the IP address does not change for the devices. Ensure devices/consoles are set to Auto Obtain IP Addressing. A Reserved IP address is used in these settings. If the Auto DHCP IP address changes on the console by chance, the QoS will probably no longer work.

Setting up a Reserved IP Address for your device:
Reason for this is so when we open up ports or set up QoS, we don’t want the IP address of the devices to change.

First you must open your browser and type 192.168.0.1 and login to the routers web page. Before we set up QoS for the devices we must first give the device(s) a Reserved IP address through the router and not on the device itself. Once logged in navigate to Basic or Setup > Network Setting look for Number of Dynamic DHCP Clients:    Look for the device in the list at the bottom of the page. Look for the Reserve word link to the right in the same row as the device listing. Click Reserve. This will auto-fill in the Add DHCP RESERVATION section. Here you can name the device and even change the IP address number to a different number if needed. It’s recommended to give a Name to the device for ease of identifying it on the routers web page. Click Add. Once all devices are reserved, scroll up to the top and Click on Save Settings. Some routers offer a Reboot Later option. You can select the Reboot Later option if you want to continue to configure the router. When you done, select the Reboot Now option and let the change take effect.

Here is how it should look in the Networking section that is where you put the info and reserve the ip:

If you don't know which one is your device, review the devices networking properties for a IP address or Hardware (MAC) address information then look for this same information listed in the Number of dynamic DHCP clients list on the router and that's how you know which one is the device your configuring.

Advanced/QoS EngineStandard Global Settings DIR-645 QOS class engines only!

Enable QoS: Should be disabled by default. Check mark to enable it.

QoS Type: Priority by Protocol or Lan Port. Choose Priority By Protocol from the drop down menu.


Uplink Speed: Select Transmission Rate. Select the ISP up link speed from the drop down menu that closely matches what you pay for from your ISP. If the selection is faster or over the up link speed rate, thats fine too.


Downloadlink Speed: Select Transmission Rate. Select the ISP download link speed from the drop down menu that closely matches what you pay for from your ISP. If the selection is faster or over the download link speed rate, thats fine too.


Queue Type: Strict Priority or Weighted Fair Queue. Select Strict Priority Queue. Queue IDs listed (1-4) are what will be used in the Classification rules list.


Add QoS Rule

Enable: Enabled by default. Select the first rule section.
Name: Give any name to this rule. Maybe filled in with default settings. Default rule entries can be over written and used.
Queue ID: Set to 1. (1-4, 4 is the lowest priority) NOTE: This model router does not support the 1-255 priority range rather a 1-4 range.
Protocol: Set to ALL using the drop down menu.
Local IP Range: Reserved IP address of each xbox console in the From and To boxes.
Application Port: ALL in the entry box. Select ALL from the Application Port drop down menu under the port number entry box.
Remote IP Range: 0.0.0.1 in the From box, 255.255.255.254 in the To box.

Name          Priority                       Local IP Range               Remote IP Range                 Protocol / Application Port    
Single Xbox Console Example:
Xbox 360a       1           <XBox a IP> to <XBox a IP>      0.0.0.1 to 255.255.255.254            ALL    ALL
Multiple Xbox Console Example:
Port 3074        1           <XBox 1 IP> to <XBox 3 IP>      0.0.0.1 to 255.255.255.254            ALL    ALL
(Reserved IP address of the Xbox console entered in the Local IP Range from/to boxes.) If the multiple xbox console IP addresses are in sequence, i.e. .101, .102, and .103, then the From and To Local IP Range will include the .102 IP address as well. Adding more xbox consoles to the sequence can be done and makes changing this rule easily by just changing the Local IP Range TO field to include the newly added xbox IP address.

Click Add to add the rule.

Advanced/QoS Engine - Advanced XBL QoS Settings
Finding more specific ports and addresses for Local and Remote Protocol and Remote IP Range and using different implementation of the rules has resulted in the following examples of using QoS/Game Fuel rules for XBL on the DGL series Game Fuel and a DIR Series QoS. The only critical port found to be needed for game play on XBL that Game Fuel/Qos needs to manage is port 3074. All other ports like 53, 80 and 88 are needed however are not high priority or critical for gaming and can easily be connected to by the device with out router intervention, management or QoS configuration. Those ports don't need any forwarding. Some advanced users may prefer to use the following settings instead of the global settings listed above in the Standard Global Settings section:
Specific Local and Remote Port Range: 3074 (Both TCP and UDP)
Specific Remote IP Range has been found to be:
65.52.0.0 - 65.55.255.255 which belong to MS and XBL services.
DIR Series Routers: Use 65.52.0.1 - 65.55.255.2554 for Remote IP Address Range.

NOTE: Some specific games have been seen to need other specific ports opened or forwarded. Please consult the Manufacturer or Developer of the game for detailed information regarding specialized ports other then what MS and XBL uses. Add those ports as needed.

Adding in PCs to the rules as well can be beneficial if you need to access the Internet while someone is also on XBL gaming thus providing good Internet access to the PC while gaming using global ports and remote IP addresses.

UPDATE 11/25/2013:
Please review this information for all Xbox One game consoles as new ports will need to be added as well:
How To: Open NAT to resolve multiplayer and party problems (updated with Xbox One info)

IMPORTANT!!!For XB1 users, the XB1 feature "Instant On" is causing faults NAT conditions and causing Moderate or Strict NAT to be seen. Please disable the "Instant On" feature and use the "Energy Saving" mode. This should show OPEN NAT status. There is a problem with "Instant On" and the handling behavior with uPnP on routers. This is a MS XB1 issue, not a router issue.

XB1 users, new ports have been added for this device:
Port 500
Port 3544
Port 4500

For XB1 users, please use the "Multi-Xbox" global GameFuel or QoS rule example listed below if you set these features up.

Live and working examples:
DIR-645 with QoS:


I have tested these settings on the DIR-645/853/868l/865L and gaming works very well over a 50mb/2Mb cable Internet service connections using a Motorola SB6120/6180 cable modems. Others are using these settings as well. These settings help to ensure that your networking system is running optimal as much as possible.

NOTE: Game lag has been seen and experienced and can be attributed to other XBL users and there network configuration conditions, XBL gaming services conditions or ISP service conditions. It's not guaranteed that these settings can or will resolved any networking problems seen by users.

Additional settings to help improve performance of Dlink routers:
DSL users with modems that have built in routers...It's preferred to bridge these modems and let the Dlink router handle the network traffic management!!! Cable modem users with built in router should do this if possible, however, if either DSL or Cable modem can not be bridged fully, try using the DMZ option for the router, on the ISP modem if it has a DMZ feature.

Setup/Internet/Manual: Disable Advanced DNS Service. Maybe already disabled or not available as an option on some router models.

Setup/Network Settings: Enable DNS relay.
For advanced users, DNS Relay maybe disabled and custom DNS IP addresses maybe used:
Finding Faster DNS Addresses using Name Bench

Advanced/Firewall/NAT EndPoint Filtering
Set for the following:
Both UDP/TCP Endpoint Filtering set to Endpoint Independent. NOTE: This may not be available as an option on some router models.
Enable anti-spoof checking: Mines checked as enabled.
Application Level Gateway (ALG) Configuration: All 4 check boxes should be checked.
The DMZ (Demilitarized Zone): This can be used if your xbox console will not connect to Xbox Live. Only one device can be used here. My console is not on the DMZ. Putting anything in the DMZ renderes the device placed in the DMZ from using of the routers features. It's recommended not to use the DMZ for any gaming console.
Advanced/WISH: Disabled.
Advanced/WiFi Protected Setup: Disabled if you don't have any wireless devices like printers that need this feature.
Advanced/Advanced Network: Enable UPnP. This should be enabled by default.
This process can be used for a single xbox or multiple xbox consoles. However, In some cases Game Fuel or QoS may not be needed. Ensure that uPnP is enabled under Advanced/Advanced Networking and this usually can ensure that the NAT status in games is OPEN for gaming. Game Fuel or QoS is only to ensure that when multiple devices are connected to the router, that each devices gets good LAN side data connected service through the router. Game Fuel or QoS does not effect WAN side Internet data connected services!
Multicast Streams: Enabled. Should enable streaming video from a media server to xbox or other devices. It comes disabled out of the box.

For those using an Xbox console on a WiFi connection to the router, my buddy seems to find the following works well:
Setup/Wireless
Enable Wireless: Enable
Wireless Network Name: (Also called the SSID) Give a name here.
802.11 Band: 2.4GHz.
802.11 Mode: G and N mode only. (Mixed All modes seem to introduce bad performance while using Xbox consoles.) My buddy uses single G mode only. However try using Mixed G and N modes as well or single mode N. 

NOTE: The newer Xbox 360 Slims have built in WiFi and only supports a maximum connection mode of N at 2.4Ghz. A and B modes are not used much any more and don't provide enough speed for gaming or streaming. http://forums.dlink.com/index.php?topic=50107.0
Enable Auto Channel Scan: Enabled or my buddy says he has switched channels around to find the one with the least amount of noise. Even if signal strength is lower, it doesn't always mean the connection is worse. You’re just boosting less noise levels. Try using manual channels if you seem to have problems on auto scan. This could be causes by other neighboring wifi routers.
Transmission Rate: Set to Auto (Mbit/s)
Channel Width: Auto 20/40
Visibility Status: Visible
WiFi Security Mode: Preferred security is WPA-Personal. WPA2 only/AES only. Auto TPIK and AES can be used as well for those devices that don't support the AES only option.
Security Mode: WPA - Personal
WPA Mode: WPA2
Cipher Type: AES Only

Something to consider for gaming and wireless:Bridge Mode vs Relay vs Access Point (AP) / Routers vs Dedicated Acess Points (AP)

Advanced/Application Rules:
Select the Enable check box, then scroll down to the Application Name drop down list and select Xbox Live. These will auto-fill the open boxes. Enter the IP address of the console into the IP address box that you want to add to the list.
The following Advanced/Application Rules section is for PC Gaming and Application port forwarding. These settings are not used or needed for gaming consoles, i.e. xbox, 360 or PS2/3s. Review the Advanced/QoS section for gaming consoles listed above.
Select the Enable check box, then scroll down the Application Name drop down list and select from a pre-set if desired. These will auto-fill the open boxes. Enter the IP address of the PC into the IP address box that you want to add to the list.

Name             IP Address                    TCP Ports     UDP Ports        Schedule    Inbound Filter

Preset name   ###.###.###.###     3074           3074              Always       Allow All
(Reserved IP address of the PC entered in the IP Address box.)
Only one PC IP address can be used here.

Also UDP port 88 is also recommended by MS for port forwarding and will auto populate both port numbers once you select "Xbox live" in the drop down box.
Click Add to add the rule.

IMPORTANT!!!Don't forget to reboot the router to finalize the changes. Do a network factory reset of the xbox console under Settings/Networking/Connetion/Configure Network/2nd tab over/Factory reset. Turn Off the xbox then turn back on. Check NAT status. It should be OPEN!

I recommend saving the Configuration to File of the router for safe keeping, once you have fully test your settings and are satisfied with the results.

Additional XBL information on NAT:
Gaming, Routers and Lag Compensation FAQ
Clear Xbox System Cache
http://forums.xbox.com/xbox_forums/b/engineering_blog/archive/2011/06/21/nats_2d00_and_2d00_xbox_2d00_live.aspx
http://support.xbox.com/en-US/xbox-live/connecting/nat-type-strict
CoD - This is Lag Compensation Explained
Linksys Recommended MTU Value for Xbox 360

Updated 12/01/2012: Edited model to add the DIR-865L.
Updated 10/02/2012: Edited model to add the DIR-835.
Updated 10/23/2013: Edited model to add the DIR-850L.
Updated 02/07/2014: Edited model to add the DIR-816L and 803.
Updated 08/25/2014: Edited model to add the DIR-815 Rev B.
Updated 12/16/2014: Edited model to add the DIR-866L.
« Last Edit: April 29, 2016, 08:35:21 AM by FurryNutz »
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting