Top Banner
IP Packing Implementation MUM (MIKROTIK USER MEETING) PHNOM PENH, CAMBODIA APRIL 2017 BY : ANTONIUS DUTY SUSILO INDONESIA
27

IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Apr 19, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

IP Packing Implementation

MUM (MIKROTIK USER MEETING) PHNOM PENH, CAMBODIA

APRIL 2017

BY : ANTONIUS DUTY SUSILOINDONESIA

Page 2: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 3: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

SMK TELKOM MALANGIndonesiaA Vocational High School

under the auspices of

Telkom Education

Foundation or YPT (Yayasan

Pendidikan Telkom)

Bandung, Indonesia

(www.ytp.or.id)

Page 4: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 5: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

IP PACKING IMPLEMENTATION

Page 6: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Objectives

■ Describe IP Packing

■ Explain the advantages and disadvantages of IP

Packing

■ Configure IP Packing

Page 7: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

What is IP Packing ?

The feature of Mikrotik to repack the

transmitted data packets

Page 8: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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.

Page 9: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 10: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 11: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 12: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

How it works?

Normal Packet

Packet 1 Packet 2 Packet 3 Packet 4

Packet 1 Packet 2 Packet 3 Packet 4

Packing

Page 13: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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?

Page 14: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

■ 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.

Page 15: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Network Neighbors Discovery

■ Mikrotik use the Network Neighbors

Discovery to determine which router to use the

feature ‘Packing’ and which are not.

Page 16: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

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

Page 17: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Router A Router B

Page 18: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Router A

Enable router Neighbors Discovery

■ /ip neighbor discovery set wlan1 discover=yes

Page 19: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Add packing rule to the interface

■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple

unpacking=simple

Router A

Page 20: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Router B

Enable router Neighbors Discovery

■ /ip neighbor discovery set wlan1 discover=yes

Page 21: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Add packing rule to the interface

■ /ip packing add interface=wlan1 aggregated-size=1500 packing=simple

unpacking=simple

Router B

Page 22: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

RESULT (Unpacking)

Page 23: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

RESULT (Simple)CPU Resource

Page 24: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

RESULT (Compress Headers)CPU Resource

Page 25: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

RESULT (Compress All)CPU Resource

Page 26: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

SUMMARY

■ PACKING IP accelerate the delivery of the

package but will add to the workload of

the processor

Page 27: IP Packing Implementation - Cambodia | MikroTik ip packing.pdfip packing implementation mum (mikrotik user meeting) phnom penh, cambodia april 2017 by : antonius duty susilo indonesia

Thank You

Email : [email protected]