Community discussions

MikroTik App
 
User avatar
IGadget
just joined
Topic Author
Posts: 23
Joined: Wed Sep 28, 2005 1:07 am

Routing help

Fri Jun 26, 2009 8:11 am

hello!!!

i have 2 router in different places, one of thems have public wan connection, with the network describled below.... the other is located in other building, and both are connected trought lan cable.
my question is, what is the best way to route a little public ip pool (100.100.100.160 - 100.100.100.171), from router 1 to router 2 ?


my sample public-network:

network: 100.100.100.64/26
gateway: 100.100.100.65
Available ip range: 100.100.100.66 - 100.100.100.171
broadcast : 100.100.100.172


Router1 (placed in building 1)
Gateway: 100.100.100.65
WAN Interface: 100.100.100.66 - 100.100.100.160
Lan Interface: 172.16.0.1/30
.
.
(private lan)
.
.
Router2 (placed in building 2)
Lan Interface: 172.16.0.2/30

txs a lot for a help!!!
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: Routing help

Wed Jul 01, 2009 11:54 pm

IGadget -
The simple answer is in the routing table;

100.100.100.160/27 or 28 or 29 , depends on how many IPs you want to route over to the other building, GW=172.16.0.2 (LAN interface of building 2). At building 2 you can either use NAT or put the public IPs on one of your interfaces.


R/
 
User avatar
IGadget
just joined
Topic Author
Posts: 23
Joined: Wed Sep 28, 2005 1:07 am

Re: Routing help

Thu Jul 02, 2009 6:11 pm

Tks!