Board Name is RB951Ui-2HnD
i am working with PPPOE Client
lan1 = wan
lan3 = lan
wlan = MT
hotspost + queue
this is my config
Code: Select all
# software id = LQ3R-BR4T
#
/interface ethernet
set [ find default-name=ether3 ] l2mtu=1600 name=LAN
set [ find default-name=ether1 ] l2mtu=1600 name=WAN
set [ find default-name=ether2 ] disabled=yes
set [ find default-name=ether4 ] disabled=yes
set [ find default-name=ether5 ] disabled=yes
/interface wireless
set [ find default-name=wlan1 ] disabled=no frequency=2417 l2mtu=1600 mode=\
ap-bridge name=MT wireless-protocol=802.11
/interface wireless nstreme
set MT enable-nstreme=yes
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
add dns-name=www.msk.net hotspot-address=4.4.4.1 login-by=\
cookie,http-chap,http-pap name=hsprof1
add dns-name=www.roro.net hotspot-address=192.168.10.1 login-by=\
cookie,http-chap,http-pap name=hsprof2
/ip hotspot user profile
set [ find default=yes ] shared-users=4
add keepalive-timeout=20m name=FREE rate-limit=64K/64K shared-users=4
add keepalive-timeout=20m name=256 rate-limit=175k/175k
add keepalive-timeout=20m name=512 rate-limit=256k/256k
add keepalive-timeout=20m name=Bad rate-limit=333k/333k shared-users=10
/ip pool
add name=hs-pool-3 ranges=4.4.4.20-4.4.4.200
add name=hs-pool-8 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=hs-pool-3 disabled=no interface=LAN lease-time=1h name=dhcp1
add address-pool=hs-pool-8 disabled=no interface=MT lease-time=1h name=dhcp2
/ip hotspot
add address-pool=hs-pool-3 disabled=no interface=LAN name=hotspot1 profile=\
hsprof1
add address-pool=hs-pool-8 disabled=no interface=MT name=hotspot2 profile=\
hsprof2
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
default-route-distance=1 dial-on-demand=yes disabled=no interface=WAN \
keepalive-timeout=600 max-mru=1500 max-mtu=1500 mrru=1600 name=Te-Data \
password=xxxxxxx profile=default service-name="" use-peer-dns=yes user=\
xxxxx@xxxxxxx
/queue simple
add burst-limit=225k/225k burst-threshold=225k/225k burst-time=1m/1m max-limit=\
225k/225k name=30-EsLAM target=4.4.4.236/32
add burst-limit=225k/225k burst-threshold=225k/225k burst-time=1m/1m max-limit=\
225k/225k name=30-Amr target=4.4.4.238/32
/system logging action
set 2 remember=yes
set 3 remote=0.0.0.0 src-address=0.0.0.0
/ip address
add address=5.5.5.1/24 interface=wan network=5.5.5.0
add address=4.4.4.1/24 interface=LAN network=4.4.4.0
add address=192.168.10.0/24 dns-server=163.121.128.134,163.121.128.135 gateway=\
192.168.10.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.10.1 name=www.roro.net ttl=5m
/ip firewall filter
add action=return chain=hs-unauth in-interface=LAN
add action=return chain=hs-unauth-to out-interface=LAN
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
/ip firewall nat
add action=return chain=hs-unauth in-interface=LAN
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
to-addresses=0.0.0.0
/ip hotspot user
add comment="counters and limits for trial users" name=default-trial
add comment="counters and limits for trial users" disabled=yes name=\
default-trial
add name=rsrs password=7777
add name=rsrs1 password=7777
add name=rsrs2 password=7777
/ip hotspot walled-garden
add comment="place hotspot rules here" disabled=yes
/ip hotspot walled-garden ip
add action=accept disabled=no server=hotspot2
/ip packing
add interface=LAN packing=compress-headers unpacking=compress-headers
add interface=WAN packing=compress-headers unpacking=compress-headers
/ip proxy
set cache-path=web-proxy1
/ip service
set telnet address=4.4.4.0/24 disabled=yes
set www disabled=yes
set ssh disabled=yes
set winbox port=66
set api-ssl disabled=yes
/ip upnp
set allow-disable-external-interface=no
/queue interface
set MT queue=only-hardware-queue
/snmp
set trap-community=public
/system clock
set time-zone-name=Africa/Cairo
/system identity
set name=EgyTik
/system logging
add topics=hotspot
/system ntp client
set enabled=yes primary-ntp=216.228.192.69
[UpDate@EgyTik] >
my problem is
dhcp server Leases not working with lan
but working with wlan
how to fix that
users on wlan get automatic ip
users on lan can't get automatic ip
so they must use static ip manual in them pc and open mikrotik page manwaly by writting 4.4.4.1 in browswer
but in wlan hotspot page open automatically
and this image for dhcp server lease