Community discussions

MikroTik App
 
adn2377
just joined
Topic Author
Posts: 14
Joined: Thu Oct 20, 2011 1:14 am

New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sat Jul 14, 2018 11:07 pm

Hello,

I use Mikrotik devices at home. Two homes, actually. Also, I am no expert. I know a few things about networking, had some CCNA courses in the past but no serious stuff. Oh, and I only configure the routers using Webfig :)

At one side I have the famous RB2011UiAS-2HnD-IN and a 200 Mbps WAN link, for a long time.
At the other (my main location) until a few years ago I have used both 1 x RB450 (for WAN) and one RB751U-2HnD (for wireless). Afterwards I have upgraded my WAN service to 1 Gbps and also realized the Mikrotik device was WAY behind on the wireless front, so I added a Netgear Nighthawk R7000 as the main device for both WAN routing and wireless (since Mikrotik offered nothing at that time that could rise to the challenge of either ac wireless (there was NO device with ac) or affordable wan to lan 1 Gbps routing. I kept the RB450 for switching only.

A week ago, my RB450 finally died - so I looked for a replacement, and even better, some new Mikrotik device to replace the main Netgear router with (on the routing side, since the wireless is not the strongest Mikrotik's point). So, after searching, I have settled on the new hAP ac² product. From what I red, a great quad-core CPU more than capable for my (not so big) home needs.

I have bought the hAP ac² and installed it. Uses RouterOS 6.42.3. Configured the pppoe connection on ether1 (the 1 Gbps link) and even managed to configure ether 2 as a second WAN link, since I had another ~300 Mbps connection not used and I thought of using it for backup. Basically I removed ether2 from the switch bridge, added it in the WAN interface list, added a DHCP client entry for it and modified Default Route Distance to 2... and that was it. I THINK it should work automatically in case my main connection fails... is this correct?

Now, I have a few issues to solve and I don't know how, so please help:

1) Speed on the PPPOE connection before, when using the Netgear router, reached 8-900 Mbps. Now with the hAP ac² it barely rises to 150-200 Mbps. I checked the CPU usage and is 1-3% so no problem there. What changes should I make to reach the full speed?

2) I use DDNS with no-ip. The Netgear had a built-in function for that, no problem. I knew that for Mikrotik I had to use a script, so I looked. On the other home I keep the windows app on the computer running, but hey - putting it on the router is best, so...
I found several scripts. First used this one: https://www.marthur.com/networking/mikr ... pdate/582/. Then I tried the alternative script from here:
https://wiki.mikrotik.com/wiki/Dynamic_ ... _No-IP_DNS
Well, no luck. I mean, nothing happens, there is no update done... I have added the scripts in the Scheduler section, modified the variables accordingly... but no.

I also need help with this, please?

3) This is more advanced and not mandatory, but I would like to create a tunnel over the internet and place both my homes in the same LAN. See the devices from one side on the other, and so on.
Now, I have ZERO experience with tunneling, and Mikrotik offers a plethora of protocols... I don't know what to choose and how to set it up.
I searched a little on the net, found a few things, for example a pdf document from some past Mikrotik MUM event in 2015:
https://mum.mikrotik.com/presentations/ ... 240964.pdf
The way its explained, it uses double tunneling, EOIP over a SSTP tunnel. The way it is depicted, seems very simple. When I tried to create a SSTP tunnel though, I realized I don't know how... and so it seems that document is only the high-level part. I also don't know if this is the best solution for my use case or not.
The desired outcome would be to be able to use the internet connection(s) from each location locally, to either have one but prefferably TWO DHCP servers (one from each side, probably with different pools from same C network), but when needed to access resources from the other side to be able to do that.
Please tell me if you can help and if any more details are needed...

Thanks!
 
jebz
Member
Member
Posts: 367
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sun Jul 15, 2018 3:26 am

