So we built two APs, distance 3,8km. In lack of money we can not buy some point2point antenas. We have two sector antenas in WDS. OK, being reading this forum so we learn to setup WDS. is this OK?
first AP
wlan1 ________________________|
ether1 _____________________| bridge1 (rstp), ip 10.1.1.1, dhcp 10.1.1.0/24
wds1 -> static, ip 10.1.254.1/30|
second AP
wlan1 ____________________|
wlan2 | bridge1 (rstp), ip 10.1.2.1, dhcp 10.1.2.0/24
ether1|
wds1, static, ip 10.1.254.2/30|
issue!
from AP1 (MT) i can ping 10.1.2.1, but can not ping node 10.1.2.250. Same on other side. Funy situtation, where are we mistakeing??
in last 7 days We setup RIP and OSPF, routers are exchanging routes but still can't ping nodes. Plaese help???
Greetings! This is a routing kinda day for me. I was just explaining about complex internal routings on the other post, and here you are!
The reason you can’t find it is the ip you are asking for is not on an interface on that box (AP1). You must add a route to that ip set over the correct gateway (AP2). Add this to AP1:
/ip route add gateway=10.1.254.2 dst-address=10.1.2.0/24
ADD: If the boxes are already exchanging routes, and just to insure we are on the same page, the ips assigned are (AP1) 10.1.1.1/24 and (AP2) 10.1.2.1/24, correct? If they are not /24 you will have challenges. They usually default to /32
Yes, there is not set NAT or masqure.. on AP1 or AP2. And yes, ip addresses are corect.
10.1.1.1/24 and 10.1.2.1/24
That odd, when I setup RIP or OSPF i get this route automaticly dst-address=10.1.2.0/24 gateway 10.1.254.2. So you are say that we turn of RIP and OSPF and add static route??
Thanx very much on reply and sory on my english:-)
I will try to be simple. What device or computer is at 10.1.2.250? Can you ping it from AP2? Can you ping 10.1.1.1 from AP2?
BTW, I don’t use the WDS or RIP. I route everything manually. But if AP1 is getting that route, that is the correct route/gateway. There must be something set up wrong from AP2 to the computer at 10.1.2.250.
ADD: The computer at 10.1.2.250 should have settings:
netmask=255.255.255.0 (or /24)
gateway=10.1.2.1
Is this correct?
Also check the gateway on AP2. The “/ip route” gateway there should be 10.1.254.1
OK, both boxes are setuped indeticly. I am confused.
This 10.1.2.250 is winXP, from 10.1.2.1 I can ping it, but from 10.1.1.1, no. MT ping tool says ‘timeout’ to 10.1.2.250.
When I remove static route it says ‘no route to host’. It sims that everything is ok. Next what will we do is climb to AP and change interface adapter!
Is there some things about WDS what we dont now, I am confused…
To be honest, there are some things about WDS I don’t know. Unless you have a good reason for using it, I would recommend using ap-bridge mode for your main AP, and station mode for the client end, then route everything manually. No WDS. It sounds more difficult, but, as I found from galaxynet (thanks, Thom!*), that is only an illusion.
But back to your immediate challenge. Look at
/ip route print
on both AP1 and AP2, and insure all routes to the local networks are there. They should be automatic when you add the ip address, but who knows. Insure both have a default gateway (dst-address=0.0.0.0/0) to the internet. They will not be the same ip. AP1 will use your ISP gateway, and AP2 will use the IP of the interface on AP1.
AP1 also needs a route for the 10.1.2.0/24 network gateway is ip of AP2 interface.
ADD: I think “climbing the pole” may be just an exercise to make your brain work better. I see nothing that indicates a hardware failure here yet.
Also do a
/ip address print
on both APs to insure no duplicate local network assignments. But you should have noticed that in /ip route.
Insure all gateways in /ip route have an ‘r’ (not a ‘u’) for the gateway status.
ADD2: Also do on both APs:
/int bridge print
No bridges, correct?
We dont serve internet in our network, I sugest we dont need dst-address=0.0.0.0. In this task we want working network, second is Internet
New, information is that when I ping 10.1.2.250(XP) from 10.1.2.1(MT), I get 19ms, 2ms , 25ms and then 5 time ‘timeout’, then ‘no route to host’. I suspcious in link quality. Some times ping goes easily.
ADD1:
in /ip route we have an ‘r’ for the gateway status
ADD2:
Yes, there is bridges on both APs. I this a problem?
I will not consider an internet connection, because you don’t mention one. I will presume:
AP1 ether1 is the local net
AP1 wlan1 is the wireless connection to AP2
AP2 wlan1 is the wireless connection to AP1
AP2 ether 1 is the local net
That’s it. No WDS, No bridges. Just routing. But this is just my opinion. There are other ways.
ADD: If you are going to connect this setup to another net or the internet, it is routed so that AP1 should be the one with the WAN or internet connection.