Question

Communicate between multiple routers

Asked by: Adam314

I have a setup like this:

Cable Modem
     |
     |
Router 1
  |    |    |
  |    |    |
  |    |    \___ Computer A
  |    \_____ Computer B
  |
Router 2
  |    |    |
  |    |    |
  |    |    \__ Computer C
  |    \____ Computer D
  \______ Computer E

The Router 1 is a linksys RT31P2.  It has DHCP, providing IP addresses 192.168.15.101 and up.
The Router 2 is a linksys WRT54G.  It has DHCP, providing IP addresses 192.168.1.101 and up.

All computers can access the internet without problem.

From Computer C, I can ping all the other computer.  But from computer A, I can only ping computer B - nothing connected to the other router.  I tried adding a route on Router 1 that would send any traffic going to 192.168.1.0/255.255.255.0 to the other router, but it didn't work.  

I would like all the computer to be able to communicate with any others.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-16 at 13:30:42ID24497084
Tags

linksys network route

Topics

Network Routers

,

Miscellaneous Networking

Participating Experts
4
Points
496
Comments
28

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Connecting linksys WRT54G Router to wired Linksys BEF…
    Hi, I currently have a wired Linksys BEFSR41 router attached to my desktop. I recently purchased a Linksys WRT54G wireless router to use as an access point off the wired router. I did this because Linksys says the WRT54G can act as an access point and I would also have a comp...
  2. Linksys WRT54G
    Does anyone know how to check the NAT table on a linksys WRT54g? I use this device at home, & I'm beginning to require frequent (several times a day) resets just to keep internet connection up. When I experienced this at work on a different brand of router, I checked th...
  3. Routing problem with Linksys WRT54G router
    I have three sites setup with VPN tunnels between them using Linksys BEFVP41 routers setup as follows: Site A: Internal router IP = 192.168.1.1 1 tunnel to site B, 1 tunnel to site C Site B: Internal router IP = 192.168.2.1 1 tunnel to site A, 1 tunnel to site c Site C: In...
  4. Linksys WRT54GS Wireless Router can't connect to cabl…
    I am working on cable modem setup back from the @Home days. There is an old linkys router attached to the Cable Modem (RCA Digital Cable Modem) connected to an older 4port linkys hub and everthing works just fine. However I need to setup wireless so I bought the Linksys WR...
  5. DSL Modem/router, connecting it to a second router. (…
    I just signed up for verizon DSL. They sent me a Westell DSL modem (versalink 327w) which is also a router. I already have a (linksys wrt54g) router set up with a network. I want to connect the wan port on the linksys to a lan port on the westell and have access. However, I d...
  6. DHCP Automatic Renewal in a Linksys router which is conn…
    I have a Linksys router connected to my Satellite Two-Way Modem . The IP Address and DNS Server of the broadband provider are dynamic . Frequently they chenged thier IP and/or DNS servers . I set the router to Autmatic Configuration-DHCP which is said to be the correct settin...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: gonz-ITPosted on 2009-06-16 at 13:37:31ID: 24642295

In router 2:

-Disable DHCP
-Enable access point mode

Now you have a regular network with one router and the WRT working as a switch for wired clients and as an access point for wireless clients.

 

by: kak1004Posted on 2009-06-16 at 13:49:55ID: 24642416

i think the problem here is that your router might be limited.
technically your setup and ip route is correct and you should not have a problem when pinging from a to c.
Router 2 knows about router 1 and thats why when you ping from c to a it works but router one does not know about router 2 because all traffic is pointing to cable modem.  you could probaly test this by doing trace routes and pings from the routers.
if i had the same situation and it seems like its not really a security issue i would just use on subnet for all computers and use router 2 as a switch only. I would also look into vlans if you need 2 subnets. I think you might have more control using vlans.

 

by: Adam314Posted on 2009-06-16 at 14:30:53ID: 24642811

gonz-IT>> When I log in to the router (through a web page), I have an option for enable/disable.  Do I just set this to disable, and the rest is done?

kak1004>> The setup is this way because Router 1 is in the basement, where all the other rooms terminate.  But in 1 room (the room with router 2), I have 3 computers - but only 1 set of wiring from that room to the basement.  Also, router 1 is for vonage, and does not have wireless, while router 2 does.

So, the physical wiring has to stay the same.  I want each computer to be able to communicate with each other, and with the internet.  If vlans makes sense, I will try that, but don't know how to do it.  I'd also rather not buy any new hardware.

 

by: lanboyoPosted on 2009-06-16 at 19:01:48ID: 24644306

You need to disable firewall and network address translation on router 2.

 

by: lanboyoPosted on 2009-06-16 at 19:09:24ID: 24644345

Alternatively, disable dhcp on router 2 (important), and put the connection to router 1 into the one of the lan ports on router 2, not the wan port. You may need to use a crossover cable. This will put all the lan ports into one big bridge group, including the wireless.

The pcs will all be in the 192.168.15.101 range.

 

by: techassoPosted on 2009-06-16 at 21:51:02ID: 24644916

you can try to disable firewall NAT From Both routers.

 

by: techassoPosted on 2009-06-16 at 21:51:54ID: 24644921

or u can define rule for your abcd computers for outward data.

 

by: Adam314Posted on 2009-06-16 at 22:33:41ID: 24645078

Thank you all.  I will hopefully try everything tomorrow, and let you know.  

 

by: gonz-ITPosted on 2009-06-17 at 06:46:12ID: 24648055

Yes, just disable DHCP in router 2, and switch to Access Point mode, with this configuration now you have only one network without the need to specify routes and every computer will be able to communicate with each other.

One more thing: When connecting Router 1 to router 2, plug it to ports 1, 2, 3, or 4, this means: don't use the "WAN" port in router 2.

 

by: Adam314Posted on 2009-06-17 at 17:16:10ID: 24653712

I tried disabling DHCP on router 2.  When I did this, none of the computers on that router could communicate with anything - not other comptuers on router 2, not internet.

I tried disabling Firewall.  This didn't change anything.  Computers on router 2 could ping those on router 1, but not the other way around.

Here is a traceroute output
From computer C at 192.168.1.101, to computer A at 192.168.15.101
$ traceroute 192.168.15.101
traceroute to 192.168.15.101 (192.168.15.101), 30 hops max, 40 byte packets
 1  192.168.1.1 (192.168.1.1)  0.818 ms  1.221 ms  2.280 ms
 2  192.168.15.101 (192.168.15.101)  8.316 ms  8.686 ms  8.894 ms


>>put the connection to router 1 into the one of the lan ports on router 2, not the wan port.
I haven't tested this yet, but if I do this, then my router 2 will not get an IP address, correct?  So I won't be able to log in to it to change settings.  I'd rather not go with this method, as I frequently turn off (when not needed) or on (when needed) the wireless - so it's not just on all the time.  If it doesn't get an ip address, I wouldn't be able to do this.  
I'd like to find a way to make the communication work, while still having the ability to log in to the router 2 to change settings as needed.



What I didn't know how to do:

>>Enable access point mode
I didn't see any options about this.  I'm assuming I should be looking on router 2 for this type of option.

>>disable NAT on router 2
I didn't see an option to do this.  I did on router 1 though.  When I go in to the "Advanced Routing" configuration section on router 2 (which is where I can disable NAT on router 1), I can choose the "operating mode" to be either "Gateway" or "Router".  It is currently set to Gateway, which was the default.

>>define rule for your abcd computers for outward data.
Not sure what this means, or how to do it.




If I log in to router 1, and show the routing table, I get this:

Destination LAN IP          Subnet Mask          Default Gateway          Hop Count          Interface
0.0.0.0                                0.0.0.0                      <ISP gateway>             1                          WAN
<ISP>                                 255.255.254.0         0.0.0.0                            1                          WAN
162.168.15.0                    255.255.255.0         0.0.0.0                            1                           LAN

 

by: kak1004Posted on 2009-06-17 at 17:52:29ID: 24653836

in router 1 you will need to add 192.168.1.0 255.255.255.0 192.168.1.1 (router 2 address)
the problem here is that router 2 knows about router 1 but router 1 is set so that all traffic (0.0.0.0 0.0.0.0)  ISP gateway will be sent to internet.
like i said earlier i do not know if consumer routers will aloow this but you could try adding this line in.

 

by: kak1004Posted on 2009-06-17 at 17:58:18ID: 24653854

Destination LAN IP          Subnet Mask          Default Gateway          Hop Count       Interface
0.0.0.0                                0.0.0.0                      <ISP gateway>             1                          WAN
<ISP>                                 255.255.254.0         0.0.0.0                            1                          WAN
162.168.15.0                    255.255.255.0         0.0.0.0                            1                           LAN

192.168.1.0                      255.255.255.0   192.168.15.1 (router 2)                                    LAN

 



 

 

by: Adam314Posted on 2009-06-19 at 21:33:17ID: 24672298

I tried adding both the routes you suggested, one at a time, plus one I tried myself:
post 24653836:     192.168.1.0     255.255.255.0     192.168.15.1          0     LAN
post 24653854:     192.168.1.0     255.255.255.0     192.168.1.1            0     LAN
another           :     192.168.1.0     255.255.255.0      192.168.15.100     0      LAN

Note: 192.168.15.100 is the WAN ip address of router 2.  None of these worked - I could ping from Computer C to Computer A, but not the other way around.

Any other ideas?

 

by: Adam314Posted on 2009-06-19 at 21:38:36ID: 24672319

I did a little more playing around... I might have success!

I used the third route posted above on router 1.  But, then, on router 2, in the advanced routing page, I changed from using "Gateway" mode to using "Router" mode.

Doing some more testing, but so far, looks promising.  I'll keep you posted.

 

by: gonz-ITPosted on 2009-06-20 at 04:16:57ID: 24673272

>>put the connection to router 1 into the one of the lan ports on router 2, not the wan port.
I haven't tested this yet, but if I do this, then my router 2 will not get an IP address, correct?

Yes, that's correct, so you configure a static IP to this router/access point, also, you are able to turn it on and off at any time.

 

by: gonz-ITPosted on 2009-06-20 at 04:21:13ID: 24673281

I may be missing something but ¿why are you trying to configure this as two separate routed networks? ¿why can't you just do one network with one router and the other devices acting as switches/access points?

The fact that the WRT (router 2) has routing capabilities doesn't mean you HAVE to use that capability. See it as a switch.

 

by: Adam314Posted on 2009-06-23 at 16:02:59ID: 24697153

One network is fine. How do I give the router 2 a static IP when I plug it in with the LAN instead fo the WAN?  Do I just go to it's configuration, and pick some IP address?   Or does the router 1 need to know about it?

 

by: lanboyoPosted on 2009-06-23 at 16:46:21ID: 24697422

Router 1 does not need to know about Router 2.  Everything in the LAN will communicate on the same subnet and communication will be bridged between all the lan ports on router 2, the wireless and the lan ports on router 1.

The issue, is that unless you disable DHCP on router 2, you will have two dhcp servers on the same network, handing out overlapping or conflicting network addresses.

So that you can continue to manage router 2's wireless, just give it a static IP in the range from router 1's lan address. And Turn off DHCP.

:-)

