Community discussions

MikroTik App
 
abbakadu
just joined
Topic Author
Posts: 4
Joined: Mon Jan 12, 2009 7:45 pm

Help Help Help with a RB433

Fri Feb 13, 2009 8:21 am

Image

Good day all

I am very new to mikrotik routers (3 months) and don't know all the settings and prosuderes.

I have a customer that i have to conect to the ap , can't do it direct from the cpe to the ap there are to much obstructions in the way, so need to reroute his link. I have inserted a diagram of the situation.

Antenna A, have been set up as a normal cpe with station mode, ip firewall masqurade
Antenna B, in bridge mode , ip 10.1.1.254, dns172.17.0,10
Antenna C, in bridge mode, ip 10.1.1.253, ip route defualt gateway 10.1.1.254, ether1 ip 192.168.1.254 with dhcp server, ip firewall masqureda, dns 172.17.0.10

Would this setup work? any help and sugestions would much be appriciated.(have looked up in wiki and the forum and can't find anything)

Thank you
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 12:20 pm

Yes, it works good. I use this, except I have two relays in the middle.
To avoid confusion, I will use these references to your routers:
The ap is Router A
The RB433 is Router B
The cpe end is Router C.
This is what I would do:

Router A
/ip address
add address=10.0.0.1/24 interface=wlan1 (goes to Router B)
/ip route
add gateway=10.0.0.2 dst-address=10.0.1.0/24 (routes Router B's localnet to Router B)
add gateway=10.0.0.2 dst-address=192.168.1.0/24 (routes Router C's localnet to Router B)
Router B
/ip address
add address=10.0.0.2/24 interface=wlan1 (goes to Router A)
add address=10.0.1.1/24 interface=wlan2 (goes to Router C)
/ip route
add gateway=10.0.1.2 dst-address=192.168.1.0/24 (routes Router C's localnet to Router C)
add gateway=10.0.0.1 (routes all other non-local ips back to Router A)
Router C
/ip address
add address=10.0.1.2/24 interface=wlan1 (goes to Router B)
add address=192.168.1.1/24 interface=wlan2 (goes to customer)
/ip route
add gateway=10.0.1.1 (routes all non-local ips back to Router B)
On the first ap, I did not add any ip or routing to the internet, but I will presume that is already there.
My apology in advance for any typos or omissions.

ADD: Insure there are no masquerades or srcnat rules in Routers B and C.

If galaxynet reads this, the answer is "yes, my Mom is now a great-grandmother, thanks to you!" :lol: I used to refer to my boxes as "Mom" and "Children", until my network got too complex for that. I am always up to a few beers and a lot of lies! Maybe someday...
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 4:58 pm

HI ;
here i would like to give you another idea .
the mode at the AP is AP bridge with SSID as example " RB net "
at the second step put both antenna A and B in bridge1 .
antenna A will be station or station WDS if you enable the WDS at the main AP .
antenna B will be here ap bridge with SSID as example " second net "
at the end point where the client is put antenna c mode station .
in this way you will be connected to the main AP .
if the main AP is running a Dhcp-server , the clients behind antenna C will get ip from it only if you put antenna C + ether1 in bridge .
if you didn't put them in bridge then you have to define DNS and ip route
with best regards .
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 5:22 pm

Yes, it works good. I use this, except I have two relays in the middle.
To avoid confusion, I will use these references to your routers:
The ap is Router A
The RB433 is Router B
The cpe end is Router C.
This is what I would do:

Router A
/ip address
add address=10.0.0.1/24 interface=wlan1 (goes to Router B)
/ip route
add gateway=10.0.0.2 dst-address=10.0.1.0/24 (routes Router B's localnet to Router B)
add gateway=10.0.0.2 dst-address=192.168.1.0/24 (routes Router C's localnet to Router B)
Router B
/ip address
add address=10.0.0.2/24 interface=wlan1 (goes to Router A)
add address=10.0.1.1/24 interface=wlan2 (goes to Router C)
/ip route
add gateway=10.0.1.2 dst-address=192.168.1.0/24 (routes Router C's localnet to Router C)
add gateway=10.0.0.1 (routes all other non-local ips back to Router A)
Router C
/ip address
add address=10.0.1.2/24 interface=wlan1 (goes to Router B)
add address=192.168.1.1/24 interface=wlan2 (goes to customer)
/ip route
add gateway=10.0.1.1 (routes all non-local ips back to Router B)
Dear SurferTim ;
i was looking to your post and it realy make me confiused . :? :? :?
first need to remind you that router C is the end point and only with one Wlan and ether NIC .
also please could you explain in more details this routing processes you did , maybe it will help to do what i am looking to achive for my case but i did'nt get the illustrations .
so please re-write it in details and explain it .
another thing , why there should be no masqurade or src-nat rules ???? .
will be waiting eagerly .
with best regards .
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 5:42 pm

Easy. It matters not what type of interface it is. Change wlan2 in Router C to ether1. Y ya esta!
No masqerades or srcnats in B and C. Those things take time. I like speed, don't you?

ADD: If you did not see the picture, Router A is on the internet side of the relay, Router B is in the middle, and Router C is the customer end.

You may replace any of the wlan pairs with ether pairs. You could run a cable from Router B to Router C. Equipment permitting, of course!
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 6:42 pm

Dear SurferTim ;
Thanks for rapid reply .
realy maybe your method could help me to achive my needs but i didn't get it clearly .
so if you could help with more details this will be great .
another thing here , assum the following :
1. your ISP ip is 10.10.20.2 and the GW is 10.10.20.1
2. you need to share this between two or three computers and you used MikroTik for this case .
3. your LAN IP is 192.168.0.0/24 .
and here is the Q , will you use masqurade or you are going to use your way of routing ???? :?
could you route the traffic of the LAN to one IP of the ISP ? so it works like masqurade .

waiting your reply .
with best regards .
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 7:06 pm

In the first case above, you would need a masquerade or src-nat in Router A, IF Router A was the last router under your control. If I understand your situation (just one router), you would not need all the routing. Just the src-nat:
/ip firewall nat add chain=srcnat action=src-nat to-addresses=10.10.20.2
and the one route
/ip route add gateway=10.10.20.1



If that is not correct, then how many routers do you have in this setup? Just the one?
What type (wlan or ether) is each of the interfaces?
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 7:09 pm

Hi ;
do you have yahoo ID or MSN ID ?? , so we could talk to each other
with regards .
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 7:15 pm

Actually, no. I do not have either. If you have a specific situation you would like help with beyond what I have just explained, you should start a new post explaining that situation. If I am able to assist you, I certainly will. :D
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 7:25 pm

Hi again ;
my post name is " how to achive this routing case " which i post it few days ago .
the main question is how to route the traffic of group of users to single IP .
will be waiting your reply on it .
with best regards .
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 7:47 pm

Hi ahmedsaffar76,
I see your post, but I am not able to sort all that out. That is beyond my capability. Sorry.
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 8:31 pm

HI ;
so simply could you answer this question which i already wrote to you .
how to route the traffic of group of users to single IP ?
doing this will solve the main problem because it is the problem itself .
making a group of users seems to be one ip to ISP .
making the second group of users seems to be one ip to ISP .
the same for the third and fourth group and so one .
it simply we all could do it with many many router devices , but i am looking to merge them to one MikroTik router if it is possible .
will be waiting your comments .
with best regards .
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Help Help Help with a RB433

Fri Feb 13, 2009 10:34 pm

 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: Help Help Help with a RB433

Fri Feb 13, 2009 10:54 pm

also had been moved to the thread above

Who is online

Users browsing this forum: No registered users and 61 guests