Investigate Mikrotik IP Cloud instead of DDNS -
https://wiki.mikrotik.com/wiki/Manual:IP/Cloud
This will help you setup the EOIP over a SSTP tunnel.
 
adn2377
just joined
Topic Author
Posts: 14
Joined: Thu Oct 20, 2011 1:14 am

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 9:06 pm

Please somebody help me first with the PPPOE issue.

This is the only one where I don't have any clue on how to solve or better said what to check. I have upgraded to RouterOS 6.42.6 version.

Recap: When connecting to my 1 Gbps PPPOE conection with my older Netgear Nighthawk R7000, I get 8-900 Mbps WAN to LAN transfer. When connecting my new hAP ac², I barely pass over 200 Mbps download and VERY little for upload (7-8 Mbps). The Mikrotik's CPU stays very low during tests, 3-5% maximum.

How do I fix this, what to check? It's a deal breaker...


LE: Just made a test now, connecting my desktop directly to the PPPOE connection. Download = Upload =~~ 480 Mbps
After hooking the Mikrotik again, I'm back to ~200 Mbps download and 6-7 Mbps upload...
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 9:51 pm

This is the only one where I don't have any clue on how to solve or better said what to check. I have upgraded to RouterOS 6.42.6 version.

Recap: When connecting to my 1 Gbps PPPOE conection with my older Netgear Nighthawk R7000, I get 8-900 Mbps WAN to LAN transfer. When connecting my new hAP ac², I barely pass over 200 Mbps download and VERY little for upload (7-8 Mbps). The Mikrotik's CPU stays very low during tests, 3-5% maximum.

How do I fix this, what to check? It's a deal breaker...
I'm afraid no one here does, that's the reason why no one has answered for so long. 8 Mbps of upload definitely look terrible.

I'm currently trying to find a recent topics where I've posted the results of my testing of PPPoE performance of hAP ac² and it was not nearly that awful.

In the meantime, post the configuration you've used for testing to be bullet-proof, although I'm afraid I may not find anything. See my automatic signature for instruction.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 9:59 pm

Here you go. According to those results, something must be terribly wrong with your configuration or hardware or cabling or RouterOS version. I didn't test with 6.42.6 back then of course.
 
adn2377
just joined
Topic Author
Posts: 14
Joined: Thu Oct 20, 2011 1:14 am

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 10:40 pm

In the meantime, post the configuration you've used for testing to be bullet-proof, although I'm afraid I may not find anything. See my automatic signature for instruction.
Thank you for looking into it! Here is the config:

