Community discussions

MikroTik App
 
User avatar
tadpole
newbie
Topic Author
Posts: 47
Joined: Fri May 07, 2010 2:20 pm

Point to Point

Wed May 12, 2010 2:59 pm

I am in need of help with regards to the sharing of internet through a wireless network. My setup is 411 with lvl4 and two 433's one with a single wlan and the other with two wlan's.

I have tried a massive amount of wiki and mikrotik solutions, i have successfully...well so far...been able to setup a hotspot with UBNT M2HP's the trouble is its the 3rd site and i cant for the life of me even get the internet shared to the second site!

I know it must be a simple something i have overlooked, here is what i have done so far:

Site 1 - 411 with lvl4
ip route add gateway=192.168.1.1
ip firewall nat add chain=srcnat action=masquerade out-interface=wlan1

name="wlan1" mtu=1500 mac-address=00:0C:42:69:61:CB arp=enabled
interface-type=Atheros AR5413 mode=bridge ssid="AmbleSuther"
frequency=5200 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=profile1
compression=no

ether1 is 192.168.1.2/24 with DHCP server enabled on ether1
DNS settings have been setup via winbox->IP->DNS->Settings with Allow Remote Requests enabled



Site 2 - 433 with two wlan

wlan1 wireless tables setup profile1
Interface list-> wlan1-> scan ->connect to AmbleSuther -> Security Profile 1-> apply ok
wlan ip = 192.168.0.2/24

name="wlan2" mtu=1500 mac-address=00:0C:42:68:DB:FD arp=enabled
interface-type=Atheros AR5413 mode=bridge ssid="KingSuther"
frequency=5180 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=profile2
compression=no
added gateway 192.168.0.1 to the wlan1
dns numbers setup same and site1


site 3 - 433 with 1 wlan
only setup hotspot to work directly to router on gateway 192.168.1.1

I hope i have included enough info here, as for the hotspot side i think its 100% firewalls and etc to block people from accessing each other and the routers, userman setup with web access, essentially the only thing i have working is the last part which ought to be about 20kms away from where it is now!

Please can someone help me understand this point to point internet sharing! So i can get this thing out of my office! :D
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Point to Point

Wed May 12, 2010 3:09 pm

This configuration should be used on your routers for the wireless,
http://wiki.mikrotik.com/wiki/Wireless_repeater
 
User avatar
tadpole
newbie
Topic Author
Posts: 47
Joined: Fri May 07, 2010 2:20 pm

Re: Point to Point

Wed May 12, 2010 3:59 pm

Hi sergejs,
thanks for the prompt reply! i have tried this setup before but i could get the darn internet to share through,
would it be a case of adding

ip route add gateway=192.168.1.1 (my adsl routers gateway)

and then adding the ether1 to the bridge in the main_gw and the repeater to allow users on ethernet to access the internet?...im sure i have the wrong idea because it still isnt working lol
 
User avatar
tadpole
newbie
Topic Author
Posts: 47
Joined: Fri May 07, 2010 2:20 pm

Re: Point to Point

Thu May 13, 2010 1:38 pm

It's working! I was going overboard on the IP assigning! :lol:
 
User avatar
tadpole
newbie
Topic Author
Posts: 47
Joined: Fri May 07, 2010 2:20 pm

Re: Point to Point

Thu May 13, 2010 2:05 pm

*Sigh* I have been a fool! with my combination of forgetting to remove static IP from the PC's i was using to test and assigning IP addressess to everything that didnt need it! At last i am getting somewhere!