FEET let to thIIhOI oIOIQ EoFIE the.to let to EIIeo - - PDF document

feet
SMART_READER_LITE
LIVE PREVIEW

FEET let to thIIhOI oIOIQ EoFIE the.to let to EIIeo - - PDF document

Flooding on recv(pkt, ifin): 1h37 for i in interfaces: if i != ifin: 2 send(pkt, i) I Too 2 0 TOLE If Deliver Packets Bat HI The Cycles Bad Packet Destinationitf FEET let to thIIhOI oIOIQ EoFIE the.to let to EIIeo


slide-1
SLIDE 1

Flooding

1h37

µ

2

I

2

Too

TOLE

If

HI

Deliver Packets

The

Bat

Cycles

Bad

Packet

Destinationitf

FEET

  • n recv(pkt, ifin):

for i in interfaces: if i != ifin: send(pkt, i)

slide-2
SLIDE 2

to

let

the.to

EoFIE

  • IOIQ

thIIhOI

to

let

eo.to.EE

EIIeo

EEEIIf

2Oa

thIIIo

  • FI
slide-3
SLIDE 3

f O

t 1

Io.toIEEII.fEo.yo

lhOI

E

b 3

t

HhI

E

e

E

i

F

In

iI

EEE

Packets

everywhere all thetime

slide-4
SLIDE 4

How to solve

  • Remember all packets forwarded

How many packets

should beremembered

How much memory

Change graph so there

are

no cycles

How to changegraphs

Remove links so that

no cycles remain

4

Without Disconnecting

Graph

l

slide-5
SLIDE 5

Example

IIo

HI

The

to

1h37

THI

YO

MY

FOLK

slide-6
SLIDE 6

Q How to remove links

Assume

all networks

are

designed tobe.org

It

Done by someone

else

Does not work

in many

environments

slide-7
SLIDE 7

Automate

Modifiedflood

if

O

deactivated'ER

Deactivated

deactivated = Set()

  • n recv(pkt, ifin):

if ifin in deactivated: return for i in interfaces: if (i !=ifin and i not in deactivated): send(pkt, i)

slide-8
SLIDE 8

Algorithm that converts graph witch codes

to acyclic graph

4

ME

fr

tlDO

OB Oc Ffh

Requirements

Acyclic A

khI

Spanning

Do 03

0 Ehf

Root

ro.toEioFII

trEPEoIninsEEe

How

slide-9
SLIDE 9

Algorithm

  • Root

IT

R

id roofdist

eo.to

  • EEII.ainoz

r

I

t

da.A

h

cnn.ioa.IE

IIko

Ai

see

1

I

7

slide-10
SLIDE 10

From Algorithm to Protocol

StepI

Identity Root A

43

Step 2

BFS

Root = id On boot: Bcast((root=root) On recv(p, i): If p.root < root: Root = p.root Bcast((root = root)

slide-11
SLIDE 11

Putting it alltogether

ri

is