# jul/18/2018 22:27:15 by RouterOS 6.42.6
# software id = BVJ0-75V5
#
# model = RBD52G-5HacD2HnD
# serial number = XXXX
/interface bridge
add admin-mac=B8:69:F4:18:91:7B auto-mac=no comment=defconf name=bridge
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 keepalive-timeout=\
disabled max-mtu=1492 name=pppoe-out1 password=XXXXX user=\
XXXXXXXX
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-18917F \
wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-Ceee distance=indoors frequency=auto mode=ap-bridge ssid=\
MikroTik-189180 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=default-dhcp ranges=192.168.88.201-192.168.88.250
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/ppp profile
add local-address=192.168.88.251 name=SSTP01-adn remote-address=\
192.168.88.252 use-encryption=required
/interface bridge port
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=ether2 list=WAN
add interface=pppoe-out1 list=WAN
/interface sstp-server server
set certificate=server default-profile=SSTP01-adn enabled=yes force-aes=yes \
pfs=yes
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
/ip cloud
set ddns-enabled=yes update-time=no
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
add default-route-distance=2 dhcp-options=hostname,clientid disabled=no \
interface=ether2
/ip dhcp-server lease
add address=192.168.88.99 mac-address=XXXXXXXXXXXX
add address=192.168.88.9 mac-address=XXXXXXXXXXXX
add address=192.168.88.8 mac-address=XXXXXXXXXXXX
add address=192.168.88.7 mac-address=XXXXXXXXXXXX
add address=192.168.88.4 mac-address=XXXXXXXXXXXX
add address=192.168.88.10 mac-address=XXXXXXXXXXXX
add address=192.168.88.6 mac-address=XXXXXXXXXXXX
add address=192.168.88.5 mac-address=XXXXXXXXXXXX
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat dst-port=38623 in-interface-list=WAN \
protocol=tcp to-addresses=XXXXXXXXXXXX to-ports=XXXXX
add action=dst-nat chain=dstnat disabled=yes dst-port=XXXXX in-interface=\
bridge protocol=tcp to-addresses=XXXXXXXXXXXX to-ports=XXXXX
add action=dst-nat chain=dstnat dst-port=XXXXX in-interface-list=WAN \
protocol=udp to-addresses=XXXXXXXXXXXX to-ports=XXXXX
add action=dst-nat chain=dstnat dst-port=9623 in-interface-list=all protocol=\
tcp to-addresses=XXXXXXXXXXXX to-ports=XXXXX
/ppp secret
add name=sstp-adn01 password=test profile=SSTP01-adn service=sstp
/system clock
set time-zone-name=Europe/Bucharest
/system ntp client
set enabled=yes primary-ntp=XXXXXXXXXXXX secondary-ntp=XXXXXXXXXXXX
/system routerboard settings
set silent-boot=no
/system scheduler
add disabled=yes interval=10m name=schedule1 on-event="#----------------------\
-----------------------------SCRIPT INFORMATION---------------------------\
-------------------------\
\n#\
\n# Script: Marthur's No-IP.com Dynamic DNS Update Script\
\n# Version: 1.0\
\n# Updated: 10/21/2017\
\n# Created: 10/21/2017\
\n# Author: Marthur Jones\
\n# Website: https://www.marthur.com\
\n#\
\n# This script is to be used in conjunction with No-IP.com's Dynamic DNS \
Service. It is to be scheduled/ran on a Mikrotik \
\n# router as replacement for No-IP's Dynamic Update Client for Windows. T\
here are many versions of this script. However, \
\n# I've made my own modifications to the original script that was created\
\_on March 13, 2012 by riverron and published on\
\n# the MikroTik Wiki here:\
\n#\
\n# https://wiki.mikrotik.com/wiki/Dynamic_ ... _No-IP_DNS\
\n#\
\n# - Changed the scope of the variable that stores the previous IP addres\
s from global to local. The local variable's value \
\n# (IP address) is now assigned via MikroTik's DNS resolution. The scri\
pt compares the previous IP with the current IP \
\n# that is assigned to the WAN interface, if the IP addresses do not ma\
tch, the script will update the No-IP hostname\
\n# with the IP assigned to the WAN interface.\
\n#\
\n# - Added variable to define the log destination path that the script pu\
lls from No-IP.com after a DDNS IP update.\
\n#\
\n# - Made variable name changes.\
\n#\
\n#-----------------------------------------------TESTED USING THE FOLLOWI\
NG------------------------------------------------\
\n#\
\n# Hardware: CCR1009-7G-1C-1S+\
\n# Firmware: v3.41\
\n# RouterOS: v6.40.4\
\n#\
\n#----------------------------------------------MODIFY THIS SECTION AS NE\
EDED----------------------------------------------\
\n\
\n# No-IP account credentials.\
\n:local noipUsername \"XXXXXXXXXXXX"\
\n:local noipPassword \"XXXXXXXXXXXX"\
\n\
\n# Set the hostname or label of network to be updated.\
\n# Hostnames with spaces are unsupported. Replace the value in the quotat\
ions below with your host names.\
\n# To specify multiple hosts, separate them with commas.\
\n:local noipHostname \"XXXXXXXXXXXX"\
\n\
\n# The interface name with the assigned dynamic IP address (usually the W\
AN interface).\
\n:local wanInterface \"pppoe-out1\"\
\n\
\n# Log destination\
\n:local logDestination \"/disk1/logs/\"\
\n\
\n#-----------------------------------------------------------------------\
--------------------------------------------------\
\n\
\n:log warning message=\"START: No-IP DDNS Update\"\
\n\
\n:if ([/interface get wanInterface value-name=running] = true) do={\
\n\
\n# Get the previous IP via DNS resolution.\
\n :local previousIP [:resolve \"\$noipHostname\"]\
\n\
\n# Get the current IP on the WAN interface.\
\n :local currentIP [/ip address get [find interface=\"\$wanInterface\"\
\_disabled=no] address]\
\n\
\n# Strip net mask from IP address.\
\n :for i from=([:len \$currentIP] - 1) to=0 do={\
\n :if ([:pick \$currentIP \$i] = \"/\") do={\
\n :set currentIP [:pick \$currentIP 0 \$i]\
\n }\
\n }\
\n\
\n :log info \"No-IP: DNS IP (\$previousIP), interface IP (\$currentIP)\
\"\
\n \
\n :if (\$currentIP != \$previousIP) do={\
\n :log info \"No-IP: Current IP \$currentIP is not equal to previo\
us IP, update needed\"\
\n\
\n# The update URL. The \"\\3F\" is hex for question mark (\?). This\
\_is required since \? is a special character in the command.\
\n :local url \"http://dynupdate.no-ip.com/nic/update\\3Fmyip=\$cur\
rentIP\"\
\n :local noipHostnames\
\n :set noipHostnames [:toarray \$noipHostname]\
\n :foreach hostname in=\$noipHostnames do={\
\n :log info \"No-IP: Sending update for \$hostname\"\
\n /tool fetch url=(\$url . \"&hostname=\$hostname\") user=\$no\
ipUsername password=\$noipPassword mode=http dst-path=(\$logDestination . \
\"no-ip_ddns_update-\" . \$hostname . \".txt\")\
\n :log info \"No-IP: Host \$hostname updated on No-IP with IP \
\$currentIP\"\
\n }\
\n } else={\
\n :log info \"No-IP: Previous IP \$previousIP is equal to current \
IP, no update needed\"\
\n }\
\n\
\n} else={\
\n :log info \"No-IP: \$wanInterface is not currently running, unable t\
o verify and/or update IP.\"\
\n }\
\n \
\n:log warning message=\"END: No-IP DDNS Update\"" policy=read,write,test \
start-date=jul/12/2018 start-time=20:07:49
add disabled=yes interval=1h name=schedule2 on-event="##############Script Set\
tings##################\
\n\
\n:local NOIPUser \"XXXXXXXXXXXX"\
\n:local NOIPPass \"XXXXXXXXXXXX"\
\n:local WANInter \"XXXXXXXXXXXX"\
\n\
\n###############################################\
\n\
\n:local NOIPDomain \"XXXXXXXXXXXX"\
\n:local IpCurrent [/ip address get [find interface=\$WANInter] address];\
\n:for i from=( [:len \$IpCurrent] - 1) to=0 do={ \
\n :if ( [:pick \$IpCurrent \$i] = \"/\") do={ \
\n :local NewIP [:pick \$IpCurrent 0 \$i];\
\n :if ([:resolve \$NOIPDomain] != \$NewIP) do={\
\n /tool fetch mode=http user=\$NOIPUser password=\$NOIPPass url=\"ht\
tp://dynupdate.no-ip.com/nic/update\\3Fhostname=\$NOIPDomain&myip=\$NewIP\
\" keep-result=no\
\n :log info \"NO-IP Update: \$NOIPDomain - \$NewIP\"\
\n }\
\n } \
\n}" policy=read,write,test start-time=startup

-MISSING LINES, SAME SCRIPTS-

/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 11:15 pm

Nothing what I'd deem dangerous. So first the mandatory question - when upgrading to 6.42.6, have you upgraded also the firmware or only routerOS itself? I.e. what does /system routerboard print say about current-firmware?

The only unusual things I can see are that there is a dhcp-client attached to ether2 and neither this dhcp-client nor the pppoe-client have a default-route-distance specified, so both of them add a default route with distance=1. The dhcp-client at ether1 is the same story. So depending on how the box is connected when you do the test and depending on the testing method, some packets may take another path than the PPPoE one? So if you didn't test like that already, I'd disconnect ether2 physically and disable the dhcp-client attached to ether1 before testing again.

If that doesn't help, as the next step, I'd both backup and export the configuration and download both files to a PC, then reset the box to default, configure the pppoe-client alone using the Quickset utility and try again, just to find out whether something is wrong with the configuration or with the RouterOS version. But if you have generated the server certificate locally, you'll probably lose it this way and I'm not sure whether configuration restore from the backup file restores also certificates.

Which brings me to another point, I believe you haven't duplicated the configuration of the old box to this one by restoring a backup from that old one on this new one?
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Wed Jul 18, 2018 11:24 pm

Forget the "missing default-route-distance on ether2's dhcp-client" part, I've missed the parameter somehow.

I'm instead thinking of you possibly having changed the actual ether1 deployment from dhcp to pppoe without disconnecting it from the modem as the modem got switched to bridge mode, so the dhcp-provided gateway may have remained assigned although it was already not available?
 
adn2377
just joined
Topic Author
Posts: 14
Joined: Thu Oct 20, 2011 1:14 am

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Thu Jul 19, 2018 9:47 pm

I have tried and tested without ether2, without cable connected and also with the interface disabled - the same result. I have also disabled the DHCP client attached to ether1 (I have just realized it's redundant anyway) and left it disabled.

I see that current firmware remained to 6.42.3, although current routeros version is 6.42.6. How do I also upgrade the firmware?

No, this is not some duplicate config, it i generated by my own fiddling in Webfig :))

More probably during the week-end I will try to reset configuration and try again...
I'm instead thinking of you possibly having changed the actual ether1 deployment from dhcp to pppoe without disconnecting it from the modem as the modem got switched to bridge mode, so the dhcp-provided gateway may have remained assigned although it was already not available?
This I confess that I do not understand very well :)

