View Single Post
  #2   (View Single Post)  
Old 25th September 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

It looks to me like you'd have to set your main office server to be the gateway for the LAN on the other side, so 201 should route traffic destined for 202 to the main office, and 202 should route traffic destined for 201 to the main office. The main office server knows where both networks are, so it is capable of routing traffic between them (assuming IP forwarding is on already).

In pseudo code:

201: route add 202/24 main-office-ip
202: route add 201/24 main-office-ip

P.S.: the main office server knows where both networks are, your local NIC does not. Therefore that traffic just gets routed via the default gateway, which is its internet connection.

Last edited by DutchDaemon; 25th September 2008 at 11:45 PM.
Reply With Quote