Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Networking Networking
Search Search
Search for:
Tech Support Guy > > >

Two routers on different subnets


(!)

Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 04:33 PM #1
Two routers on different subnets
I have two routers that I need to have on different subnets. The secondary router can see everything on the primary, but the primary router cannot ping the secondary or access machines on it. My setup is as follows.

Primary router: 192.168.168.0/24
local address: 192.168.168.1
gateway 192.168.168.1
DHCP: 192.168.168.100-102
static IP for secondary router: 192.168.168.150


Secondary: 10.13.37.0/24
Local address: 10.13.37.1
gateway 192.168.168.1
DHCP: 10.13.37.100-102


The WAN port of secondary is connected to LAN port on primary.

I suspect that I need to set up a static route somewhere for machines on primary to see machines on secondary. But where? And how should it be configured? I have tried numerous possiblities, but nothing has worked.

Any help is greatly appreciated!
SmallNetBuilder's Avatar
SmallNetBuilder SmallNetBuilder is offline
Member with 36 posts.
 
Join Date: May 2008
Experience: Advanced
09-May-2008, 04:45 PM #2
Are these two NAT-based routers? If so, the secondary's firewall is blocking traffic.

What are you trying to do with the two subnets?
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 04:51 PM #3
Yes, they are two NAT-based routers.

I have a VPN server on the 192.168.168.0 subnet, and the only way that I can test it (without needing a separate ISP access) is to have the client on a separate subnet.
SmallNetBuilder's Avatar
SmallNetBuilder SmallNetBuilder is offline
Member with 36 posts.
 
Join Date: May 2008
Experience: Advanced
09-May-2008, 05:05 PM #4
You should be able to at least ping the secondary router's WAN IP. Make sure that the second router isn't set to block WAN pings.
Since you're testing VPN (IPsec or PPTP?), you don't want to forward ports or put the test client in DMZ.
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 05:16 PM #5
I cannot ping the WAN IP on the secondary, and I do not see a setting for ping reponse on it.

I am not forwarding any ports, nor is anything in DMZ.
SmallNetBuilder's Avatar
SmallNetBuilder SmallNetBuilder is offline
Member with 36 posts.
 
Join Date: May 2008
Experience: Advanced
09-May-2008, 05:20 PM #6
What make and model are the two routers?
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 05:27 PM #7
WRT54GL using DD-WRT v23 SP2
TerryNet's Avatar
Computer Specs
Moderator with 65,245 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
09-May-2008, 07:50 PM #8
"... primary router cannot ping the secondary or access machines on it."

I'm pretty sure that the ping feature some routers have is for pinging on the WAN connection. Other computers connected to the primary should be able to ping the secondary router's WAN address.

One of the things that makes a router a router is its NAT layer, which acts as a natural firewall. From the WAN side you cannot initiate access to devices on the LAN except by using the DMZ or port forwarding.
Courtneyc's Avatar
Computer Specs
Member with 1,896 posts.
 
Join Date: Dec 2003
Location: South Central Kansas
Experience: Advanced
09-May-2008, 08:00 PM #9
How is the secondary router getting to the primary? The gateway address of a network must actually be on that network. The secondary router has an invalid gateway address (unlike the first one). The inside address is on the 10.13.37.0/24 network. The outside appears to be on the 192.168.168.0/24 network. Is this the case?

If it is, as I said, the inside gateway of the secondary router is incorrect.

Courtney
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 08:02 PM #10
I have multiple machines on the secondary router, not to mention ones that will occasionally use it and are assigned IPs through DHCP. So, I will need to forward all traffic for the entire subnet. Port forwarding cannot accomplish this.

This is why I believe that I must set up a route in the routing table. I believe it should be on the primary router, routing 10.13.37.0/24 over to the secondary router. But I can't get it to work.
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
09-May-2008, 08:06 PM #11
Quote:
Originally Posted by Courtneyc View Post
How is the secondary router getting to the primary? The gateway address of a network must actually be on that network. The secondary router has an invalid gateway address (unlike the first one). The inside address is on the 10.13.37.0/24 network. The outside appears to be on the 192.168.168.0/24 network. Is this the case?

If it is, as I said, the inside gateway of the secondary router is incorrect.

Courtney
If the secondary shouldn't have a gateway of 192.168.168.1 (the primary router's IP), what should it have?

I am not sure what you mean by 'inside' and 'outside'.
SmallNetBuilder's Avatar
SmallNetBuilder SmallNetBuilder is offline
Member with 36 posts.
 
Join Date: May 2008
Experience: Advanced
11-May-2008, 08:49 AM #12
Static routes are not going to work through a NAT firewall. If you are setting up a VPN tunnel, won't the machines connect via it?
Curly's Avatar
Senior Member with 1,249 posts.
THREAD STARTER
 
Join Date: Apr 2002
Experience: Useless
11-May-2008, 05:50 PM #13
Actually, I was finally able to set up a static route to the subnet on the secondary router, and now both the router and all machines respond to ping. But I'm still not able to perform file sharing from primary to secondary. I think it may have something to do with NetBIOS and needing a WINS server to redirect through routers. . I don't have a server OS, so if it is true, I won't be able to do it. I'm not clear about this, though, so I need to continue researching it

Yes, the machines of the secondary could tunnel to the primary through the VPN - if they are configured as a client. But not all will be clients.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Two routers, two subnets, host communication problem yeplo Networking 3 06-Oct-2007 12:15 PM
Chained Routers, Sharing Across Subnets (I do NOT want them on the same subnet!) MalReynolds Networking 7 30-Mar-2006 01:40 AM
Mulitple routers, computers on diferent routers can't see one another. musiclover Networking 6 26-Mar-2006 11:02 PM
2 routers in house, internet works but not lan across routers tuminator Networking 6 26-Jan-2005 10:07 AM
Q with : Subnets, Routers, IP communcation. philic1013 Networking 1 12-Oct-2004 01:33 PM

WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