Two more things to mention:

- When I first started the configuration, I tried to rename the default bridge from "bridge" to some other name. The result was - the router disconnected and was no more accessible with any IP. I had to MAC Telnet to it and then only solution was to reset config... I cannot understand why it did that. Oh, and the "reset" physical button from the back of the box did... nothing. Tried to press it after powering, before powering, kept it pressed for shorter or longer periods of time (over 20 seconds) - to NO avail...

- Now, when I go to the "Quick Set" menu, in the top right corner I have what I think are some standard setups pre-configured for the router. I have NOT modified anything from the beginning, now it shows "PTP Bridge CPE" - I am not sure if this has any relevance or not...
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Thu Jul 19, 2018 10:44 pm

I see that current firmware remained to 6.42.3, although current routeros version is 6.42.6. How do I also upgrade the firmware?
/system routerboard upgrade, confirm by pressing Y. In less than a second, it'll tell you system,info,critical Firmware upgraded successfully, please reboot for changes to take effect!, so you do /system reboot and confirm by Y again. From WebFig or Winbox it is more confusing, you press upgrade (and maybe confirm it) and as if nothing happens, but in fact you may wait 5 seconds and then reboot and you should be safe.

I'm instead thinking of you possibly having changed the actual ether1 deployment from dhcp to pppoe without disconnecting it from the modem as the modem got switched to bridge mode, so the dhcp-provided gateway may have remained assigned although it was already not available?
This I confess that I do not understand very well :)
As my Romanian is much worse than your English and I don't suspect you to understand Czech, I'll try again from a different end :-) I was looking for a reason why some packets might take a wrong route when you were testing the speed, as this is the only explanation of that super-slow uplink speed which is related to misconfiguration. And I could imagine a situation where both the DHCP-provided own IP and gateway and the PPPoE-provided own IP and gateway would be active simultaneously. This is not so complex to do in a lab (the fact that there is an IP address assigned to ether1 doesn't prevent the pppoe-client from using it as its underlying interface). The IP configuration, which the DHCP client receives from the server, has some validity period, and unless the Ethernet interface to which the dhcp client is attached goes down at L1, that IP configuration remains in force until that validity period expires. So I could imagine that you might have been testing the PPPoE mode of Mikrotik by switching the modem over from router mode to bridge mode, and if that modem mode change didn't involve link down on the Ethernet, the DHCP-provided configuration could have remained active although the modem was already in bridge mode, allowing the PPPoE configuration to become active as well.

When I first started the configuration, I tried to rename the default bridge from "bridge" to some other name. The result was - the router disconnected and was no more accessible with any IP. I had to MAC Telnet to it and then only solution was to reset config... I cannot understand why it did that. Oh, and the "reset" physical button from the back of the box did... nothing. Tried to press it after powering, before powering, kept it pressed for shorter or longer periods of time (over 20 seconds) - to NO avail...
Both sound strange. Normally you can rename an object and it doesn't cause any trouble as the names are only attributes of the objects and the objects internally refer to each other's IDs, not names. And the button is even more strange, but maybe you were afraid to crack it and didn't press it strong enough? It requires quite some force.

Now, when I go to the "Quick Set" menu, in the top right corner I have what I think are some standard setups pre-configured for the router. I have NOT modified anything from the beginning, now it shows "PTP Bridge CPE" - I am not sure if this has any relevance or not...
The Quick Set only shows relevant things until you do the first change using some other means. So right after restoring defaults, you can set the "CPE" mode with PPPoE on WAN side, but after you're done something else outside the Quick Set page, don't touch anything at Quick Set any more as the result is unpredictable.



But again, how did you test the speed? Using speedtest.net from a PC connected to a LAN port of the 'Tik or using some other means? Would you mind sniffing on ether1 into file as you test, to see where is the delay?
 
adn2377
just joined
Topic Author
Posts: 14
Joined: Thu Oct 20, 2011 1:14 am

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sat Jul 21, 2018 12:21 am

I have upgraded the firmware also. I am not 100% sure this is the reason, but most probably so - since then, I get up to ~380 Mbps download and around ~12 Mbps upload.
I'm instead thinking of you possibly having changed the actual ether1 deployment from dhcp to pppoe without disconnecting it from the modem as the modem got switched to bridge mode, so the dhcp-provided gateway may have remained assigned although it was already not available?
This I confess that I do not understand very well :)
As my Romanian is much worse than your English and I don't suspect you to understand Czech, I'll try again from a different end :-) I was looking for a reason why some packets might take a wrong route when you were testing the speed, as this is the only explanation of that super-slow uplink speed which is related to misconfiguration. And I could imagine a situation where both the DHCP-provided own IP and gateway and the PPPoE-provided own IP and gateway would be active simultaneously. This is not so complex to do in a lab (the fact that there is an IP address assigned to ether1 doesn't prevent the pppoe-client from using it as its underlying interface). The IP configuration, which the DHCP client receives from the server, has some validity period, and unless the Ethernet interface to which the dhcp client is attached goes down at L1, that IP configuration remains in force until that validity period expires. So I could imagine that you might have been testing the PPPoE mode of Mikrotik by switching the modem over from router mode to bridge mode, and if that modem mode change didn't involve link down on the Ethernet, the DHCP-provided configuration could have remained active although the modem was already in bridge mode, allowing the PPPoE configuration to become active as well.
:) Now is more clear - thanks! (not my Czech understanding, not that) - but no :))

