Hi, please, I have a newbie guestion.
I have a linux sever, which is connected to internet. Than I have a MT machine with 2 WLANs. The first acts as wireless client and is connected to the AP, The second one acts as an other AP. There are some default routes, but i cant ping noone in network :-/
[admin@MikroTik] ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.1.0/24 192.168.1.2 wlan2
1 ADC 192.168.10.0/24 192.168.10.1 ether1
2 A S 0.0.0.0/0 r 192.168.1.1 wlan2
[admin@MikroTik] ip route>
I think, that I need it without NAT. Only routing. I need to access any computer on any interface on any address.
Please, any idea? What’s bad? Which route is missing?
You need to add static routes of all the different subnets after the mikrotik to tell it where to go, aswell there needs to be static routes of all the subnets on your linux box if you want internet accros those subnets
Here is an example of my mikrotik
[admin@HQ] ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 A S 10.1.0.0/24 r 192.168.2.10 BVod
1 ADC 192.168.1.0/24 192.168.1.2 ether1
2 ADC 192.168.2.0/24 192.168.2.1 BVod
3 A S 192.168.3.0/24 r 192.168.2.10 BVod
4 A S 192.168.4.0/24 r 192.168.2.10 BVod
5 A S 192.168.7.0/24 r 192.168.2.10 BVod
6 A S 192.168.14.0/24 r 192.168.2.10 BVod
7 A S 192.168.15.0/24 r 192.168.2.10 BVod
8 ADC 192.168.17.0/24 192.168.17.4 Silo
9 A S 192.168.21.0/24 r 192.168.2.10 BVod
10 A S 192.168.30.0/24 r 192.168.17.5 1 Silo
11 A S 192.168.35.0/24 r 192.168.2.10 BVod
12 A S 192.168.40.0/24 r 192.168.2.10 BVod
13 A S 192.168.55.0/24 r 192.168.2.10 BVod
14 A S 0.0.0.0/0 r 192.168.1.1 ether1
Hope this helps
eXeBuG
If you need to know about the static routing on the linux box let me know
Please, can you export your ip address settings? I don’t know, where to put which ip address.
Please step by step.
I have 192.168.1.0/24, which is subnet with my gateway and few PCs. Than comes mikrotik with his wlan ip address 192.168.1.2/24. And than I want to route it to ethernet card in mikrotik, which is 192.168.10.1 and behind it, there will be other PCs in the same subnet 192.168.10.0.
Static routing on my linux machine is ok. There works brazilFW for me.