Community discussions

MikroTik App
 
dpenava
just joined
Topic Author
Posts: 9
Joined: Tue Jun 06, 2006 9:06 pm
Location: Zagreb, Hrvatska (Croatia)

Route between two networks

Tue Feb 09, 2010 12:54 pm

Ok, I tried to configure this very simple thing and i realise that I'm stupid :shock: 8)

So, situation is:

NETWORK1 (192.168.0.0/24) ----- Mikrotik1(192.168.0.1) <----------> Mikrotik2(192.168.1.27) ------ NETWORK2 (192.168.1.0/24)

I need to simple route packets between this two networks :D


How to do this?
 
savage
Forum Guru
Forum Guru
Posts: 1264
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: Route between two networks

Tue Feb 09, 2010 1:27 pm

Mikrotik1:
/ip route add dst-address=192.168.1.0/24 gateway=Mikrotik2's IP

Mikrotik2:
/ip route add dst-address=192.168.0.0/24 gateway=Mikrotik1's IP

Your diagram is incomplete. There must be IP Addresses between MT1 and MT2 - use those for the gateway addresses.
 
TachinOli
just joined
Posts: 7
Joined: Tue Jun 30, 2009 1:56 am

Re: Route between two networks

Wed Feb 17, 2010 12:35 am

Netw192.168.0.0/24<--->192.168.0.1/24 Mk1 192.168.1.1/24<---> Netw192.168.1.0/24<---> 192.168.1.27/24 Mk2

Mikrotik1:
/ip route add dst-address=192.168.1.0/24 gateway=192.168.1.27

Mikrotik2:
/ip route add dst-address=192.168.0.0/24 gateway=192.168.1.1

Who is online

Users browsing this forum: No registered users and 7 guests