Call to the Experts/RV082:set routing to dedicated link

Answered Question
Nov 19th, 2010

HI to all!

I need of you help to know where can I find guides/info/post/examples about how to set a dedicated link for my RV082. Let me explain to you my issue:

This link is a frame relay that provides connection to SAP and other services in http outside internet, the link is plugged without additional settings to a LAN port of the RV082 and this link does not provide Internet nor email. For users to access to this link at this moment they change the IP address of their machines from the automatic DHCP option to any address of the dedicated link network plus the default gateway of the link when they need to access the SAP and other services and later change again to automatic DHCP when finish consulting SAP.

By other side the internet is provided by a cablemodem and a DSL that are using WAN1 and WAN2 ports.

What I need to do?: that my users can access the link and the internet at the same time without changing IP address or adding routing tables on the Pc's nor don't provoke failures on internet browsing avoiding that Pc's looks internet or send emails by dedicated link. I have no idea about the correct set on the router to ccomplish this. How can you help me?! Is possible with RV082 do this?

Thanks! NfDr1979!

I have this problem too.
0 votes
Correct Answer by rberber07 about 3 years 4 months ago

I cannot guess what "All suggestions have not worked" really means.

The "two-sided configuration" works, I'm sure of that, there's nothing unusual in that type of configuration.  My guess is that the other side doesn't want to set static routes on their gateway, or it was not even tryied.

The "one-sided configuration" is tricky and has to be precise, "variations" only mess things up.  I agree that the RV might not be able to do the necessary NATing, in fact an option I've used it to add an inexpensive router that can do the job, and I really mean inexpensive, I'm using a US$25. Motorola with modified firmware (DD-WRT) to do the source NATing on an Intranet (so the other side sees everything comming from the network they assigned us, and I don't have to do any changes on my network, other that setting static routes and configuring the inexpensive router of course).

If you want to close the thread, no problem, that's your choice.

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
rberber07 Thu, 12/02/2010 - 16:45

Yes, it is possible, but it needs configuration on both LANs.

In the RV082 go to Setup -> Advanced Routing, and define a static route: destination IP and mask (as needed for one or a range of machines on the other side of the Intranet), default gateway is the LAN IP of your RV082, hop count 1, interface is LAN.  Save settings.

That's half the configuration needed, the other half is the equivalent on the other side of the Intranet, lets say LAN2 also needs to know how to return packets to LAN1.  Depending on what is on LAN2 it could be as easy as opening the subnet mask (so they can see both networks at the same time), or again doing it by using a static route.

Opening the subnet mask in both sides is another option, easily centralized if you use DHCP for everybody, but works only if both networks have close address ranges, for instance one is 192.168.33.0/24 and the other 192.168.50/24.

A third alternative is setting up a computer or separate router with so-called "multi-homing", which means using 2 IP addresses, one address is the regular one in LAN1, the 2nd is a fixed address on LAN2, and that computer or router is set as the gateway for the Intranet.  This alternative needs no change in configuration for LAN2, is very close to what you've been doing by changing IP addresses.  This should be possible with the RV082 by manually configuring a secondary IP address (manually meaning enabling telnet, then telnet, then shell, then ifconfig... since I don't think the Web interface has that option, I could be wrong).

I hope my explanation is not too complicated, there's always many alternatives to do things like these (and I listed only the ones I've used recently).

Nelson Fernando... Fri, 12/03/2010 - 08:50

Thanks Rene for helping me. I will try the settings suggested by you on RV082 router and I will comments the results for you later. But I have no control over the dedicated link router that connects such network with my network and I need to explain the situation to the administrators so I think that negotiation and explanation that I will give to them would take a couple of days. Really they don't help me never on this matter.

One question: on RV082 Setup -> Advanced Routing there is an option called Working Mode. At this momment it is on Gateway option. Do I need to switch it to Router option? I have problems dealing with this setting.

About IP adressing:

My LAN 1 is using 192.168.0.0 and 255.255.255.0 subnet mask, and DHCP server enabled.

The LAN 2, the network that I need to reach is 172.17.35.0 but the subnet mask works using 255.255.255.0 and 255.255.0.0. I think that here on subnet mask I have other problem to solve.

2nd Option: the subnet mask in both sides is a new idea for me but is an option that I think could not be implemented easily because both ranges are far one from another unless I would change my network range and make it closer to the other, but I need to do a lot of modifications that would stops office work only for testing and I'm not sure of its success.

3rd Option: the web interface dont provide me the options to doing that. RV082 and other linksys products disappoint me a bit due to poor web interfaces in relation to what the hardware could do.

