2

I had set up my LAN like this. enter image description here

I can ping from the laptop to PC, but I can't ping from PC to laptop. The result:

PING 192.168.11.25 (192.168.11.25) 56(84) bytes of data.
From 192.168.2.123 icmp_seq=1 Destination Host Unreachable

I have the Routing Table on Router 1:

2   192.168.2.0 255.255.255.0   0.0.0.0 LAN & WLAN

and Routing Table on Router 2:

2   192.168.2.0     255.255.255.0   0.0.0.0 Intranet WAN
2   192.168.11.0    255.255.255.0   0.0.0.0 LAN

I had tried to add the route 192.168.11.0 255.255.255.0 0.0.0.0 LAN to router 1 but it didn't work.

UPDATE I used the Ping Tool in Router 1 then ping to 192.168.2.100 - Router 2 and it shows Request time out

Davuz
  • 827
  • 1
  • 8
  • 9

1 Answers1

1

Make sure you have Router 2 set up as a plain old IP forwarding router, and not a NAT gateway.

On Router 1 add a route:

192.168.11.0 255.255.2550 192.168.2.100 LAN

That is, the 192.168.11/24 subnet should be routed to the router whose IP address on the local subnet is 192.168.2.100.

Edit: As David pointed out, the above instructions won't allow the devices behind Router 2 to reach the Internet unless you configure the NAT gateway in Router 1 to support both NAT private subnets simultaneously. I suspect what you really need is the stuff I had written below:

Or better yet, if you're not doing this to learn about IP subnetting and routing, just turn router 2 into a simple bridge so you can use a single subnet for the whole LAN.

Spiff
  • 110,156