• February 22, 2025, 03:01:02 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: Time Out of Internet Sessions  (Read 16098 times)

hippopo

  • Level 1 Member
  • *
  • Posts: 6
Time Out of Internet Sessions
« on: May 19, 2014, 11:20:25 PM »

I'm monitoring Internet Sessions of clients connected to DIR-645, and I see that Time Out values start from 60 (sec) for a new connection. If the connection is not active, after 60 sec the router closes the connection.

Can somebody confirm that I'm not just seeing things? I've been very diligent, and monitored the connections for quite a while.

If this indeed is true, the setting of 60 sec is overly limiting.

Note that sometimes time outs of all connections suddenly jump to around 7200 for a while, and after some time they all go back to range 0-60.  Very weird...

I'm on latest firmware 1.04.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Time Out of Internet Sessions
« Reply #1 on: May 20, 2014, 07:19:23 AM »

Link>Welcome!

  • What region are you located?
  • Are you wired or wireless connected to the router?
  • Was a Factory Reset performed before and after any firmware updates then set up from scratch?
FW Update Process
  • Was the router working before any firmware updates?

Internet Service Provider and Modem Configurations
  • What ISP Service do you have? Cable or DSL?
  • What ISP Modem Mfr. and model # do you have?
  • Is ISP Modem/Service using Dynamic or Static WAN IP addressing?
  • What ISP Modem service link speeds UP and Down do you have?

This may be by design so other connections can be made after 60 seconds...
Are you having problems with the router?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

hippopo

  • Level 1 Member
  • *
  • Posts: 6
