Вы находитесь на странице: 1из 27

IP Packing

Implementation
BY : ANTONIUS DUTY SUSILO
INDONESIA

MUM (MIKROTIK USER MEETING)


PHNOM PENH, CAMBODIA
APRIL 2017
Profile
■ Antonius Duty Susilo
■ Email : dutymlg@gmail.com
■ Master degree ( S2) of Information Technology in ITB
(Institute Teknologi Bandung) Indonesia
■ Teacher in SMK Telkom Malang and Lecturer In University.
■ Mikrotik Trainer ( belajarmikrotik.com) and Consultant
Mikrotik
■ Cisco Networking Academy Program Instructor and Oracle
Academy and Oracle WDP (Workforce Development
Program) Instructor
SMK TELKOM
MALANG
Indonesia
A Vocational High School
under the auspices of
Telkom Education
Foundation or YPT (Yayasan
Pendidikan Telkom)
Bandung, Indonesia
(www.ytp.or.id)
SMK Telkom Malang was established
in 1992 (www.smktelkom-mlg.sch.id).

There are 2 departments :

Computer and Networks Engineering

Students will be able to create a


Computer Technician and Network
Engineer

Software Programming

Students will be educated in software


Principal :
development and programming
Drs. Hendy Adriyanto
IP PACKING
IMPLEMENTATION
Objectives

■ Describe IP Packing
■ Explain the advantages and disadvantages of IP
Packing
■ Configure IP Packing
What is IP Packing ?

The feature of Mikrotik to repack the


transmitted data packets
IP Packing

■ It can reduce latency in busy networks


■ This is useful if network conditions are very
busy where many PPS (packets per seconds)
which require a lot of process.
Advantages and Disadvantages IP
packing
■ Advantages
- It allows simple packet aggregation into larger
packets and compression of contents of packets.

■ Disadvantages
- To create a large package Router must wait for smaller
packages come with this process, it will be found some
"Timeout" for packets coming. resulting in a large latency
Packing Configuration Properties
Property Description

aggregated-size (20 .. 16384 default:1500) size of aggregated packet that packing will try to
achieve before sending packet over network

disabled (yes|no) state of packing rule, if value is yes it will be


ignored and will not be part of active
configuration

interface (interface name) packing will try to aggregate and/or compress


packets from this interface
Property Description
packing (simple|compress-all|compress- action it should perform when packet is leaving
headers|none) interface packing rule is configured on.
• simple - do just aggregation of packets
• compress-all - do aggregation and attempt to
compress headers and payload of packet
• compress-headers - do aggregation and
attempt to compress headers and leaving
payload of packet as is
• none - send packets as is

unpacking (simple|compress-all|compress- action it should perform when packet is received


headers|none on interface packing rule is configured on.
• simple unpack received packets from
aggregated packet received from interface
• compress-all - unpack aggregated packet and
uncompress headers and payload of packet
• compress-headers - unpack aggregated
packet and decompress headers of packet
• none - do nothing with received packet
How it works?
Normal Packet
Packet 1 Packet 2 Packet 3 Packet 4

Packing

Packet 1 Packet 2 Packet 3 Packet 4


How it works?
1. Router collect small packets
2. Repack it into a big packet
3. Transmit to the destination.

Notes :Latency will decrease if the condition


of High Traffic but latency will increase when the
condition low traffic because router must wait to fill the
big packet full. This is the opposite of
the normal traffic (unpacked). So if use IP Packing,
just for busy or high traffic networks.
■ All small packets will be packed in the
source and will be unpacked when arrived at the
destination.
■ Source and Destination must know
Packing Capability of each other. Because if we
have another router on network that doesn't use
packing feature, it would not know how to
unpack and will consider invalid and drop it.
Network Neighbors Discovery

■ Mikrotik use the Network Neighbors


Discovery to determine which router to use the
feature ‘Packing’ and which are not.
LAB 192.168.2.0/24

AP Bridge
SSID :IP Packing Packing Station

Router A Router B

192.168.3.0/24
192.168.1.0/24
Router A Router B
Router A
Enable router Neighbors Discovery
■ /ip neighbor discovery set wlan1 discover=yes
Router A
Add packing rule to the interface
■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple
unpacking=simple
Router B
Enable router Neighbors Discovery
■ /ip neighbor discovery set wlan1 discover=yes
Router B
Add packing rule to the interface
■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple
unpacking=simple
RESULT (Unpacking)
RESULT (Simple) CPU Resource
RESULT (Compress Headers)
CPU Resource
RESULT (Compress All) CPU Resource
SUMMARY

■ PACKING IP accelerate the delivery of the


package but will add to the workload of
the processor
Thank You
Email : dutymlg@gmail.com

Вам также может понравиться