Some computers on the office, long time ago, used to reach both networks the windows command route and no modifications on RV082. But we moved the office and this configuration stopped to work on new office. Nobody can explain what went wrong and how to fix; the solution was change IP address manually when users need to reach the other network. I quoted to you such route settings entered on these machines using route print command and text entered on windows hosts file:

Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric

          0.0.0.0          0.0.0.0      192.168.0.1   192.168.0.124   20

        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1   1

       172.17.0.0      255.255.0.0    192.168.0.254   192.168.0.124   1

       172.19.0.0      255.255.0.0    192.168.0.254   192.168.0.124   1

       172.31.0.0      255.255.0.0    192.168.0.254   192.168.0.124   1

      192.168.0.0    255.255.255.0    192.168.0.124   192.168.0.124   20

    192.168.0.124  255.255.255.255        127.0.0.1       127.0.0.1   20

    192.168.0.255  255.255.255.255    192.168.0.124   192.168.0.124   20

        224.0.0.0        240.0.0.0    192.168.0.124   192.168.0.124   20

  255.255.255.255  255.255.255.255    192.168.0.124   192.168.0.124   1

Default Gateway:       192.168.0.1

===========================================================================

Persistent Routes:

  Network Address          Netmask  Gateway Address  Metric

       172.17.0.0      255.255.0.0    192.168.0.254       1

       172.19.0.0      255.255.0.0    192.168.0.254       1

       172.31.0.0      255.255.0.0    192.168.0.254       1

and there is routes added on Windows hosts file:

172.31.129.118 nsdc-as00000

172.31.129.118 nsdc-as01000

172.31.129.118 nsdc-as02000

172.31.129.112 nsdc-ts01001

172.31.129.35 AO-PRD-2.git.toyotsu.co.jp

172.31.133.140 AO-DEV-2.git.toyotsu.co.jp

Is a mess!. Thanks Rene.

rberber07 Fri, 12/03/2010 - 11:08

nelsonfdiazr wrote:

Do I need to switch it to Router option?

No.   The RV is your gateway to the Internet, and it stays the same.

nelsonfdiazr wrote:

My LAN 1 is using 192.168.0.0 and 255.255.255.0 subnet mask, and DHCP server enabled.

The LAN 2, the network that I need to reach is 172.17.35.0 but the subnet mask works using 255.255.255.0 and 255.255.0.0. I think that here on subnet mask I have other problem to solve.

No problem, don't move anything.

You can't use the netmask change, the addreses are on different private space.  Discard anything I said about netmask.

nelsonfdiazr wrote:

Some computers on the office, long time ago, used to reach both networks the windows command route and no modifications on RV082. But we moved the office and this configuration stopped to work on new office. Nobody can explain what went wrong and how to fix; the solution was change IP address manually when users need to reach the other network. I quoted to you such route settings entered on these machines using route print command and text entered on windows hosts file:

That's actually another option, you can use "multi-homing" (spelling?) only on the PCs that need to reach both LANs.  By that I mean any computer can use more than one IP address, and they will reach both networks as long as the OS is doing the "forwarding" (that's the name of the Kernel flag you have to set on Linux,  in fact I used to do this on any Unix by routing: adding a static route that simply sent the trafic to the network interface -- the only one they had).  This option also implies no change on the RV.

When both sides of the Intranet use the same IP address range there is no need for routing or anything else, as you already saw when the IP address is changed on a PC.  The hosts file doesn't define routes, just host names, but you do show some static routes that use 192.168.0.254 as the gateway, that is a mix that will not work, either set the gateways (both sides) and don't change the PCs, or change the PCs and not change the gateway and do not use static routes on the PC.

The RV082's Web interface does allow using multiple IP addresses ("multi-homing"), in Setup -> Network : Multiple Subnet.  First push the Add/Edit button.  Give the RV082 an address on the other LAN, subnet mask depends on the range you want to reach (you show routes for 172.17.0.0, 172.19.0.0, and 172.23.0.0 so the netmask probably is very open 255.128.0.0) and the static route will work with no change on the other side.

Nelson Fernando... Fri, 12/03/2010 - 13:25

HI Rene! I Tried your suggestions but they donto 172.17.0.0t work. I think that I'm setting incorrectly or I'm not understanding correctly you and understanding at all this issue.

I set several parameters looking for the ideal. What I did initially?

Setup -> Network -> LAN Setting -> Multiple Subnet Setting -> 172.17.0.0 / 255.128.0.0

                                                                                            172.19.0.0 / 255.128.0.0

                                                                                            172.23.0.0 / 255.128.0.0

and

Setup -> Advanced routing -> Static routing -> Destinatioton IP 172.17.35.1 (default gateway of the dedicated link router)

                                                                    Subnet Mask 255.255.255.0

                                                                    Default gateway 192.168.0.1 (My RV082 router)

                                                                    Hop count 1

                                                                    Interface LAN

This parameters don't work, later I started to change subnet mask on Multiple Subnet Setting and Static routing, I equalized them, later I tried several changes on subnet masks from 255.128.0.0 until 255.255.255.255. I modified Static routing 172.17.35.1, to 172.17.35.0, to 172.17.0.0 and add 172.19.0.0 and 172.23.0.0 like static routes with their respectives subnet masks and always equalizing subnet masks on Multiple Subnet Setting, I increased Hop count to 2 and to 3 in every scenario and I have no results. 

