WAN connection is propagated using optical fibre, and then converted to the 10/100mbit switch.
Those two IPs are connected to one router, which is not under my control. This router provides the Internet using NAT.
Okay, so is the wan link just going through a standard bridged network with no routing to get from LAN1 to LAN2?
If so then this will be very easy to achieve.
Since both Routerboards will be linked with IP addresses in the same range, it’s the same as taking two router boards and just runninng a direct cable between them.
I am not at my office/home where I have all my reference notes, but I think you would do this by creating routing tables on each router pointing at the opposite routers link port as the gateway, and using this router as the interface.
LAN A - WAN: 192.168.1.132, LAN 10.16.5.1/24
Dst: 10.16.9.0/24
Gateway: 192.168.1.170
LAN B - WAN: 192.168.1.170, LAN 10.16.9.1/24
Dst: 10.16.5.0/24
Gateway: 192.168.1.132
As your solution works fine, I have additional question,
there one little issue I would like to have resolved, I can not access windows resources using normal names, e.g. I can not map a network drive using normal notation: \name\share
instead I have to use ip address notation,
what am I missing?
NetBIOS on just client machines usually resolves names via broadcasts. Broadcasts don’t cross layer 3 boundaries (routers). You can work around this by either implementing WINS on both subnets and configuring clients to use them to resolves names, at which point name resolution is unicast to the WINS server and works fine. Or implement Active Directory, which uses DNS.