Community discussions

MikroTik App
 
avisdel
just joined
Topic Author
Posts: 2
Joined: Mon Sep 17, 2007 4:18 am

How to link 2 networks

Mon Sep 17, 2007 4:56 am

I am newby in mikrotik.
I have 2 network segment : 192.168.1.0/24 and 192.168.2.0/24.

I had set ip address 192.168.1.1 and 192.168.2.1 for ether0 and ether1 in mikrotik.
The ip address also as gateway for their user. i.e user ip: 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1

How to make a link between these 2 networks ? i.e user with ip: 192.168.1.5 want to ping or sharing data with user with ip: 192.168.2.10 and vice versa.

Anybody can help me please?


Avis
 
unlimitedme
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Tue Apr 24, 2007 1:01 pm

Re: How to link 2 networks

Mon Sep 17, 2007 7:04 am

avisdel,
if you wanted to link 2 different networks,
try to use bridge interface.
 
User avatar
ashish
Long time Member
Long time Member
Posts: 546
Joined: Mon Feb 12, 2007 5:50 am
Location: Virginia, USA.

Re: How to link 2 networks

Mon Sep 17, 2007 8:16 am

You can have route between ether

/ip route

add dst-address=192.168.2.0/24 gateway=192.168.1.1

ASHISH
 
valens
Trainer
Trainer
Posts: 244
Joined: Tue Jun 01, 2004 5:42 pm
Location: INDONESIA
Contact:

Re: How to link 2 networks

Mon Sep 17, 2007 9:56 am

if both network connected to the same router, you don't have to set any rule to make any machine can ping to other machine on other network.
make sure each machine use proper default gateway. router will route this 2 networks.

but if you want to run application using widows file sharing, you have to set both network using same subnet, and bridge those two interface.
 
avisdel
just joined
Topic Author
Posts: 2
Joined: Mon Sep 17, 2007 4:18 am

Re: How to link 2 networks

Mon Sep 17, 2007 11:16 am

Thanks expert you solved my problem :D

Who is online

Users browsing this forum: No registered users and 30 guests