Hi.
I mentioned here:
http://forum.mikrotik.com/t/how-do-you-slave-a-mikrotik-to-an-access-point/81792/1
about my problems with trying to get a MikroTik wireless router to work. Now that, as I mentioned, I got it to connect, it doesn’t want to route. Or, at least, it only routes in one direction.
The network setup:
Downstairs computers are hooked by wire to central wireless router/Ethernet hub thingy (D-Link).
Upstairs is a single computer hooked to the MikroTik via Ethernet.
Downstairs machines have dynamically assigned IP addresses from the D-Link device.
MikroTik’s IP is 192.168.88.1 on the Ethernet side, 192.168.0.254 on the wireless side. Upstairs machine is at 192.168.88.2.
D-Link is at 192.168.0.1. All clients, both wired and wireless, connected to it are on 192.168.0.x network.
The problem:
Now, I can connect to the 192.168.88.2 machine from the downstairs machines, but I cannot connect to the downstairs network from that machine! What is going on?
The tests:
The effects of a PING launched on the upstairs machine (trying to ping the D-Link):
PING 192.168.0.1 (192.168.0.1): 56 data bytes
----192.168.0.1 PING Statistics----
4 packets transmitted, 0 packets received, 100.0% packet loss
That’s it – nothing. I tried “ping -v” for “verbose”, zip. This is a really old turn-of-the-century SGI IRIX machine that I wanted to use for its sound hardware (got this box off ebay back in 2008 for $100 or something around that – used to be $20,000 or more new!). The point of the wireless network is to transfer sound recordings from the machine to downstairs.
Now PING from a downstairs machine (running Debian GNU/Linux) works OK:
PING 192.168.88.2 (192.168.88.2) 56(84) bytes of data.
64 bytes from 192.168.88.2: icmp_req=1 ttl=254 time=1.17 ms
64 bytes from 192.168.88.2: icmp_req=2 ttl=254 time=0.855 ms
64 bytes from 192.168.88.2: icmp_req=3 ttl=254 time=0.852 ms
64 bytes from 192.168.88.2: icmp_req=4 ttl=254 time=0.865 ms
^C
--- 192.168.88.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.852/0.935/1.171/0.140 ms
I can even ssh into the IRIX machine with “ssh 192.168.88.2”.
Traceroute from the SGI, trying to go to the D-Link:
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 60 byte packets
1 router (192.168.88.1) 1 ms 0 ms 0 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
(I aborted it after 15)
Traceroute on the MikroTik using source addy 192.168.88.2, destination 192.168.0.1:
[admin@SOUTH] /tool> traceroute 192.168.0.1 src-address 192.168.88.2
# ADDRESS RT1 RT2 RT3 STATUS
1 0.0.0.0 0ms 0ms 0ms
2 0.0.0.0 0ms 0ms 0ms
3 0.0.0.0 0ms 0ms 0ms
4 0.0.0.0 0ms 0ms 0ms
traceroute going the other way doesn’t seem to work either despite that I can connect in that direction – odd? Or am I just not using traceroute correctly?:
[admin@SOUTH] /tool> traceroute 192.168.88.2 src-address 192.168.0.1
# ADDRESS RT1 RT2 RT3 STATUS
1 0.0.0.0 0ms 0ms 0ms
2 0.0.0.0 0ms 0ms 0ms
3 0.0.0.0 0ms 0ms 0ms
4 0.0.0.0 0ms 0ms 0ms
The routing table:
[admin@SOUTH] /tool> /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 192.168.0.1 1
1 ADC 192.168.0.0/24 192.168.0.254 wlan1 0
2 X S 192.168.0.0/24 192.168.0.1 1
3 ADC 192.168.88.0/24 192.168.88.1 ether1 0
(I added routes #0 and #2 – with #0 alone it doesn’t work either, doesn’t matter if #2 is enabled or not)
Firewall has NO rules in it.
What could be going on? (And in case you ask – YES there is a route set up on the SGI: default route is to gateway 192.168.88.1, i.e. the MikroTik. I experimented with adding other routes as well with no luck.)