Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows...
-
Upload
thomasine-wiggins -
Category
Documents
-
view
214 -
download
1
Transcript of Mobile Agents in Click Tushar Mohan. Click Elements Graphs made of simple elements Separate flows...
Mobile Agents in Click
Tushar Mohan
Click Elements
• Graphs made of simple elements
• Separate flows have separate ports
• Common case fast
• Reduce function calls
• Ports of elements - PUSH, PULL, AGNOSTIC
Advertisements and Registration
H F
M
Router/Agent Advertisement Element
FromDevice ClassifierAgentAdvertisement
EtherEncap
Queue
ToDevice
Home/Foreign Agent Element
FromDeviceeth0 Classifier ARPResponder
Agent
ToDeviceeth1
IP
Strip
LookUpIPRoute
FromDeviceeth1
To Classifier
0 0
1 12
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
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
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
Schematic for agent.click
FH
0(in) (out)0
0(out) 0(in)
1(in)
InfiniteSource
Discard
2(out)
1(out)
Discard
Discard
Discard
2 (out)
1(out)
InfiniteSource
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;
What Remains ?
• Not fully compliant (RFC2002)– ARPs, validation, authentication– multiple simultaneous binding
• Speed-up (hash classes)
• Hardware testing
• Documentation
• Integration with the MIT toolkit
Objectives
• Add to the Click tool-kit
• Practically implement a protocol
• Enjoy the project