ip packing implementation - cambodia | mikrotik ip packing.pdfip packing implementation mum...
TRANSCRIPT
IP Packing Implementation
MUM (MIKROTIK USER MEETING) PHNOM PENH, CAMBODIA
APRIL 2017
BY : ANTONIUS DUTY SUSILOINDONESIA
Profile
■ Antonius Duty Susilo
■ Email : [email protected]
■ 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 MALANGIndonesiaA 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
development and programmingPrincipal :
Drs. Hendy Adriyanto
Objectives
■ Describe IP Packing
■ Explain the advantages and disadvantages of IP
Packing
■ Configure IP Packing
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-
headers|none)
action it should perform when packet is leaving
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-
headers|none
action it should perform when packet is received
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
Packet 1 Packet 2 Packet 3 Packet 4
Packing
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.
How it works?
■ 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
Packing
Router A Router B
192.168.2.0/24
192.168.1.0/24192.168.3.0/24
AP Bridge
SSID :IP Packing Station
Add packing rule to the interface
■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple
unpacking=simple
Router A
Add packing rule to the interface
■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple
unpacking=simple
Router B
SUMMARY
■ PACKING IP accelerate the delivery of the
package but will add to the workload of
the processor