mobile agents in click tushar mohan. click elements graphs made of simple elements separate flows...

12
Mobile Agents in Click Tushar Mohan

Upload: thomasine-wiggins

Post on 17-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Mobile Agents in Click

Tushar Mohan

Page 2: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Click Elements

• Graphs made of simple elements

• Separate flows have separate ports

• Common case fast

• Reduce function calls

• Ports of elements - PUSH, PULL, AGNOSTIC

Page 3: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Advertisements and Registration

H F

M

Page 4: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Router/Agent Advertisement Element

FromDevice ClassifierAgentAdvertisement

EtherEncap

Queue

ToDevice

Page 5: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Home/Foreign Agent Element

FromDeviceeth0 Classifier ARPResponder

Agent

ToDeviceeth1

IP

Strip

LookUpIPRoute

FromDeviceeth1

To Classifier

0 0

1 12

Page 6: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Home Agent Configuration• Input 0 :

• Normal IP + IP for forwarding + UDP registration requests

• Input 1 :• Agent Interface Ethernet packets for which we

Proxy/Gratuitous ARP• Possible de-registration request

• Output 0 : • Normal IP + Encapsulated IP

• Output 1 :• Unprocessed Ethernet packets from Agent Interface

• Output 2 :• Proxy/Gratuitous ARPs

Page 7: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Foreign Agent Configuration• Input 0 :

• Normal IP + Encapsulated IPIP + UDP registration replies

• Input 1 :• Registration requests Eth/IP/UDP + Passing ethernet

packets• Output 0 :

• Normal IP + Relayed registration requests• Output 1 :

• Unprocessed Ethernet packets from Agent Interface• Output 2 :

• De-capsulated packets + Relayed replies

Page 8: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Test Configuration

MH

FH

Ex-MH

202.54.15.1

202.54.15.1

202.54.1.1

202.54.15.10

192.168.0.1192.168.10.1

Page 9: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Schematic for agent.click

FH

0(in) (out)0

0(out) 0(in)

1(in)

InfiniteSource

Discard

Print

2(out)

1(out)

Discard

Print

Discard

Discard

2 (out)

1(out)

InfiniteSource

Page 10: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Adv.click

AgentAdvertise( HOME, 192.168.123.116, 224.0.0.1, 0.0.0.0, REG_LIFE=255, MAX=5, ENCAP=GRE, DEFAULT_ROUTER=false, MIN=5 )

->IPPrint("Adv", CONTENTS=hex, ID=true) ->Discard;

Page 11: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

What Remains ?

• Not fully compliant (RFC2002)– ARPs, validation, authentication– multiple simultaneous binding

• Speed-up (hash classes)

• Hardware testing

• Documentation

• Integration with the MIT toolkit

Page 12: Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows have separate ports Common case fast Reduce function

Objectives

• Add to the Click tool-kit

• Practically implement a protocol

• Enjoy the project