When I first started the configuration, I tried to rename the default bridge from "bridge" to some other name. The result was - the router disconnected and was no more accessible with any IP. I had to MAC Telnet to it and then only solution was to reset config... I cannot understand why it did that. Oh, and the "reset" physical button from the back of the box did... nothing. Tried to press it after powering, before powering, kept it pressed for shorter or longer periods of time (over 20 seconds) - to NO avail...
Both sound strange. Normally you can rename an object and it doesn't cause any trouble as the names are only attributes of the objects and the objects internally refer to each other's IDs, not names. And the button is even more strange, but maybe you were afraid to crack it and didn't press it strong enough? It requires quite some force.
Yes it IS strange. And believe me that I pressed with (almost) all my might. But it did nothing at all. Still, I have not retried it after reloading the initial config.


But again, how did you test the speed? Using speedtest.net from a PC connected to a LAN port of the 'Tik or using some other means? Would you mind sniffing on ether1 into file as you test, to see where is the delay?
Using speedtest.net from a PC connected to a LAN port of the 'Tik. I tried to use the Packet Sniffing function of the router - and I did. I don't really understand why I only have 5000 Kb of free space on the disk though...

Still, no need to upload the file, since I found the problem just now!!

It was very confusing: I was doing small changes here and there in the configuration, each time taking the speed test again once or twice, and EACH TIME the download speed got a little better. 250, then 300, 320, and so on (while the upload stayed much lower). In the end it even got over 400... But WHY?
Then I remembered I have a "SMART" mainboard (ASRock Z97 Extreme6) with one even "smarter" piece of software that handles the LAN interface... and has an option called "Traffic shaping". Very sad. Just disabled it, then... Pufff! At the new test I got ~680 down and ~510 up.
The more confusing part is - when tested directly with PPPOE (without the router) it was also active... but somehow functioned differently and I got much higher speeds.

