Community discussions

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

Routing problem

Mon Oct 24, 2005 6:46 pm

hello I have two to Mikrotik PCrouter, two computers and two AP,
with a simple configuration IP, distributed of the following form:

Image


I can accede from "computer1" towards "pcrouter1", "wlan1" and "wlan2",
but I cannot accede to "pcrouter2", "wlan1" and "wlan2" to "computer2" either

what configuration I must make in pcrouters to be able to do ping
from computer 1 towards computer 2?
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Mon Oct 24, 2005 7:15 pm

What you have would work if both routers were set to bridge.

If not, then both routers should have different network addresses on both interfaces. This is what makes routing work.

So, for example:

PCRouter1 PCRouter2
wlan1 (10.0.1.3/24)------wlan1 (10.0.1.4/24)
wlan2 (10.0.0.2/24) wlan2 (10.0.2.5/24)
| |
| |
Accesspoint Accesspoint
| |
Computer 1 Computer 2
(10.0.0.1/24) (10.0.2.6/24)

Then, you need to setup routing. You haven't indicated what the link is between the two routers but, if it's ethernet I would suggest moving router 2's wlan2 to a third network card in router 1 and dispensing with router 2. This will enable you to simply have a default route on each computer that points to router 1.

Regards

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

Mon Oct 24, 2005 9:28 pm

-I need that all the interfaces are in the same network (as if hub treated).

-This means that I would have to create bridge in each pcrouter, and associating to each one the two wireless interfaces.

-it is necessary to specify an IP to bridge?
 
paddy
just joined
Posts: 21
Joined: Thu Sep 08, 2005 2:48 pm

Tue Oct 25, 2005 8:54 am

-it is necessary to specify an IP to bridge?
No.

You CAN set a ip on the bridge insted of any other interface for management, but the bridge itself doesn't need it.
The bridge will act like a switch for any interface attached to it.