Friday, August 4, 2017

Topic 10. Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

Maximum Transmission Unit is a term in information technology that refers to the largest data packet size that can be transmitted through a network medium.
 The size of the MTU is varied depending on the network technology used. An example is in a network based on Ethernet technology, the maximum MTU size is 1500 bytes. It is the data-link layer assignment that should determine the size of the MTU.


MTU settings are usually done on networking devices such as switches, routers and so on. Very seldom do the MTU settings manually on the workstation or host. If the ip layer accepts packets that will be forwarded into the network, then the device will calculate the packet size if added with 20 bytes ip header. If it turns out that the packet to be transmitted has a larger MTU ukran than the MTU of the device receiving the packet, then the packet will be fragmented, or cut to a smaller size.
Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

Large MTU values allow to transmit data faster, imagine if you have a lot of data then collected into one big box.
 Then we simply send all the data once using one big box. But if for small box, then we need to send several times.The value of a large MTU does not then always have a good effect. The longer the MTU, the less reliable the data transmission process. If there is a malfunction of the packet in transmission then all damaged packets will be resent by TCP (Transmission Control Protocol) protocol.

So also on the system in MikroTik is RouterOS which has a standard size of each MTU of each interface. In RouterOS for MTU it is divided into several types ie L3 MTU ( IP / Layer-3 ), L2.5 MTU . Of the types of MTU has a value of different standards. 
  • L3 MTU = 1500 (Data: 1480 + IP: 20), 
  • L2.5 MTU = 1504 (Data: 1480 + IP: 20 + MPLS: 4)
  • L2 MTU = 1508 (Data: 1480 + IP: 20 + MPLS: 4 + VLAN: 4)
  • FULL Frame MTU = 1522 (Data: 1480 + IP: 20 + MPLS: 4 + VLAN: 4 + ETH: 14).
Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

The big difference in the value of each type of MTU depends on the type of traffic that will be handled.
 If the size of the MTU is only set at 1500 (L3 MTU) without adding the type of MTU The other then for traffic with VLAN service, MPLS, will not be able to pass. Under normal conditions data packets that have a size too large will be fragmented by the device automatically. Too many fragmented packets will cause the packet queue to be long, then the device receiving the packet must also reorder the received packet. The size of MTU supported by Mikrotik products can be seen here . 
Especially if there is an application that requires a static data packet value, then the network admin must be able to determine the size of data packets to be passed in order for the packet to be received properly. Some services that transmit data over the network will usually add headers to the data packet, such as ping.
When data goes out of the device, data packets will be added with some headers, including 20bytes IP Header, and ICMP header 8bytes. To do a test, you can use the ping -f -s command on windows OS, ping -M -s on Linux, or ping -D -s on Mac OSX. Suppose we try ping with the size of 1500 packets, without doing fragmentation.
Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

The destination device is unable to accept because the packet size is too large.
Why so, when the opponent device has MTU 1500 settings ?. Size 1500 is the size of the data packet before adding the header. Then we can calculate the exact size of the data so that the ping packets can be accepted. 
1500 = 20 (IP header) + 8 (ICMP header) + Data
Data = 1472
If we try ping with size 1472, then the package can be received well 
Mikrotik Router Mikrotik Hotspot MTU calculations on MikroTik

Other services usually also add headers with certain values, such as PPTP VPN and PPPOE.
 This service will add pptp header and checksum, while PPPoE add PPPoE header, PPP ID, DST & SRC Address. 
PPTP:
The above calculation is also applicable when using other services. It can be concluded that with the increase of ip header size, the size of the data on the transmitted is also smaller. The size of the MTU miminum is 576 bytes.

MTU Path Discovery 
To know the value of opponent device's MTU, devices connected to the network have a mechanism called MTU path discovery. This mechanism does not necessarily require special features or services, but uses a fairly simple way that is by utilizing the error reporting mechanism on ICMP. 

