Community discussions

MikroTik App
 
kwahodi
just joined
Topic Author
Posts: 8
Joined: Sat Feb 11, 2006 5:54 pm

Need configurattion help in p2p connection

Sat Feb 11, 2006 6:20 pm

Hi,

I've recently acquired two Mikrotik (RIC/522) 5.1-5.8Ghz Integrated Router Antennae. I'm trying to acheive connectivity between two sites with a line-of-site distance of approximately 4kms. This point-to-pont connection is supposed to connect 2 LAN's so that they can use a central data base. I'm new to Mikrotik equipment and RouterOS.I would like some assistance with the configurations. I can't seem to get the configurations right. Thanks.
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Sun Feb 12, 2006 7:46 pm

I don't have any wireless experience but here's what I would look out for if I was doing that:

- Finding out whether you do not interfere with other such wireless equipment. Staying away from crossing the path of wirelss devices on near or SAME frequencies. Maybe you should sniff/snoop first to see what wireless traffic you can pick up and on what frequencies it is. Set your wireless devices on another, free frequency. In most cases this probably wont be neccesary but.... as I said I had no wifi experience, so... I wouldn exactly know

- Use MTs option to position your antennas correctly...

- Read the wifi sections of the manual carefully.

- Ask more specific questions in the forums and you'll get faster and more accurate answers.

Good Luck.
 
kwahodi
just joined
Topic Author
Posts: 8
Joined: Sat Feb 11, 2006 5:54 pm

Tue Feb 14, 2006 8:58 am

This is what I've configured on either side:

LAN1 -IP address


ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.1/24 192.168.0.0 192.168.0.255 ether1
1 10.0.0.1/24 10.0.0.0 10.0.0.255 wlan1

IP Route:

DST-ADDRESS PREFSRC G DIST INTERFACE
0 ADC 10.0.0.0/24 10.0.0.1 wlan1
1 ADC 192.168.0.0/24 192.168.0.1 ether1
2 A S 0.0.0.0/0 r 10.0.0.2 wlan1

Interface wireless is set to "p2p"

LAN 2 - IP address

ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.2/24 192.168.0.0 192.168.0.255 ether1
1 10.0.0.2/24 10.0.0.0 10.0.0.200 wlan1

IP Route:

DST-ADDRESS PREFSRC G DIST INTERFACE
0 ADC 10.0.0.0/24 10.0.0.2 wlan1
1 ADC 192.168.0.0/24 192.168.0.2 ether1
2 A S 0.0.0.0/0 r 10.0.0.1 wlan1

I can ping the gateways from either side but cannot png the IP addresses. I think I'm supposed to set up NAT. How do you go about this based on the above settings? Thanks.
 
andreacoppini
Trainer
Trainer
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Wed Feb 15, 2006 3:13 pm

This is what I've configured on either side:

LAN1 -IP address
ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.1/24 192.168.0.0 192.168.0.255 ether1

LAN 2 - IP address
ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.2/24 192.168.0.0 192.168.0.255 ether1
That is your problem. There are 2 ways of connecting two different networks: BRIDGING and ROUTING.

For Bridging, Network A and Network B are on the same subnet (ie. same network address). As you can see, this is how your ethernet interfaces are configured, because the network address of ether1 on BOTH Mikrotik units is 192.168.0.0.

For Routing, Network A and Network B MUST be on a different subnets (ie. different network addresses), and the necessary routes must be configured in each unit's routing table.

Now, in Mikrotik, to set up a Bridged link, you need to use WDS to set up what is called a Transparent Bridge.
See: http://www.mikrotik.com/Documentation/H ... How_bridge
 
kwahodi
just joined
Topic Author
Posts: 8
Joined: Sat Feb 11, 2006 5:54 pm

Thu Feb 16, 2006 7:47 am

Ok...now I've managed to set-up a transparent bridge between the two networks. I can ping and access machines on either network. LAN 1 has an internet connection which needs to be shared to LAN 2. Access is via DNS and the adddresses are 80.240.196.24 and 80.240.192.14. How do I go about this? Thanks.
 
andreacoppini
Trainer
Trainer
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Thu Feb 16, 2006 10:33 am

Ok...now I've managed to set-up a transparent bridge between the two networks. I can ping and access machines on either network. LAN 1 has an internet connection which needs to be shared to LAN 2. Access is via DNS and the adddresses are 80.240.196.24 and 80.240.192.14. How do I go about this? Thanks.
can the PCs in LAN 1 access the internet? If they can, then just configure the PCs in LAN 2 exactly the same as the ones in LAN 1.

With a bridge, LAN 1 and LAN 2 are combined in one single LAN. Think of it as though you have passed an Ethernet cable between the switches in LAN 1 and LAN 2... a very long cable :)

Who is online

Users browsing this forum: Google [Bot], kokoboko, lostb1t and 129 guests