two LANs, two ISPs and one network printer

generalecluster

Reputable
Mar 17, 2015
1
0
4,510
Hello,
I have two different lans in the same office with two separate routers and internet connections.
LAN A has ip's in the class 192.168.8.xxx
LAN B has ip's in the class 192.168.15.xxx

LAN A has a network printer with a static IP address 192.168.8.230

I want to share the printer, and only that, with LAN B.

I've added a router between the two LANs: the WAN interface in the router has 192.168.8.2 and the LAN interface in the router has 192.168.15.99
That is:
<-- 192.168.8.x ->(wan)[router](lan)<-- 192.168.15.x -->

The router is a TP-LINK TD-W8970 configured in "Wireless router" operation mode.

Then, on a PC in LAN B I've added a static route with:
route add -net 192.168.8.230 netmask 255.255.255.255 gw 192.168.15.99 dev eth1

Anyway, if I try to ping the printer I get no answer. What am I missing?
Thank you