To do this, log into router 2 as it is currently set up, change the IP to 192.168.15.10. (or another unused address on Router 1s LAN.)  You will lose connection with router 2 for a second, but release and renew the IP address, and you can connect to it on its new IP.

Now Disable DHCP on router 2 in the client configuration menu. Now move the connection between router 1 and router 2 from the wan port of router 2 to one of the lan ports.

You should now do an ipconfig /release and an ipconfig /renew on all workstations connected to router 2. You should now be one happy famuily on the 192.168.15.0/24 network.

You can go to 192.168.15.10 (or whatever IP you gave it .) to change the wireless settings/disable the wireless settings whatever.



 

by: gonz-ITPosted on 2009-06-24 at 12:07:17ID: 24704593

I will use your same diagram to help you. This is what we are proposing you as THE solution:

Cable Modem
     |
     |
Router 1 and Only Router (RT31P2)
  |    |    |
  |    |    |
  |    |    \___ Computer A
  |    \_____ Computer B
  |
Access Point and Switch (Linksys WRT)
  |    |    |
  |    |    |
  |    |    \__ Computer C
  |    \____ Computer D
  \______ Computer E

To make the WRT act as Access Point and switch, you should:
1. Assign a static IP address to it: 192.168.15.10
2. Connect it to the router, using one of the WRT's 4 normal ports, not the WAN port
3. Disable the DHCP service
4. Connect wired computers (C, D or E) to ports 2 3 or 4
5. Connect wireless computers as you configured the wireless section of the WRT

