1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RV042 - no detection of WAN interfaces coming up in the Load Balance setup

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by piotr.dobrogost, Jun 8, 2007.

  1. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Hi All

    I have RV042 (fw 1.3.8.2) in the Load Balance setup with two active broadband connections. If I switch off one of the two WAN interfaces (simply unplugging the cable) - let's call it an A - the other one - let's call it a B - gets all traffic. That's ok. But if I switch the A interface back on RV042 keeps sending data only through the B interface. It's interesting to notice that switching the B interface off forces RV042 to see the A interface once again and RV042 starts sending traffic through A.

    That's not how it's supposed to work... Can someone with two broadband connections check it and tell us if RV042 IS REALLY BADLY BROKEN in this point?

    Best regards
    Piotr Dobrogost
    POLAND

    Linksys support in Poland told my unit must be broken and asked me to return it but I think it's not a problem of this particular unit...
     
  2. Toxic

    Toxic Administrator Staff Member

    what setting are you using in "Network Service Detection"
     
  3. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Toxic, thanks a lot for a quick respone.

    As to the Network Service Detection config I have the following:
    Retry count: 3
    Retry timeout: 20
    When Fail: Remove the Connection
    Ping: Default Gateway

    But that's not the problem with Network Service Detection in my opinion. Unplugging any of cables connected to WAN interfaces causes RV042 to notice this immediately because that's physical not logical change in the state of the interface. Consequently the routing table gets changed immediately as well and unplugged WAN interface is beeing removed from the routing table. Plugging unplugged cable back into WAN interface causes immediate change to the routing table and WAN interface is beeing added the routing table back. Neverthless the proper change in the routing table the unplugged/plugged WAN interface doesn't gets data for a long time. I have a problem to measure the exact time RV042 takes to start sending data through unplugged/plugged WAN interface but that's about several minutes or longer and that's SIMPLY UNACCEPTABLY LONG TIME.

    Can someone with two broadband connections check it and tell us if RV042 IS REALLY BADLY BROKEN in this point?



    Best regards
    Piotr Dobrogost
     
  4. d__l

    d__l Network Guru Member

    There should be log entries at the exact times the router is removing or resuming the pppx connection due to network detection. Does your RV042 not begin to transmit through the pppx connection once it is resumed or is the router taking longer than your 20 second retry time interval to resume the pppx connection after it is re-plugged in?
     
  5. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    d___, thanks a lot for a quick response.

    It seems there's no such entries... You can see the changes in the routing table using the Setup/Advanced Routing/Show Routing Table option in the web UI. When the wan cable is beeing unplugged there's no entry in the log and when the wan cable is beeing replugged in the only entry in the log is about DHCP:

    Jun 9 17:41:14 2007 System Log DHCP lease info: ip[192.168.1.11] mask[255.255.255.0] gw[192.168.1.1] host_name[UNAVAILABLED] domain_name[AUTOERA] server_name[NOT GIVEN] dns_server1[194.204.152.34] dns_server2[217.98.63.164] ttl[0] mtu[0] renew_time[2007/6/10 14:41:14] expire_time[2007/6/10 17:41:14]


    It takes more than 2 hours for RV042 to start transmitting through the replugged wan interface... Sometimes it doesn't start transmitting even after 4 hours or so. It's hard to tell the exact time because it takes so long. I wrote a VB script running tracert command every 1 minute and writting output and time to a text file to measure the time it takes for RV042 to start using replugged wan interface.
    Option Explicit


    Dim WshShell
    Set WshShell = WScript.CreateObject ("WScript.Shell")

    Dim minutes, result
    For minutes=1 To 240
    result = WshShell.Run("cmd /c time /t >> tracert.txt", 7 , true)
    result = WshShell.Run("cmd /c tracert.exe onet.pl -h 2 >> tracert.txt", 7 , true)
    result = WshShell.Run("cmd /c tracert.exe onet.pl -h 2 >> tracert.txt", 7 , true)
    WScript.Sleep 60000
    Next


    I'll post the timings once I have it.

    Can someone with two broadband connections try unplugging and replugging wan interfaces and confirm that RV042 IS REALLY BADLY BROKEN in this point?
     
  6. d__l

    d__l Network Guru Member

    I don't have an RV042, but based on the way my RV082 operates I think that yours might be broken. My router makes the log notations of the ppp0 or ppp1 connection being removed or resuming whenever the WAN connection is dropped or added. The log entries read like this:

    Router rv082 syslog_nk-(system log)suspend : remove ppp1 due to fail on network service detection
    Router rv082 syslog_nk-(system log)suspend : resume ppp1 due to success on network service detection

    AFAIK, when the router says that it has resumed a ppp connection, then that connection can be and is used for transmissions. These resumptions can happen in as little as 30 secs after removal (the timeout detection interval I use).

    I think those messages are controlled by the System Error Messages or Configuration Changes and if you aren't gettting them with those two enabled, then your router wouldn't be working correctly.
     
  7. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Firstly, what's the reason for dropping and adding wan connections in your case? Do you unplug/replug wan cables in the same way I do it or maybe you only disturb/disconnects your modems connected to RV082?

    Secondly, I guess you have your RV082 connected to cable/DSL modems and thus WAN Connection Type in Setup section set to PPPoE whereas I have my RV042 connected to WAG300N (WAN 1) and WRT54G3G (WAN 2) gateways and thus I have WAN Connection Type set to Obtain an IP automatically. Because of this I'll never have any info on PPP connections in my log because there's no such connections in my setup.

    Please note also that your log entries are due to fail/success of Network Service Detection whereas in my case I'm PHYSICALLY unpluggin/replugging wan interfaces and that's not connected with the Network Service Detection per se. Routing table gets changed immediately after unplug/replug of wan interface without waiting for fail/success of Network Service Detection feature.

    That said I'm pretty sure that a type of a wan connection is irrelevant to my problem because unplugging/replugging any of the wan interfaces should be and in fact IS SEEN immediately by RV042. The problem is in RV042 not starting to transmit data through the replugged wan interface.

    Can someone with RV042 and two broadband connections try unplugging and replugging wan interfaces and confirm that RV042 IS REALLY BADLY BROKEN in this point?
     
  8. d__l

    d__l Network Guru Member

    My use of Network Service Detection is allow the router to determine the state of the link between my network and my broadband provider's network in order to direct packet traffic through it. The default gateway my router is pinging is the first router on my provider's network. My router will remove/resume the use of the WAN and issue a log message if either of the modem's cables are disconnected/connected, if any of the intervening DSLAM or the transparent ATM routers have failed/ are working, or if the pinged gateway router simply fails to respond for any other reason. My router is in Working Mode: Gateway.

    Are your default gateways for Network Service Detection not the IP's of your WAG300N and WRT54G3G? Wouldn't your use of Network Service Detection be then limited to detecting the link between your gateway routers which are within your network, the WAG300N and WRT54G3G, and your RV042 and not be able to tell if there was any link between your network and your broadband provider's network? This presumes your router is in Working Mode: Router.

    The choices for routers to ping for Network Service Detection seem to be mostly ones external to the router's network and I believe an external router is intended for that selection. What happens if you set your RV042 to ping a router within your broadband provider's network for Network Service Detection rather than your default gateway?

    If that doesn't work, then good luck finding someone with your unusual configuration to duplicate your problem.
     
  9. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Perfectly understood and I agree with all you said in this part.

    Mine too. I've tried once setting Working Mode to Router but then all hosts in my local network have lost a connection to the Internet.

    Till now I've been thinking that my gateways would forward their default gateways (which belong to my ISP's network) to RV042. Now I see that's not the way it's been working...
    The question is why there's no way to see in the web UI what gateways are currently set by RV042 for use with Network Service Detection? If there were such a feature then I'd have discovered my error in this setting at once.

    After changing setting of Network Service Detection from Default Gateway to Remote Host RV042 started to properly remove and add wan interfaces as can be seen in the log:
    SUSPEND : Remove ixp1 due to fail on Network Service Detection
    SUSPEND : Resume ixp1 due to success on Network Service Detection

    And guess what...that doesn't help. After info on resuming wan interface in a log RV042 keeps sending data through only one wan interface...

    Why do you think that my setup is unusual? I think it's very usual. Most of currently available network devices for sharing the Internet combine a modem with a router in the one box. Those devices get connected to the dual wan routers like RV series from the Linksys.

    Digging into this problem I noticed two strange things. I'm not sure if they are in any way connected with the problem but I'd like to know your opinion;

    Why is routing table not symmetrical as to default routes from the beginning? Mine looks like this:
    default 0.0.0.0 192.168.1.1 15 ixp1
    default 0.0.0.0 192.168.1.1 40 ixp1
    default 0.0.0.0 192.168.1.2 40 ixp2
    The second and the third routes are symmetrical. What is the first route for???

    Why does routing table still contain the route to the wan interface being removed due to fail on Network Service Detection?

    SUSPEND : Remove ixp2 due to fail on Network Service Detection
    default 0.0.0.0 192.168.1.1 40 ixp1
    default 0.0.0.0 192.168.1.2 40 ixp2


    Can someone with RV042 and two broadband connections try unplugging and replugging wan interfaces and confirm that RV042 IS REALLY BADLY BROKEN in not being able to reuse replugged wan interface?
     
  10. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Can someone with RV042 and two broadband connections try unplugging and replugging wan interfaces and confirm that RV042 IS REALLY BADLY BROKEN in not being able to reuse replugged wan interface?

    Please help me. I'm sure there are plenty of people on this forum with the right setup to check if my findings are true.
     
  11. Toxic

    Toxic Administrator Staff Member

    Piotr.. I have chatted to one of my Linksys Contacts, his reply is as follows:

    I would suggest contacting Linksys Support (USA) as they have far better support and will be able to forward your problem to the relevant depatment.

    Hope this helps.
     
  12. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Toxic

    Once again, thanks for your time and help. It's been six months since the last posting (yours) in this thread. Sorry for not answering for a long time but I had no time for this activity.

    I've replaced my unit with the new one and the problem remains.

    I'm pretty sure I won't be able to make any progress by contacting Linksys Support by myself. I've had bad luck with this in the past.
    Could you please forward a copy of this thread to your friend at Linksys, please? Maybe that would help. I've already written everything needed so that they could duplicate the problem.

    Regards
    Piotr Dobrogost
     
  13. Toxic

    Toxic Administrator Staff Member

    Piotr please check your Private messages
     
  14. piotr.dobrogost

    piotr.dobrogost LI Guru Member

    Agree.

    And how does the router know when the link goes down? I guess the same tests must be carried out when the link is UP to determine if it goes DOWN as in the opposite way. Can you confirm this? If yes, is the retry timeout the same? If retry timeouts are the same shouldn't they be different? (for example testing the link in the UP status could be more seldom that testing the link the DOWN status)

    Only the primary WAN will resume? I think not. In the Load Balance mode both WANs should be equal.
     

Share This Page