What do you think? By the moment I'm not doing changes on machines, and I'm using a machine without static routes added.

Thank you very much Rene, I appreciate a lot your advices.

rberber07 Fri, 12/03/2010 - 13:38

nelsonfdiazr wrote:

Setup -> Network -> LAN Setting -> Multiple Subnet Setting -> 172.17.0.0 / 255.128.0.0

                                                                                            172.19.0.0 / 255.128.0.0

                                                                                            172.23.0.0 / 255.128.0.0

No, the netmask I suggested was open to all those networks.

If you want to set multiple configurations, one for each network, then you can use a mask of 255.255.255.0 (for specific class C network).

Both the address and the mask above are wrong.  The address you show is a "network address", you should use a host address assigned to your RV082 (i.e. fixed, no body touches it, nobody else uses it on the other side, or for that matter on both sides).  The network mask should be set depending on the range of IP addresses you want to reach, I proposed 255.128.0.0 which would allow to reach from 172.0.0.0 to 172.127.255.255.

nelsonfdiazr wrote:

Setup -> Advanced routing -> Static routing -> Destinatioton IP 172.17.35.1 (default gateway of the dedicated link router)

                                                                    Subnet Mask 255.255.255.0

                                                                    Default gateway 192.168.0.1 (My RV082 router)

                                                                    Hop count 1

                                                                    Interface LAN

No, the destination in your case is the whole LAN, not a specific machine, and never the other gateway.

Let's say you want to connect to machines on the 172.17.35.0/24 LAN.  Then the satic route is 172.17.35.0/255.255.255.0/192.168.0.1/1/LAN.

rberber07 Fri, 12/03/2010 - 13:52

Additionally, since you seem to be connected to 3 other LANs:

Perhaps each of those LANs only know how to connect between themselves, meaning, they have no route to the other 2 LANs.  In that case you where changing IP on your side's PCs each time you wanted to communicate with a different Intranet LAN.

If that is the case, then you where going in the right direction, you'll need 3 extra IP addresses on the RV082, one in each remote LAN, and 3 static routes.

rberber07 Sun, 12/05/2010 - 10:46

There is a missing piece for a "one side configuration" solution.  But first let me recap:

  • With your current configuration (RV using multiple addresses and static routes) you should be able to ping from the RV to the other LANs, but not from your LAN;
  • By "one sided configuration" I mean that all the configuration changes that need to be done is on your side.
  • The regular, "two sided configuration" will also work; this configuration is the one using static routes on both sides, no multiple addresses needed, or anything else.

Now, what is the missing piece?  You need the RV to act as a gateway to the other LANs, the difference between simple routing and gateway being the NAT functionallity, to be precise you need "source NATing", but the RV doesn't have that so I won't go into detail, what the RV has is one-to-one NATing, which may be the answer.

Yes, I said "maybe" for 2 reasons: I haven't used it, so I don't know if it really works, and second, I don't know how it is implemented so it could be restricted to the WAN ports and then no use, but if its not restricted the "one side configuration" will work.

So the missing piece is to define in Setup -> One-to-One Nat a range of IP addresses that will be mapped, for instance:

Private Range                      Begin
Public Range                      Begin
Range Length

                   192.168.0.2                                          172.17.35.222                                             31

Of course that means that those addresses on the other LAN are available, use the ones you have been using when you change local PCs, or if you don't have a continuous range then get one.

Nelson Fernando... Mon, 12/06/2010 - 10:53

Hi Rene!

I just read your answers. Today is a hard day on office and I have not enough time for my tasks at this moment. Let me read, implement and testing your suggestions and later I will reply about results.

Thanks Rene!

Nelson Fernando... Tue, 12/07/2010 - 12:05

Hi Rene!

All suggestions have not worked, I implemented  your proposed settings and some variations over them but no results. I have serious doubts about RV082 to accomplish that I want to, at least apparently it could do but firmware I think is very poor.

If you have other idea I think that I could finish this forum.

Thanks Rene, I appreciate a lot your cooperation.

Correct Answer
rberber07 Tue, 12/07/2010 - 12:39

I cannot guess what "All suggestions have not worked" really means.

The "two-sided configuration" works, I'm sure of that, there's nothing unusual in that type of configuration.  My guess is that the other side doesn't want to set static routes on their gateway, or it was not even tryied.

The "one-sided configuration" is tricky and has to be precise, "variations" only mess things up.  I agree that the RV might not be able to do the necessary NATing, in fact an option I've used it to add an inexpensive router that can do the job, and I really mean inexpensive, I'm using a US$25. Motorola with modified firmware (DD-WRT) to do the source NATing on an Intranet (so the other side sees everything comming from the network they assigned us, and I don't have to do any changes on my network, other that setting static routes and configuring the inexpensive router of course).

If you want to close the thread, no problem, that's your choice.

Actions

Login or Register to take actions

This Discussion

Posted November 19, 2010 at 6:17 PM
Stats:
Replies:11 Avg. Rating:5
Views:1986 Votes:0
Shares:0

Related Content

Discussions Leaderboard