S KIP T HIS P APER RINAS IM : Y OUR R ECURSIVE I NTER N ETWORK Intro RINASim A RCHITECTURE S IMULATOR Outro Vladimír VESELÝ , Marcel MAREK, Tomáš HYKEL, Ondřej RYŠAVÝ 2 ND OMN E T++ S UMMIT 3 RD -4 TH S EPTEMBER 2015, Z ÜRICH , S WITZERLAND 1
T HEORY Your teachers told you about this… 1978 – 1994 ISO-OSI RM Intro Intro Application RINASim Presentation Outro Session Transport Network Data-link Physical 2
T HEORY …or this… 1983 TCP/IP RM Intro Intro RINASim Application Outro Transport Internet Link 3
T HEORY …or that! TCP/IP RM Intro Intro RINASim network part of Application Outro each application data transfer services Transport logical communication Internet adjacent communication Link medium abstraction Physical 4
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro Transport Internet Link DWDM Physical 5
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro Transport Internet Link 802.1q 6
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro Transport Internet Link Q-in-Q 802.1q DWDM Physical 7
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro Transport IPsec Link 802.1q Q-in-Q DWDM Physical 8
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro TLS/SSL IPsec Link 802.1q Q-in-Q DWDM Physical 9
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro TLS/SSL IPsec MPLS 802.1q Q-in-Q DWDM Physical 10 10
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro TLS/SSL IPsec GRE or VPNs MPLS 802.1q Q-in-Q DWDM Physical 11 11
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Application Outro LISP or ILNS TLS/SSL IPsec GRE or VPNs MPLS 802.1q Q-in-Q DWDM Physical 12 12
T HEORY Have you noticed clash of theory and practice? TCP/IP RM Intro Intro RINASim Tunnel across Application Outro HTTP(s) LISP or ILNS TLS/SSL IPsec GRE or VPNs MPLS 802.1q Q-in-Q DWDM Physical 13 13
P ROBLEMS Intro Intro RINASim Outro IPv4 IPv6 Open problems of nowadays Internet Multi-homing Identity WiFi HSPDA Mobility 10.0.1.11 20.0.2.22 Default-free Zone growth What is unique address??? 14 14
RECURSIVE INTERNETWORK ARCHITECTURE One generic layer (called DIF , Distributed IPC Facilty ) that limits scope Intro Intro Layer2 Application RINASim Outro Layer1 Transport Layer Internet Link Layer0 Physical 1) Data transfer with soft-state timer-based synchronization 2) Complete addressing and naming scheme 3) Split between mechanism (fixed) and policy (flexible) 4) Single generic application protocol 15 15
H ISTORY In 2007 book Patterns in Network Architecture: A Return to Fundamentals by John Day Intro Intro RINASim Outro 16 16
1) S OFT -S TATE T RANSPORT P ROTOCOL Hard-state = explicit synchronization prior to communication using special messages (i.e., TCP flags and 3-way handshake) Data Transfer Protocol (DTP) based on Richard Wattson ’s transport protocol Delta-t from 1984 Intro Intro Proves that hard-state is unnecessary IFF RINASim Maximum Packet Lifetime denotes upper bound time (value 𝑁𝑄𝑀 ) that a packet can Outro exists in a network Retransmission-timer specifies maximum period (value 𝑆 ) that a sender is willing to retransmit its unacknowledged messages; Acknowledgment-timer defines maximum delay (value 𝐵 ) that the receiver of data can wait before sending acknowledgment. ∆𝑢 = 𝑁𝑄𝑀 + 𝑆 + 𝐵 All connections exist all the time Decoupling of port allocation from synchronization After period of 2-3 ∆𝑢 of no traffic, all synchronization state should be discarded, which effectively resets the connection Both reliable and unreliable transfer based on employment of sequence numbers 17 17
2) C OMPLETE A DDRESSING Logical vs. Physical addresses Variable addresses Reflects scope (size) and usage (flat vs. hierarchical) Intro Intro Port allocation Structured RINASim IPCP address Directory Outro Application Application Namespace Namespace Port number Route Ports with Node Node Route Namespace Connection-id Namespace port-ids IP address src CEP-id dst CEP-id src dst EFCPIs with Connection N-PDU has QoS-id PoA CEP-id CEP-id Path MAC address PoA CEP-ids Namespace Namespace Path Flow 18 18 State synchronization
3) M ECHANISM VS . P OLICY i.e., error-checking (fixed) employing CRC (flexible) Programmable behavior using well-defined APIs EFCP instance Intro Intro data traffic control traffic RINASim Outro Error Control Flow Control State Vector RIB Tightly-bound State Vector Loosely-bound DTP DTCP Delimiting Enrollment Data Transfer Flow Allocator SDU Protection Resource Allocator Common Distributed Relaying & Multiplexing RIB Application Protocol Task Daemon a) Data b) Data c) Management Transfer Transfer Control 19 19 Time and functional complexity increases
4) CDAP Common Distributed Application Protocol (CDAP) All application protocols are stateless, the state is in the application DTP modify state internal to the protocol and CDAP modify state external to the protocol Intro Intro CDAP encapsulated into DTP Request-response scheme with feedback RINASim Outro Primitive operations governing objects (i.e., files) Read / Write Create / Delete 6 messages × 2 directions = 12 message types Start / Stop Subcomponents CACE – connection establishment Auth – authentication CDAppP – protocol operation 20 20
N ODE T YPES Interior Host Border Border Host Router Router Router Intro RINASim RINASim Outro (N+1)-DIF Relaying RMT (N)-DIF (N-1)-DIF Physical medium Multiplexing RMTs Physical medium 21 21
DIF C OMPONENTS Intro RINASim Outro 22 22
L IVE D EMONSTRATION HostA Switch HostB Interior Host Host Router Intro RINASim RINASim DAF Outro (N)-DIF 1 2 3 5 4 (N-1)-DIF 23 23
C ONCLUSION RINASim is full-fledged RINA simulating framework Independent on other libraries (such as INET) 105 899 SLOC and getting bigger including *.h, *.cc, *.msg, *.ned, *.ini, *.xml Intro excluding comments and empty lines RINASim Complete recursive stack implementation Outro Outro Generic CDAP socket-like APIs Data transfer protocol Routing protocol policies Flow lifecycle RINASim 24 24
T HE E ND Thank you! Feel free to ask any question… https://github.com/kvetak/RINA Expecting first research papers to be accepted Intro Work more on Enrollment, EFCP RINASim Develop a new routing protocols Outro Outro with load-balancing features 4th International RINA Workshop in April 2016 hosted in Brno https://github.com/kvetak/ANSA Submit a new INET3.0 contributions EIGRP LISP VRRP TRILL and IS-IS 25 25
More recommend