Please try hard each of this 5 steps, you shouldn't have any problem, and if there's something you don't know how to do, just look around in the WRT's web configuration page and you will find out.

 

by: Adam314Posted on 2009-06-24 at 13:53:24ID: 24705715

Thanks everybody.  I plan on trying it tonight.

 

by: Adam314Posted on 2009-06-24 at 21:03:33ID: 24707962

On router 2:
    * I moved the connection that goes to router 1 from WAN, to one of the LAN ports
    * I gave it the static IP address 192.168.15.10.
    * I turned off DHCP server

I unpowered router 2, then powered it back on.  All computers on router 2 got new IP addresses (ifconfig down/up, ipconfig /release/renew).  Those got addresses in the 192.168.15.100+ range, and can access the internet, and communicate with each other.

The problem - I can't access my router 2 through the web.  When I go to the address in a browser http://192.168.15.10, I get an error that the browser "Can't establish a connection to the server".  I also tried 192.168.1.1, but that gave the same error.
In order to be able connect to router 2, I had to re-connect it through the WAN port, and then press the reset button on it.  I think the 1 network ideas (rather than 2 networks with routes between them) is probably the better way to go... but I need to be able to connect to router 2.  Any ideas?


 

by: Adam314Posted on 2009-06-24 at 21:09:32ID: 24707983

