cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1588
Views
0
Helpful
3
Replies

Routing in multiple routers

ToTT
Level 1
Level 1

I am having 3 SOHO routers connected. Router 1 and 2 cannot do static route.

Here is the topology:

ISP--R1--R2--R3--Switch SG350

R1 - Wan: public IP, Lan: 192.168.10.1

R2 - Wan: 192.168.10.2, Lan: 192.168.0.1

R3 - Wan: 192.168.0.2, Lan: 192.168.1.1

 

Switch SG350

VLAN1 is 192.168.1.2, DHCP (I turned off DHCP in R3)

VLAN2 is 192.168.2.1, DHCP

 

Now, when my pc is connected to VLAN1, I have internet. But if I am connected to VLAN2, I can't.

But, how come I have internet in VLAN1? The router 1 and 2 don't know I have router 3, no?

If I tracert in VLAN1: 192.168.1.1---192.168.10.1---Public IP (Internet works, but router 2 missing?) 

If I tracert in VLAN2: 192.168.2.1---192.168.1.1---Request time out

 

My question is, how come when I am setting gateway to 192.168.1.1, I can get internet?

And how do I able to get internet when I am connected to VLAN2?

Thank you.

1 Accepted Solution

Accepted Solutions

Ok, I finally managed to overcome this problem.Thanks again to Richard Burts.

Basically, after having connection to the router, I need the address translation just like what Richard says here: https://community.cisco.com/t5/routing/vlan-net-access-without-router-config/m-p/4061665

Luckily, I am using router that has DD-WRT firmware and there is an option to Masquerade Route (NAT) as an option for a static route.

After turning it on, internet worked.  

View solution in original post

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @ToTT ,

you have made a daisy chain of home gateways of routers to be used in a private home. Each of them perform NAT = network address translation until the one connected to the ISP makes the last NAT and allows Internet access.

 

You should verify if R3 supports Vlans in order to be able to support also vlan 2

 

Hope to help

Giuseppe

 

Hi Giuseppe, thank you for trying to help.

R3 doesn't support VLAN, but R3 has static routes. I should be able to make VLAN2 to connect to internet, right?

 

I am confused, I heard that we need router to be configured (using static routes) so data from different subnets can be carried. But in the example, R1 and R2 are not configured but they can allow data from and to R3.

-------

Maybe I didn't make this clear, first thing first.

VLAN1 interface: 192.168.1.2, gateway: 192.168.1.1 (R3 ip) is ABLE to connect to internet

VLAN2 interface: 192.168.2.1, gateway: 192.168.2.1 is NOT in internet, but able to ping R3

Even the R3 can ping to 192.168.2.1.

Ok, I finally managed to overcome this problem.Thanks again to Richard Burts.

Basically, after having connection to the router, I need the address translation just like what Richard says here: https://community.cisco.com/t5/routing/vlan-net-access-without-router-config/m-p/4061665

Luckily, I am using router that has DD-WRT firmware and there is an option to Masquerade Route (NAT) as an option for a static route.

After turning it on, internet worked.