open one route between subnets?

Danno January 27, 2009 at 21:07:20
Specs: Not Applicable
I would like to make available a webserver on a subnet of two connected WRT54G routers running dd-wrt and openWRT firmware. Router (A)'s LAN is 192.168.1.x and (B) has LAN 192.168.2.x with (A) the internet gateway. (B) is connected on it's WAN port to a LAN port on (A).

(A) has netmask 255.255.0.0 (with whatever the ISP's gateway) and (B) 255.255.255.0
with gateway 192.168.1.1, that is, (A)'s LAN

clients on (B) can access (A), but I would like to make the address 192.168.2.2 accessible to clients on (A)

Suggestions?


See More: open one route between subnets?

Report •


#1
January 28, 2009 at 06:51:15
You would add a static route in router a that points to the router b's subnet x.x.2.x

Report •

#2
January 28, 2009 at 07:00:05
You would have to add a routing table but my guess is you don't need two subnets in the first place. It's just extra work.

Also, why do you have a class B subnet mask on a class C subnet?


Report •

Related Solutions


Ask Question