Re: Time Out of Internet Sessions
« Reply #2 on: May 20, 2014, 08:38:34 AM »

    Link>Welcome!

    • What region are you located?
    - US, California
    • Are you wired or wireless connected to the router?
    - Both
    • Was a Factory Reset performed before and after any firmware updates then set up from scratch?FW Update Process
    - Yes
    • Was the router working before any firmware updates?
    - Yes

    Internet Service Provider and Modem Configurations - AT&T
    • What ISP Service do you have? Cable or DSL?
    - U-Verse
    • What ISP Modem Mfr. and model # do you have?
    - 3600HGV
    • Is ISP Modem/Service using Dynamic or Static WAN IP addressing?
    - Dynamic
    • What ISP Modem service link speeds UP and Down do you have?
    - 19192 kbs down / 2040 kbs up

    This may be by design so other connections can be made after 60 seconds...
    Are you having problems with the router?

    [/list]

    Yes!

    SSH sessions I open to my home server from outside drop after just 60 seconds of inactivity!

    Google push notifications don't reach my Android phones - see here.
    Looks like this router is on the worst side...
    « Last Edit: May 20, 2014, 11:02:51 AM by hippopo »
    Logged

    FurryNutz

    • Poweruser
    •   ▲
      ▲ ▲
    • *****
    • Posts: 49923
    • D-Link Global Forum Moderator
      • Router Troubleshooting
    Re: Time Out of Internet Sessions
    « Reply #3 on: May 20, 2014, 08:47:20 AM »

    One issue is that you maybe in a double NAT condition. ATT Uverse modems have built in routers and most of the time, can't be bridged:

    • If the ISP modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems: Link>Double NAT and How NAT Works. To tell if the modem is bridged or not, look at the routers web page, Status/Device Info/Wan Section, if there is a 192.168.0.# address in the WAN IP address field, then the modem is not bridged. If the modem can't be bridged then see if the modem has a DMZ option and input the IP address the router gets from the modem and put that into the modems DMZ. Also check the routers DHCP IP address maybe conflicting with the ISP modems IP address of 192.168.0.1. Check to see if this is the same on the ISP modem, and if modem can't be bridged, change the DIR router to 192.168.1.1 or .0.254.
      Example of a D-Link router configured for PPPoE with ISP Modem bridged: PPPoE Configuration on Router

    Another test suggestion would be to do this with the 645 and let your ISP modem handle all DHCP and NAT processes:
     Turning a router into an AP.
    Logged
    Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

    hippopo

    • Level 1 Member
    • *
    • Posts: 6
    Re: Time Out of Internet Sessions
    « Reply #4 on: May 20, 2014, 08:55:05 AM »

    One issue is that you maybe in a double NAT condition. ATT Uverse modems have built in routers and most of the time, can't be bridged:

    • If the ISP modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems: Link>Double NAT and How NAT Works. To tell if the modem is bridged or not, look at the routers web page, Status/Device Info/Wan Section, if there is a 192.168.0.# address in the WAN IP address field, then the modem is not bridged. If the modem can't be bridged then see if the modem has a DMZ option and input the IP address the router gets from the modem and put that into the modems DMZ. Also check the routers DHCP IP address maybe conflicting with the ISP modems IP address of 192.168.0.1. Check to see if this is the same on the ISP modem, and if modem can't be bridged, change the DIR router to 192.168.1.1 or .0.254.
      Example of a D-Link router configured for PPPoE with ISP Modem bridged: PPPoE Configuration on Router

    Another test suggestion would be to do this with the 645 and let your ISP modem handle all DHCP and NAT processes:
     Turning a router into an AP.

    In the modem, the router is in DMZ.
    I prefer my router to manage all traffic, wired and wireless.

    As for suggestion to turn the router into a dumb AP, that's not what I bought it for!
    Logged

    FurryNutz

    • Poweruser
    •   ▲
      ▲ ▲
    • *****
    • Posts: 49923
    • D-Link Global Forum Moderator
      • Router Troubleshooting
    Re: Time Out of Internet Sessions
    « Reply #5 on: May 20, 2014, 09:04:46 AM »

    Router and Wired Configurations
    Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router. Besure to log into the Admin account on the router.
    • Turn off ALL QoS or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options, Advanced/QoS
    • Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual or under Setup/PARENTAL CONTROL/Set to>None: Static IP or Obtain Automatically From ISP.
    • Enable or Disable Use Unicasting (compatibility for some ISP DHCP Servers) and test under Setup/Internet/Manual. Disable may help with speed performance on higher speed ISP services.
    • Turn on DNS Relay  under Setup/Networking. Link>Finding Faster DNS Addresses using Name Bench and input new DNS addresses under Setup/Internet/Manual.
    • Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking. This ensures each devices gets its own IP address when turned on and connected, eliminates IP address conflicts and helps in troubleshooting and maintain consistency for applications that need to connect as well as mapped drives.
    • Ensure devices are set to auto obtain an IP address.
    • If IPv6 is an option on the router, select Local Connection Only under Setup/IPv6.
    • Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall. Enable or Disable SPI to test.
    • Enable uPnP and Multi-cast Streaming under Advanced/Networking. Disable uPnP for testing Port Forwarding rules. Enable IPv6 Multi-cast Streaming for routers that have a Media Server option. Disable IPv6 Multi-cast Streaming if IPv6 or Media Server is not being used.
    • Turn off WISH, and WPS under Advanced.
    • WAN Port Speed set to Auto or specific speed? Some newer ISP modems support 1000Mb so manually setting to Gb speeds can be supported by the router. Advanced/Advanced Networking/WAN Port Speed
    • Set current Time Zone, Date and Time. Use an NTP Server feature. The DST setting is only needed in the NA region. Tools/Time.


    Wireless Configurations
    Links>Wireless Installation Considerations and Managing Signal Congestion and Good Neighbour Policy
    • Ensure the default (dlink) SSID name is changed. Can be anything and not something that's already in use by any neighboring WiFi routers. Under Setup/Wireless/Manual.
    • What wireless modes are you using?
    • 2.4Ghz Routers only: Try single mode G or N or mixed G and N?
    • Channel Width set for Auto 20/40Mhz or try 20Mhz only.
    • Try setting a manual Channel to a open or unused channel. 1, 6 or 11. 11 for single mode N if the channel is clear. 13 for EU regions.
    • What security mode are you using? Preferred security is WPA-Personal. WPA2/AES Only. Some WiFi adapters don't support AES, so you might want to try TPIK only or Auto TPIK and AES.
    • What wireless devices do you have connected?
    • Any 2.4Ghz or 5Ghz cordless house phones or WiFi APs near by?
    • Any other WiFi routers in the area? Link> Use InSSIDer to find out. How many?
    • If you have any of these options, Try turning OFF or ON Short GI, WLAN Partition, Extra Wireless Protection and HT 20/40 Co-existence if you have it. Also testing with HT20/40Mhz Co-existence enabled will impact results as well. I prefer to use this option OFF. Recommended settings are default. Under Advanced/Advanced Wireless.

    Be aware that the DMZ on the ISP modem by not be full DMZ, we've seen issues with DMZ Plus not fully allowing all traffic with in it: http://forums.dlink.com/index.php?topic=49338.0

    Be sure you are using Keep Alive features or commands for those apps that use or have it.

    You may still have NAT issues between the ISP modem and this router.

    I have this router and have never had any issues with it. However my ISP modem is a stand alone modem only.
    Logged
    Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

    hippopo

    • Level 1 Member
    • *
    • Posts: 6
    Re: Time Out of Internet Sessions
    « Reply #6 on: May 20, 2014, 09:51:59 AM »

    Router and Wired Configurations
    Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router. Besure to log into the Admin account on the router.
    • Turn off ALL QoS or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options, Advanced/QoS
    • Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual or under Setup/PARENTAL CONTROL/Set to>None: Static IP or Obtain Automatically From ISP.
    • Enable or Disable Use Unicasting (compatibility for some ISP DHCP Servers) and test under Setup/Internet/Manual. Disable may help with speed performance on higher speed ISP services.
    • Turn on DNS Relay  under Setup/Networking. Link>Finding Faster DNS Addresses using Name Bench and input new DNS addresses under Setup/Internet/Manual.
    • Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking. This ensures each devices gets its own IP address when turned on and connected, eliminates IP address conflicts and helps in troubleshooting and maintain consistency for applications that need to connect as well as mapped drives.
    • Ensure devices are set to auto obtain an IP address.
    • If IPv6 is an option on the router, select Local Connection Only under Setup/IPv6.
    • Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall. Enable or Disable SPI to test.
    • Enable uPnP and Multi-cast Streaming under Advanced/Networking. Disable uPnP for testing Port Forwarding rules. Enable IPv6 Multi-cast Streaming for routers that have a Media Server option. Disable IPv6 Multi-cast Streaming if IPv6 or Media Server is not being used.
    • Turn off WISH, and WPS under Advanced.
    • WAN Port Speed set to Auto or specific speed? Some newer ISP modems support 1000Mb so manually setting to Gb speeds can be supported by the router. Advanced/Advanced Networking/WAN Port Speed
    • Set current Time Zone, Date and Time. Use an NTP Server feature. The DST setting is only needed in the NA region. Tools/Time.


    Wireless Configurations
    Links>Wireless Installation Considerations and Managing Signal Congestion and Good Neighbour Policy
    • Ensure the default (dlink) SSID name is changed. Can be anything and not something that's already in use by any neighboring WiFi routers. Under Setup/Wireless/Manual.
    • What wireless modes are you using?
    • 2.4Ghz Routers only: Try single mode G or N or mixed G and N?
    • Channel Width set for Auto 20/40Mhz or try 20Mhz only.
    • Try setting a manual Channel to a open or unused channel. 1, 6 or 11. 11 for single mode N if the channel is clear. 13 for EU regions.
    • What security mode are you using? Preferred security is WPA-Personal. WPA2/AES Only. Some WiFi adapters don't support AES, so you might want to try TPIK only or Auto TPIK and AES.
    • What wireless devices do you have connected?
    • Any 2.4Ghz or 5Ghz cordless house phones or WiFi APs near by?
    • Any other WiFi routers in the area? Link> Use InSSIDer to find out. How many?
    • If you have any of these options, Try turning OFF or ON Short GI, WLAN Partition, Extra Wireless Protection and HT 20/40 Co-existence if you have it. Also testing with HT20/40Mhz Co-existence enabled will impact results as well. I prefer to use this option OFF. Recommended settings are default. Under Advanced/Advanced Wireless.

    Be aware that the DMZ on the ISP modem by not be full DMZ, we've seen issues with DMZ Plus not fully allowing all traffic with in it: http://forums.dlink.com/index.php?topic=49338.0

    Be sure you are using Keep Alive features or commands for those apps that use or have it.

    You may still have NAT issues between the ISP modem and this router.

    I have this router and have never had any issues with it. However my ISP modem is a stand alone modem only.


    I have tried most of these things already.

    Actually, after I turned off QOS, initial results were encouraging - initial timeout values started from 432000 sec (300 days). However this quickly deteriorated.

    I wrote a browser macro (using iMacros) and a post-processing script to capture timeouts on port 5228 (used by Google push) on a few Android phone clients (that all have fixed IP addresses) every 10 seconds and dump them into log files.
    Here are the results for one of clients:

    431977
    431965
    431953
    431941
    431840
    431828
    431817
    431805
    431793
    431781
    431769
    431758
    431746
    55
    43
    31
    19
    7
    0
    0
    0
    0
    0
    0
    55
    43
    31
    19
    7
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0


    Zero means there was no open TCP connection on port 5228 at the time of measurement.

    Why did such a big and nice timeout value deteriorate to much smaller value so abruptly??
    « Last Edit: May 20, 2014, 11:24:33 AM by hippopo »
    Logged

    FurryNutz

    • Poweruser
    •   ▲
      ▲ ▲
    • *****
    • Posts: 49923
    • D-Link Global Forum Moderator
      • Router Troubleshooting
    Re: Time Out of Internet Sessions
    « Reply #7 on: May 20, 2014, 09:57:48 AM »

    Is the fixed IP addresses ON the router or ON the devices?
    Logged
    Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

    hippopo

    • Level 1 Member
    • *
    • Posts: 6
    Re: Time Out of Internet Sessions
    « Reply #8 on: May 20, 2014, 09:59:06 AM »

    Is the fixed IP addresses ON the router or ON the devices?

    DHCP RESERVATIONS
    Logged

    FurryNutz

    • Poweruser
    •   ▲
      ▲ ▲
    • *****
    • Posts: 49923
    • D-Link Global Forum Moderator
      • Router Troubleshooting
    Re: Time Out of Internet Sessions
    « Reply #9 on: May 20, 2014, 10:26:03 AM »

    Only things I would suggests is test the 645 out in wired ap mode and see if the problem persists.

    If you have a friend, family or neighbor, I'd test this out at there place with a different ISP modem and run the 645 in router mode and see if the problem follows.

    If the problem continues, I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this. We find that phone contact has better immediate results over using email.

    Let us know how it goes....
    Logged
    Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

    hippopo

    • Level 1 Member
    • *
    • Posts: 6
    Re: Time Out of Internet Sessions
    « Reply #10 on: May 20, 2014, 10:54:14 AM »

    Can somebody confirm my findings with their DIR-645?  or any other D-Link router?
    Logged