mikrotik
mikrotik winbox
mikrotik routerboard
mikrotik hotspot
mikrotik indonesia
mikrotik default password
mikrotik port forwarding
mikrotik routeros
mikrotik hap lite
mikrotik firewall
mikrotik router
mikrotik bandwidth test
mikrotik bridge
mikrotik bonding
mikrotik backup
mikrotik bgp
mikrotik bandwidth management
mikrotik block youtube
mikrotik basebox 2
mikrotik bandwidth test server
mikrotik basebox 5
mikrotik download
mikrotik dude
mikrotik dhcp server
mikrotik dns server
mikrotik ddns
mikrotik dhcp relay
mikrotik dual wan
mikrotik dns
mikrotik disc lite5
mikrotik export config
mikrotik eoip
mikrotik exploit
mikrotik emulator
mikrotik eoip tunnel
mikrotik ecmp
mikrotik ebook
mikrotik exam
mikrotik enable fasttrack
mikrotik ether boot
mikrotik forum
mikrotik firmware
mikrotik firewall rules
mikrotik fasttrack
mikrotik factory reset
mikrotik failover
mikrotik forward port
mikrotik fastpath
mikrotik freeradius
mikrotik groove
mikrotik groove a-52hpn
mikrotik gre tunnel
mikrotik gateway
mikrotik graphs
mikrotik gpon
mikrotik gns3
mikrotik guest wifi
mikrotik gui
mikrotik gpon olt
mikrotik hap ac
mikrotik hex
mikrotik hotspot login page
mikrotik hap ac lite
mikrotik hotspot setup
mikrotik hap
mikrotik hotspot redirect
mikrotik hex lite
mikrotik ipsec
mikrotik ip address
mikrotik ipv6
mikrotik iso
mikrotik ipsec vpn setup
mikrotik interface list
mikrotik indo
mikrotik india
mikrotik ip
mikrotik jogja
mikrotik jobs
mikrotik jual
mikrotik jakarta
mikrotik java api
mikrotik jump
mikrotik json
mikrotik jaringan
mikrotik jitter test
mikrotik jump rule
mikrotik kungfu
mikrotik kvm
mikrotik keepalive timeout
mikrotik keygen
mikrotik key
mikrotik kenya
mikrotik karachi
mikrotik kaskus
mikrotik kernel failure
mikrotik key generator
mikrotik login
mikrotik load balancing
mikrotik license
mikrotik lhg 5
mikrotik l2tp
mikrotik login page
mikrotik lte
mikrotik logo
mikrotik load balancing 2 wan
mikrotik lte modem
mikrotik mum
mikrotik mesh
mikrotik manual
mikrotik metal 2shpn
mikrotik mpls
mikrotik masquerade
mikrotik mangle
mikrotik master port
mikrotik metal
mikrotik map
mikrotik netinstall
mikrotik nat
mikrotik ntp server
mikrotik netflow
mikrotik netwatch
mikrotik netmetal 5
mikrotik ntp
mikrotik netinstall download
mikrotik nv2
mikrotik nat setup
mikrotik openvpn
mikrotik os
mikrotik ospf
mikrotik openvpn client
mikrotik openvpn setup
mikrotik omnitik
mikrotik openvpn udp
mikrotik openwrt
mikrotik outdoor access point
mikrotik openflow
mikrotik password recovery
mikrotik password
mikrotik poe switch
mikrotik philippines
mikrotik poe
mikrotik packages
mikrotik pppoe server
mikrotik products
mikrotik pcq
mikrotik qos
mikrotik queue
mikrotik qos voip
mikrotik quickset
mikrotik qrt 5
mikrotik qos script
mikrotik qrt 2
mikrotik queue types
mikrotik quick setup
mikrotik queue not working
mikrotik rb750
mikrotik rb951ui-2hnd
mikrotik rb2011
mikrotik rb951g-2hnd
mikrotik rb450g
mikrotik router configuration
mikrotik rb750gr3
mikrotik switch
mikrotik sxt lite5
mikrotik script
mikrotik sxt
mikrotik software
mikrotik support
mikrotik setup
mikrotik simple queue
mikrotik snmp
mikrotik swos
mikrotik tutorial
mikrotik training
mikrotik the dude
mikrotik torch
mikrotik traffic flow
mikrotik traffic monitor
mikrotik thailand
mikrotik transparent proxy
mikrotik trunk port
mikrotik traceroute
mikrotik user manager
mikrotik upnp
mikrotik update
mikrotik usb modem
mikrotik uptime
mikrotik ups
mikrotik user meeting
mikrotik usb
mikrotik use service tag
mikrotik uk
mikrotik vpn
mikrotik vlan
mikrotik vpn client
mikrotik vs cisco
mikrotik vs ubiquiti
mikrotik vs pfsense
mikrotik vrrp
mikrotik vpn setup
mikrotik vrf
mikrotik vlan routing
mikrotik wiki
mikrotik wireless
mikrotik wap ac
mikrotik web proxy
mikrotik wap
mikrotik winbox port
mikrotik winbox loader
mikrotik wds
mikrotik wireless bridge
mikrotik x86
mikrotik x2 routerboard 1100 ah
mikrotik x86 cracked
mikrotik x2
mikrotik x86 vmware
mikrotik x86 install
mikrotik xr5
mikrotik x64
mikrotik xenserver
mikrotik x86 license
mikrotik youtube
mikrotik youtube block
mikrotik youtube bandwidth
mikrotik youtube address list
mikrotik yogyakarta
mikrotik yang cocok untuk hotspot
mikrotik youtube layer 7
mikrotik yang bagus
mikrotik youtube mangle
mikrotik yota
mikrotik zabbix
mikrotik zero handoff
mikrotik zone based firewall
mikrotik zabbix agent
mikrotik zabbix template
mikrotik zte modem
mikrotik zte
mikrotik zte mf190
mikrotik zenoss
mikrotik zte mf823
mikrotik 0.0.0.0
mikrotik 0.0.0.0 torch
mikrotik 0.0.0.0 bad router address
mikrotik 0.0.0.0 timeout
mikrotik ip 0.0.0.0
mikrotik tr-069
mikrotik level 0
mikrotik pptp-0 waiting for call
mikrotik chain 0 chain 1
mikrotik vlan 0
mikrotik 1100
mikrotik 1100ahx2
mikrotik 1036
mikrotik 1009
mikrotik 1072
mikrotik 10g switch
mikrotik 1200
mikrotik 10g
mikrotik 1016
mikrotik 1 to 1 nat
mikrotik 2011
mikrotik 2 wan load balancing
mikrotik 2011uias
mikrotik 260gs
mikrotik 2 wan
mikrotik rb260gsp
mikrotik 2 wan 2 lan
mikrotik 2 isp
mikrotik 24 port switch
mikrotik 2shpn
mikrotik 3011
mikrotik 3g
mikrotik 3g router
mikrotik 3g modem
mikrotik 3011 review
mikrotik 3100
mikrotik 3g setup
mikrotik 3g modem setup
mikrotik rb3011uias
mikrotik 30dbi dish
mikrotik 4g router
mikrotik 450
mikrotik 4 wan load balancing
mikrotik 433
mikrotik 411
mikrotik 493g
mikrotik 4g setup
mikrotik rb433ah
mikrotik 4g usb
mikrotik 5ghz
mikrotik 5.20
mikrotik 5.20 licence key
mikrotik 5.26
mikrotik 5.20 iso
mikrotik 52hpn
mikrotik 5.20 cracked
mikrotik 5shpn
mikrotik 5.18
mikrotik 5hnd
mikrotik 60 ghz
mikrotik 6.32 crack
mikrotik 6 license key
mikrotik 6.39
mikrotik 6.38 crack
mikrotik 6to4
mikrotik 6.38.5
mikrotik 6.39.1
mikrotik 6.38
mikrotik 6.33 crack
mikrotik 750
mikrotik 750gl
mikrotik 750gr3
mikrotik 750g
mikrotik 750gr2
mikrotik rb750up
mikrotik 751
mikrotik rb750r2
mikrotik 750 price
mikrotik 7
mikrotik 850g
mikrotik 802.1x
mikrotik 802.11ac
mikrotik 850
mikrotik 850g price
mikrotik 802.1x ethernet
mikrotik 802.3ad
mikrotik 802.3af
mikrotik 8 port switch
mikrotik 802.11r
mikrotik 951
mikrotik 951ui-2hnd
mikrotik 951g
mikrotik 941
mikrotik 912
mikrotik 900mhz
mikrotik 962
mikrotik 952
mikrotik 911
mikrotik 921

No comments:

Post a Comment