Forget Bandwidth control, Add a second DHCP router on a single Wireless link!

From MikroTik Wiki
Jump to: navigation, search

Requirements: 2 DSL lines feeding 1 RF link to 2 Access Points with customers. We did not want heavily congested AP's, and we wanted to have separate IP ranges for each group of customers. This also eliminates all the problems with trying to do bandwidth control!

Schematic:

MikrotikSchematic.jpg

Here's the code done using Winbox:

Ether1 on Board 1 will only pass traffic to Ether1 on Board 2

Ether2 on Board 1 will only pass traffic to Ether2 on Board 2

3 IP addressing schemes are used:

10.10.222.xxx for the Ether1 path

192.168.1.xxx for the Ether2 path

172.16.0.xxx and 172.17.0.xxx for use only by the WLAN boards and the EOIP tunnels


Board 1, Source

First get the wireless link to work

Set the Wireless connection to AP Bridge, no WDS, No default bridge.

Set the 5 ghz to 5ghz – 10 mhz. Turn Nstream on.

IP Address 10.10.222.233/24 ether1

IP Address 172.16.0.1/24 wlan1

Add EOIP tunnel 1. Set the IP address to the Board 2 address, 172.16.0.2

Add a bridge = bridge1. Set the ports to ether1 and the EOIP tunnel 1

Ip address 192.168.1.10/24 ether2

Ip address 172.17.0.1/24 wlan1

Add EOIP tunnel 2. Set the ip address to the board 2 address, 172.17.0.2

Add a bridge = bridge2. Set the ports to ether2 and EOIP tunnel 2


Board 2, Client

Set the wireless connection to Station, no wds, no default bridge

Set the 5 ghz to 5ghz – 10 mhz. Turn Nstream on.

Ip address 10.10.222.234/24 ether1

IP address 172.16.0.2/24 wlan1

Add EOIP tunnel 1. Set the IP address to the Board 1 address, 172.16.0.1

Add a bridge = bridge1. Set the ports to ether 1 and the EOIP tunnel 1

Ip address 192.168.1.11/24 ether2

Ip address 172.17.0.2/24 wlan1

Add EOIP tunnel 2. Set the ip address to the board 1 address, 172.17.0.1

Add a bridge = bridge2. Set the ports to ether2 and EOIP tunnel 2


I hope this helps you!