Mikrotik as a Home router???

Hi all,
I’ve been using TP-LINK routers for some time and they worked good in my office. My setup is this:

Broadband internet connection through modem
TP-LINK router
and then the PCs and wireless clients,
but suddenly my ISP has changed their routing policy so that all the packets entering their network should have TTL 129 for internet to work and TP-LInk routers don’t have the Change TTL feature, so I have forced to use Mikrotik now. I setup mikrotik on a Pentium 3 and is working all properly , except that I have a problem with my wireless clients so that when I want to make a Map network drive on wireless laptops or PCs, they cannot find my computer, while if I give IP address they find my computer and I make Map network drive operation successfully. I want to use the name of my PC when I connect from wireless clients, because writing my IP address every time (and you know DHCP every time allocates different IP address) is time consuming. I have connected 2 lan cards and one wireless atheros card to my mikrotik PC. One LAN connects to ISP through PPPoE, the other one I am using to connect my LAN clients and the wireless card to connect wireless clients and mobile phones. I have setup 10.10.10.1/24 netork to the LAN card and 20.20.20.1/24 to the wireless card. Further I have setup 2 dhcp pools: one for LAN clients - 10.10.10.2-10.10.10.254 and the other for wireless clients - 20.20.20.2-20.20.20.254.

I tried to make a bridge but it is not working, and also I tried giving the the LAN and WLAN card the same network 10.10.10.1, but that is not working too. Also I tried changing the DNS servers, WINS etc but no chance.
How can I make this mikrotik pc to behave exactly like the TP-link router that allocates the same network IP range to all clients (coming from LAN or from wireless) - 192.168.1.100 to 192.168.1.254 for example?? Because with TP-link router I always connected and Mapped network drives just with my PC name that I have shortened to letter “Z”, while with Mikrotik cannot do the same.

I tried searching also on Google but didn’t find something specific to my needs.


Thanks in advance

You should be able to bridge the two interfaces. If ether2 and wlan1 are not the interface names, change those to the appropriate interface name.

/interface bridge
add name=mybridge

/interface bridge port
add interface=ether2 bridge=mybridge
add interface=wlan1 bridge=mybridge

Then assign the ip address and dhcp server to mybridge.

Yes I have changed interface names, and I read the mikrotik manual there says that you can bridge only atheros based wlan cards and mine is atheros. I will try it now and post the results

Let me know how it works.
Once you add the interfaces to the bridge, the bridge becomes the interface. Anything you would add to an interface (ip, dhcp server, hotspot, etc) should be assigned to the bridge.

Any ips you have assigned to those interfaces should be removed to eliminate confusion, and a potential glitch later.

ADD: If any of the services I mentioned above were assigned to those interfaces, they should be removed also, especially dhcp.

It is not working at all. And I resetted the router completely and begin from scratch first adding bridge but as soon as I add wlan1 port to bridge it displays “I” and when I enter I see that it is disabled port.

Is wlan1 enabled? Default is disabled. If either interface is not enabled, the bridge will show ‘I’.

Yes after full reset, I immediately go to interfaces, enable wlan1 and then go to create bridge, but doesn’t work and as soon as I add the wlan to bridge ports then it displays “I”.

Post the output of “/interface print detail” and “/interface bridge export”.

Below is the log from your requested commands before creating the bridge...

Terminal vt102 detected, using multiline input mode
[erreterr@COMPUFONE] > /interface print detail
Flags: X - disabled, D - dynamic, R - running
0 R name="ADSL" mtu=1480 type=pppoe-out rx-rate=0 tx-rate=0

1 R name="Lone" mtu=1500 type=ether rx-rate=0 tx-rate=0

2 R name="3com" mtu=1500 type=ether rx-rate=0 tx-rate=0

3 ;;; Rrjeti wireless
name="Wirelessi" mtu=1500 type=wlan rx-rate=0 tx-rate=0
[erreterr@COMPUFONE] > /interface bridge export

nov/06/2010 17:20:05 by RouterOS 2.9.27

software id = WH2F-1GN

Afterwards I create the bridge and add the two ports:

[erreterr@COMPUFONE] > /interface bridge export

nov/06/2010 17:21:06 by RouterOS 2.9.27

software id = WH2F-1GN

/ interface bridge
add name="bridge1" mtu=1500 arp=enabled protocol-mode=none priority=0x8000 auto-mac=no
admin-mac=00:00:00:00:67:65 max-message-age=20s forward-delay=15s transmit-hold-count=6
ageing-time=5m comment="" disabled=no
/ interface bridge port
add interface=Wirelessi bridge=bridge1 priority=0x80 path-cost=10 edge=auto point-to-point=auto
external-fdb=auto comment="" disabled=no
add interface=Lone bridge=bridge1 priority=0x80 path-cost=10 edge=auto point-to-point=auto
external-fdb=auto comment="" disabled=no


I do all the configuration through Winbox. Maybe it is better to do it from commandline?

Thanks

2.9.27 is so far out of support it isn’t funny. The latest 2.9 tree release is 2.9.51, but it isn’t supported anymore either. The current old version is 3.30, the current stable is 4.13.

FWIW most people running 2.9.27 do so with an illegal license and pirated copy. Not saying that’s true for you, but you’ll have a hard time getting support with that version for that reason. Please upgrade.

That said, the output you posted shows that the wireless interface isn’t running (R) before you even create the bridge.

Hi fewi. Nice call (again!) on the version. But the bridge should not show “I” if the interface is not running, just if it is disabled. I just checked again to make sure.

My bridge shows “R”, even though the wireless interface does not. Nobody is connected to my test ap.

True, but was that true on 2.9.27? I don’t know much about that version.