Oh, and in the meantime I think I have managed to brick my RB751U-2HnD device. Did not manage to automatically upgrade its 5.something software variant, so I looked on the Wiki and manually downloaded the 6.42.6 routeros version (npk file), uploaded it to that device and rebooted...
Only that now, it keeps flashing the leds like it is trying to boot, that they go dark , then again... it is in a loop and not accessible and I am not sure what to do :)

Many thanks for your help so far!!
 
jafar
just joined
Posts: 2
Joined: Tue Jun 19, 2018 9:55 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sat Jul 21, 2018 6:30 am

Hi guys,
I have a problem with Mikrotik routers. I bought 2 mikrotik routers HAPac2. And all of main configuration I have done it. But I started check ping "request time out" or 800-1000ms over LAN. I connected my old router TPlink its okay 1ms. How can fix the problem? Please somebody help me.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sat Jul 21, 2018 2:36 pm

The more confusing part is - when tested directly with PPPOE (without the router) it was also active... but somehow functioned differently and I got much higher speeds.
I wouldn't be surprised if the software you're talking about would only deal with IP packets and ignore the PPPoE ones (which use several ethertype values, all different from IP).

now, it keeps flashing the leds like it is trying to boot, that they go dark , then again... it is in a loop and not accessible and I am not sure what to do :)
This sounds like a case for netinstall. Depending on how much you care about the existing configuration, you may prefer netinstall (which gives you a chance to preserve the configuration) or holding the reset button while powering up to reset configuration to defaults (which in some cases may fix the boot loop).
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: New hAP ac² setup and a few problems (PPPOE speed, DDNS, etc)

Sat Jul 21, 2018 2:39 pm

I bought 2 mikrotik routers HAPac2. And all of main configuration I have done it. But I started check ping "request time out" or 800-1000ms over LAN. I connected my old router TPlink its okay 1ms. How can fix the problem? Please somebody help me.
@jafar, it is very confusing to deal with two issues in the same thread when all they have in common is the routerboard model. Please create a new topics, copy-paste your problem description there and add the description of your WAN configuration (PPPoE, DHCP, ...). Ideally post also your current configuration, my automatic signature suggests how to do it.

Who is online

Users browsing this forum: Bing [Bot], ShindigNZ and 87 guests