Also... When router was setup as a switch, I looked at the clients table on router 1, and router 2 (192.168.15.10) did not show up.

So I tried giving router 2 the static ip address 192.168.15.120, thinking maybe it had to be higher than .100, but the same.

 

by: lanboyoPosted on 2009-06-24 at 22:14:43ID: 24708337

Ummm. Set up router 2 to permit remote management, give the internal network an ip of 192.168.1.1 , leave the dhcp server off and connect a cable between the lan port and the wan port of router 2. Manage it by whatever ip the wan port gets from dhcp. I'm running out of thoughts. Could you connect to 15.10 from ports connected to lan ports of router2? Do an arp -a on devices that are unable to ping it.

 

by: gonz-ITPosted on 2009-06-25 at 06:44:59ID: 24711307

>>Also... When router was setup as a switch, I looked at the clients table on router 1, and router 2 (192.168.15.10) did not show up.

That's perfectly normal because the "client table" is really a DHCP table, and the switch/access point is not getting a dynamic ip, it has a static ip configured.

You were in the right path, you had the solution, please configure everything again and I'll help you to enter the web configuration of your WRT.

 

by: Adam314Posted on 2009-06-25 at 10:49:25ID: 24714066

>>connect a cable between the lan port and the wan port of router 2.
I don't have any more LAN ports on router 2 - it has 4, and with the switch setup, they are all used.

>>Could you connect to 15.10 from ports connected to lan ports of router2
No, I tried using both computer C and D, and neither could connect to either .15.10 or .1.1 (the address it used when it was a DHCP server).

>>arp -a
I'll try this and get back to you.

>>That's perfectly normal
Okay, that's good.

>>please configure everything again and I'll help you to enter the web configuration of your WRT.
Will do.  What should I try next?

 

by: gonz-ITPosted on 2009-06-25 at 11:24:39ID: 24714468

>>>>please configure everything again and I'll help you to enter the web configuration of your WRT.
>>Will do.  What should I try next?

1.Make sure every computer can ping each other and browse the internet
2. Open a browser and go to http://192.168.15.10 which will be the WRT static IP address. It should work, and if it doesn't, please report back to us instead of unconfigure everything again,

 

by: Adam314Posted on 2009-07-06 at 10:46:11ID: 24787483

Sorry for the delay.  I was on vacation last week, so didn't get to this.  I plan on getting back to it this week (hopefully today), and getting back to you.

 

by: Adam314Posted on 2009-07-23 at 10:41:33ID: 24927888

Sorry again for the delay.  Since this has been working (maybe ideally as 1 router, 1 switch), it hasn't been a priority to make it any more efficient.  So I will close the question.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...