TCP/IP Protocol Suite and Internetworking

Total Page:16

File Type:pdf, Size:1020Kb

TCP/IP Protocol Suite and Internetworking TCP/IPTCP/IP ProtocolProtocol SuiteSuite andand InternetworkingInternetworking Raj Jain Professor of CIS The Ohio State University Columbus, OH 43210 [email protected] http://www.cse.ohio-state.edu/~jain/cis677-98 The Ohio State University Raj Jain 1 OverviewOverview T Key Philosophical Differences from OSI T Layering vs Hierarchy T Protocol architecture and interfaces T Internetworking terms and services T Internet Protocol (IP): Services, Header, Address format The Ohio State University Raj Jain 2 KeyKey DifferencesDifferences FromFrom OSIOSI T Connectionless Service: TCP/IP is pro-connectionless T Simple Management T Hierarchy vs layering T Internetworking: Not in original OSI The Ohio State University Raj Jain 3 LayeringLayering TP4 Same CONS CLNS Interfaces 802.3 802.5 LLC 1 LLC 2 Physical T Each layer has to perform a set of functions T All alternatives for a row have the same interfaces T Choice at each layer is independent of other layers. T Need one component of each layer ⇒ Null components T Nth layer control info is passed as N-1th layer data. The Ohio State University Raj Jain 4 HierarchyHierarchy T Can directly use the services of a lower entity even if it is not in an adjacent layer T Control and data can be separate connections. Control connections may have different reliability requirements than data. T Lower layer control information can be used for higher layer control, e.g., lower layer close may close all higher layers The Ohio State University Raj Jain 5 TCP/IPTCP/IP ProtocolsProtocols T Network access layer: Ethernet, Token Ring T Internet layer: IP T Host-host layer: TCP, UDP T Process/application layer: FTP, Telnet, Mail (SMTP) MIME BGP FTP HTTP SMTP TELNET SNMP TCP UDP ICMP IP The Ohio State University Fig 15.12 Raj Jain 6 InternetworkingInternetworking TermsTerms T End-system: Host T Network: Provides data transfer between end-systems T Internet: A collection of networks T Subnetwork: Each component of an internet T Intermediate System: Connects two subnetworks T Port: Application processes in the host FTP Telnet SMTP FTP Telnet SMTP Host A Host B Subnet Intermediate Subnet 1 System 2 The Ohio State University Raj Jain 7 PDU’sPDU’s inin TCP/IPTCP/IP User Data Segment TCP Header Datagram IP Header Frame Datalink Header T TCP PDU = Segment T IP PDU = Datagram T Datalink PDU = Frame The Ohio State University Raj Jain 8 OperationOperation ofof TCP/IPTCP/IP T Process address within a host = Port T Host address on a network T IP deals only with host addresses = Subnet + Host # T Application messages are broken into TCP segments T TCP P Uses segment sequence number for ordering and lost segment detection P Uses checksum for error detection P Passes the segment to IP for transmission P Delivers the data to appropriate port in the destination host The Ohio State University Raj Jain 9 TCP/IPTCP/IP ApplicationsApplications T Simple Mail Transfer Protocol (SMTP): P Mail transfer between hosts P Mailing lists, mail forwarding, return receipts P Does not specify how to create messages T File transfer protocols (FTP): P Transfers files between hosts P Provides access control (user name and password) P Binary or text files are supported. T Remote login (Telnet): P Initially designed for simple scroll-mode terminals The Ohio State University Raj Jain 10 InternetInternet ProtocolProtocol (IP)(IP) T IP deals with only with host addresses T Services: P Send: User to IP P Deliver: IP to User P Error (optional): IP to User The Ohio State University Raj Jain 11 IPIP HeaderHeader 4b 4b 8b 16b Ver IHL ToS Total Length Id Flags Fragment Offset TTL Protocol Header Checksum Source Address 20B Destination Address Options + Padding 3b Fig 16.7 The Ohio State University Raj Jain 12 IPIP HeaderHeader (Cont)(Cont) T Version (4 bits) T Internet header length (4 bits): in 32-bit words. Min header is 5 words or 20 bytes. T Type of service (8 bits): Reliability, precedence, delay, and throughput T Total length (16 bits): header+data in bytes T Identifier (16 bits): Helps uniquely identify the datagram during its life for a given source, destination address The Ohio State University Raj Jain 13 IPIP HeaderHeader (Cont)(Cont) T Flags (3 bits): P More flag - used for fragmentation P No-fragmentation P Reserved T Fragment offset (13 bits): In units of 8 bytes T Time to live (8 bits): Specified in router hops T Protocol (8 bits): Next level protocol to receive the data T Header checksum (16 bits): 1’s complement sum of all 16-bit words in the header The Ohio State University Raj Jain 14 IPIP HeaderHeader (Cont)(Cont) T Source Address (32 bits) T Destination Address (32 bits) T Options (variable): Security, source route, record route, stream id (used for voice) for reserved resources, timestamp recording T Padding (variable): Makes header length a multiple of 4 T Data (variable): Data + header < 65,535 bytes The Ohio State University Raj Jain 15 IPIP AddressAddress T Class A: 0 Network Local 17 24 bits q Class B: 10 Network Local 214 16 bits q Class C: 110 Network Local 321 8 bits q Class D: 1110 Host Group (Multicast) 428 bits q Local = Subnet + Host (Variable length) Router Router The Ohio State University Subnet Raj Jain 16 AddressAddress ResolutionResolution ProtocolProtocol R E T Problem: Given an IP address find the MAC address T Solution: Address resolution protocol T The host broadcasts a request: “What is the MAC address of 127.123.115.08?” T The host whose IP address is 127.123.115.08 replies back: “The MAC address for 127.123.115.08 is 8A-5F-3C-23-45-5616” T A router may act as a proxy for many IP addresses The Ohio State University Raj Jain 17 InternetInternet ControlControl MessageMessage ProtocolProtocol (ICMP)(ICMP) T Required companion to IP. Provides feedback from the network. P Destination unreachable P Echo reply P Time exceeded P Timestamp P Parameter problem P Timestamp reply P Source quench P Information Request P Redirect P Information reply P Echo The Ohio State University Raj Jain 18 AutonomousAutonomous SystemsSystems T An internet connected by homogeneous routers under the administrative control of a single entity Subnet 1.2 Subnet 1.2 R3 R2 R6 Interior Subnet 1.2 R5 Subnet 1.2 Subnet 1.2 R7 R8 R4 R1 Subnet 1.2 Exterior Subnet 1.2 Subnet 1.2 The Ohio State University Fig 16.10 Raj Jain 19 OtherOther NetworkingNetworking ProtocolsProtocols T Interior Router Protocol (IRP): Used for passing routing information among routers internal to an autonomous system T Exterior Router Protocol (ERP): Used for passing routing information among routers between autonomous systems T Routing Information Protocol (RIP): First generation ARPAnet IRP protocol. Entire routing table sent to neighbors. ⇒ Distance vector routing. The Ohio State University Raj Jain 20 NetworkingNetworking ProtocolsProtocols (Cont)(Cont) T Open Shortest Path First (OSPF): Interior routing protocol. Provides least-cost path routes using a fully user configurable routing metric (any fn of delay, data rate, dollar cost, etc.) Link costs flooded (Link-state routing) T Exterior Gateway Protocol (EGP): Periodic hellos and responses with cost to other networks The Ohio State University Raj Jain 21 SummarySummary T TCP/IP’s hierarchy vs OSI’s layering T Processes, hosts, networks, ports, subnetwork T IP: Address, header T ARP, ICMP, EGP, OSPF The Ohio State University Raj Jain 22 HomeworkHomework T Read Sections 15.3 and 16.3 in Stallings’ book T Submit answers to Exercise 16.7, 16.8 The Ohio State University Raj Jain 23.
Recommended publications
  • Lecture 10: Switching & Internetworking
    Lecture 10: Switching & Internetworking CSE 123: Computer Networks Alex C. Snoeren HW 2 due WEDNESDAY Lecture 10 Overview ● Bridging & switching ◆ Spanning Tree ● Internet Protocol ◆ Service model ◆ Packet format CSE 123 – Lecture 10: Internetworking 2 Selective Forwarding ● Only rebroadcast a frame to the LAN where its destination resides ◆ If A sends packet to X, then bridge must forward frame ◆ If A sends packet to B, then bridge shouldn’t LAN 1 LAN 2 A W B X bridge C Y D Z CSE 123 – Lecture 9: Bridging & Switching 3 Forwarding Tables ● Need to know “destination” of frame ◆ Destination address in frame header (48bit in Ethernet) ● Need know which destinations are on which LANs ◆ One approach: statically configured by hand » Table, mapping address to output port (i.e. LAN) ◆ But we’d prefer something automatic and dynamic… ● Simple algorithm: Receive frame f on port q Lookup f.dest for output port /* know where to send it? */ If f.dest found then if output port is q then drop /* already delivered */ else forward f on output port; else flood f; /* forward on all ports but the one where frame arrived*/ CSE 123 – Lecture 9: Bridging & Switching 4 Learning Bridges ● Eliminate manual configuration by learning which addresses are on which LANs Host Port A 1 ● Basic approach B 1 ◆ If a frame arrives on a port, then associate its source C 1 address with that port D 1 ◆ As each host transmits, the table becomes accurate W 2 X 2 ● What if a node moves? Table aging Y 3 ◆ Associate a timestamp with each table entry Z 2 ◆ Refresh timestamp for each
    [Show full text]
  • Networking: Network Layer
    CS 4410 Operating Systems Networking: Network Layer Summer 2013 Cornell University 1 Today ● How packages are exchanged in a WAN? ● Network Layer ● IP ● Naming ● Subnetwork ● Forwarding ● Routing Algorithms 2 Protocol Stack Computer A Computer B Message M Application Application Segment Ht M Transport Transport Datagram Hn Ht M Network Network Frame Hl Hn Ht M Link Link Physical Physical 3 WAN ● Usually, thousands of computers need to be interconnected. ● The capabilities that LANs offer cannot support larger networks. ● We need more services than the Link Layer offers. ● Why? ● Clever Naming ● Efficient forwarding/routing of messages. 4 Network Layer ● Mission: Transfer messages from the source-computer to the destination- computer. ● Attention: this is different from the mission of the Link Layer. ● Services: ● Forwarding / Routing ● Guaranteed delivery, bandwidth, etc ● Security ● Not all the protocols support these services. ● The Network Layer protocol depends on the kind of network we want to built: ● Virtual-circuit networks ● Datagram networks ● Necessary network device: ● Router: It knows where to forward the message. 5 Network Layer ● Virtual-circuit networks ● 3 phases ● Establish a virtual circuit. – The Network Layer finds the path from the source to the destination. – Reserve resources for the virtual circuit. ● Transfer data – Packets pass through the virtual circuit. ● Destroy virtual circuit. – Release resources. ● Disadvantages? ● Datagram networks ● Every packet has the destination address and it is routed independently in the network. ● The router uses the destination address to forward the packet towards 6 the destination-computer. IP ● Network Layer Protocol for the Internet: ● Internet Protocol ● For Datagram networks. ● IPv4, IPv6 ● Datagram structure: Version Header Type of Length Length service Identification Flags Fragment Offset Time to live Protocol Header Checksum Source IP Address (32-bit) Destination IP Address Options Data 7 Naming ● All the computers in the Internet have one or more IP addresses.
    [Show full text]
  • Wifi Direct Internetworking
    WiFi Direct Internetworking António Teólo∗† Hervé Paulino João M. Lourenço ADEETC, Instituto Superior de NOVA LINCS, DI, NOVA LINCS, DI, Engenharia de Lisboa, Faculdade de Ciências e Tecnologia, Faculdade de Ciências e Tecnologia, Instituto Politécnico de Lisboa Universidade NOVA de Lisboa Universidade NOVA de Lisboa Portugal Portugal Portugal [email protected] [email protected] [email protected] ABSTRACT will enable WiFi communication range and speed even in cases of: We propose to interconnect mobile devices using WiFi-Direct. Hav- network infrastructure congestion, which may happen in highly ing that, it will be possible to interconnect multiple o-the-shelf crowded venues (such as sports and cultural events); or temporary, mobile devices, via WiFi, but without any supportive infrastructure. or permanent, absence of infrastructure, as may happen in remote This will pave the way for mobile autonomous collaborative sys- locations or disaster situations. tems that can operate in any conditions, like in disaster situations, WFD allows devices to form groups, with one of them, called in very crowded scenarios or in isolated areas. This work is relevant Group Owner (GO), acting as a soft access point for remaining since the WiFi-Direct specication, that works on groups of devices, group members. WFD oers node discovery, authentication, group does not tackle inter-group communication and existing research formation and message routing between nodes in the same group. solutions have strong limitations. However, WFD communication is very constrained, current imple- We have a two phase work plan. Our rst goal is to achieve mentations restrict group size 9 devices and none of these devices inter-group communication, i.e., enable the ecient interconnec- may be a member of more than one WFD group.
    [Show full text]
  • The Internet in Iot—OSI, TCP/IP, Ipv4, Ipv6 and Internet Routing
    Chapter 2 The Internet in IoT—OSI, TCP/IP, IPv4, IPv6 and Internet Routing Reliable and efficient communication is considered one of the most complex tasks in large-scale networks. Nearly all data networks in use today are based on the Open Systems Interconnection (OSI) standard. The OSI model was introduced by the International Organization for Standardization (ISO), in 1984, to address this composite problem. ISO is a global federation of national standards organizations representing over 100 countries. The model is intended to describe and standardize the main communication functions of any telecommunication or computing system without regard to their underlying internal structure and technology. Its goal is the interoperability of diverse communication systems with standard protocols. The OSI is a conceptual model of how various components communicate in data-based networks. It uses “divide and conquer” concept to virtually break down network communication responsibilities into smaller functions, called layers, so they are easier to learn and develop. With well-defined standard interfaces between layers, OSI model supports modular engineering and multivendor interoperability. 2.1 The Open Systems Interconnection Model The OSI model consists of seven layers as shown in Fig. 2.1: physical (Layer 1), data link (Layer 2), network (Layer 3), transport (Layer 4), session (Layer 5), presentation (Layer 6), and application (Layer 7). Each layer provides some well-defined services to the adjacent layer further up or down the stack, although the distinction can become a bit less defined in Layers 6 and 7 with some services overlapping the two layers. • OSI Layer 7—Application Layer: Starting from the top, the application layer is an abstraction layer that specifies the shared protocols and interface methods used by hosts in a communications network.
    [Show full text]
  • Internet Routing Over Large Public Data Networks Using Shortcuts
    Internet Routing over Large Public Data Networks using Shortcuts Paul F, Tsuchiya, Bellcore, [email protected] When a system (a router or host) needs to send an internet packet, it must determine the destination subnetwork Abstract address to send the packet to. (IP systems traditionally do this as a two-step process. First the 1P address of the With the emergence of large switched public data networks receiving system is determined. Then the subnetwork that are well-suited to connectionless internets, for instance address associated with the 1P address is derived.) On SMDS, it is possible that larger and larger numbers of broadcast LANs this has proven to be relatively simple. internet users will get their connectivity from large public This is because 1) broadcast LANs have a small number of data networks whose native protocols are not the same as attached systems (hundreds), and 2) broadcast LANs have the user’s internet protocol. This results in a routing an inexpensive multicast, thus making “searching” for problem that has not yet been addressed. That is, large systems on a LAN inexpensive and easy. numbers of routers (potentially tens of thousands) must be able to find direct routes to each other in a robust and On very large general topology subnetworks (called here efficient way. This paper describes a solution to the public data networks, or PDNs2), however, determining problem, called shortcut routing, that incorporates 1) a “next hop” subnetwork (or PDN) addresses is not sparse graph of logical connectivity between routers, 2) necessarily simple. There may be (eventually) tens of hierarchical addressing among the public data network thousands of systems attached to a PDN, making it subscribers, and 3) the use of “entry router” information in inefficient to distribute up-to-date information about all packets to allow routers to find one hop “shortcuts” across systems to all systems.
    [Show full text]
  • 2-Atn-Bgp-Pdf
    A Simple BGP-Based Routing Service for the Aeronautical Telecommunications Network (with AERO and OMNI) IETF 111 rtgwg session (July 28, 2021) Fred L. Templin (The Boeing Company) [email protected] [email protected] 1 Document Status • “A Simple BGP-based Mobile Routing System for the Aeronautical Telecommunications Network” • BGP-based “spanning tree” configured over one or more Internetworking “segments” based on Non-Broadcast, Multiple Access (NBMA) interface model and IPv6 Unique Local Address (ULA) prefixes • ASBRs of each segment in a “hub-and-spokes” arrangement, with peering between adjacent segment hubs • IETF rtgwg working group item since August 30, 2018 - coordinated with International Civil Aviation Organization (ICAO) Aeronautical Telecommunications Network (ATN) • https://datatracker.ietf.org/doc/draft-ietf-rtgwg-atn-bgp/ • Work ready for IETF rtgwg WGLC • “Automatic Extended Route Optimization (AERO)” • Route optimization extensions that establish “shortcuts” to avoid strict spanning tree paths • Mobility/multilink/multinet/multihop support based on agile “hub-and-spokes” ClientProxy/Server model • https://datatracker.ietf.org/doc/draft-templin-6man-aero/ • Work ready for IETF adoption • “Transmission of IP Packets over Overlay Multilink Network (OMNI) Interfaces” • Single NBMA network interface exposed to the IP layer with fixed 9KB MTU, but configured as an overlay over multiple underlying (physical or virtual) interfaces with heterogeneous MTUs • OMNI Adaptation Layer (OAL) – minimal mid-layer encapsulation that
    [Show full text]
  • Lecture: TCP/IP 2
    TCP/IP- Lecture 2 [email protected] How TCP/IP Works • The four-layer model is a common model for describing TCP/IP networking, but it isn’t the only model. • The ARPAnet model, for instance, as described in RFC 871, describes three layers: the Network Interface layer, the Host-to- Host layer, and the Process-Level/Applications layer. • Other descriptions of TCP/IP call for a five-layer model, with Physical and Data Link layers in place of the Network Access layer (to match OSI). Still other models might exclude either the Network Access or the Application layer, which are less uniform and harder to define than the intermediate layers. • The names of the layers also vary. The ARPAnet layer names still appear in some discussions of TCP/IP, and the Internet layer is sometimes called the Internetwork layer or the Network layer. [email protected] 2 [email protected] 3 TCP/IP Model • Network Access layer: Provides an interface with the physical network. Formats the data for the transmission medium and addresses data for the subnet based on physical hardware addresses. Provides error control for data delivered on the physical network. • Internet layer: Provides logical, hardware-independent addressing so that data can pass among subnets with different physical architectures. Provides routing to reduce traffic and support delivery across the internetwork. (The term internetwork refers to an interconnected, greater network of local area networks (LANs), such as what you find in a large company or on the Internet.) Relates physical addresses (used at the Network Access layer) to logical addresses.
    [Show full text]
  • Ipv6 Addresses
    56982_CH04II 12/12/97 3:34 PM Page 57 CHAPTER 44 IPv6 Addresses As we already saw in Chapter 1 (Section 1.2.1), the main innovation of IPv6 addresses lies in their size: 128 bits! With 128 bits, 2128 addresses are available, which is ap- proximately 1038 addresses or, more exactly, 340.282.366.920.938.463.463.374.607.431.768.211.456 addresses1. If we estimate that the earth’s surface is 511.263.971.197.990 square meters, the result is that 655.570.793.348.866.943.898.599 IPv6 addresses will be available for each square meter of earth’s surface—a number that would be sufficient considering future colo- nization of other celestial bodies! On this subject, we suggest that people seeking good hu- mor read RFC 1607, “A View From The 21st Century,” 2 which presents a “retrospective” analysis written between 2020 and 2023 on choices made by the IPv6 protocol de- signers. 56982_CH04II 12/12/97 3:34 PM Page 58 58 Chapter Four 4.1 The Addressing Space IPv6 designers decided to subdivide the IPv6 addressing space on the ba- sis of the value assumed by leading bits in the address; the variable-length field comprising these leading bits is called the Format Prefix (FP)3. The allocation scheme adopted is shown in Table 4-1. Table 4-1 Allocation Prefix (binary) Fraction of Address Space Allocation of the Reserved 0000 0000 1/256 IPv6 addressing space Unassigned 0000 0001 1/256 Reserved for NSAP 0000 001 1/128 addresses Reserved for IPX 0000 010 1/128 addresses Unassigned 0000 011 1/128 Unassigned 0000 1 1/32 Unassigned 0001 1/16 Aggregatable global 001
    [Show full text]
  • Chapter5(Ipv4 Address)
    Chapter 5 IPv4 Address Kyung Hee University 1 5.1 Introduction Identifier of each device connected to the Internet : IP Address IPv4 Address : 32 bits The address space of IPv4 is 232 or 4,294,967,296 The IPv4 addresses are unique and universal Two devices on the Internet can never have the same address at same time Number in base 2, 16, and 256 Refer to Appendix B Kyung Hee University 2 Binary Notation and Dotted-Decimal Notation Binary notation 01110101 10010101 00011101 11101010 32 bit address, or a 4 octet address or a 4-byte address Decimal point notation Kyung Hee University 3 Notation (cont’d) Hexadecimal Notation 0111 0101 1001 0101 0001 1101 1110 1010 75 95 1D EA 0x75951DEA - 8 hexadecimal digits - Used in network programming Kyung Hee University 4 Example 5.1 Change the following IPv4 addresses from binary notation to dotted-decimal notation a. 10000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111 c. 11100111 11011011 10001011 01101111 d. 11111001 10011011 11111011 00001111 Solution We replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation. a. 129.11.11.239 b. 193.131.27.255 c. 231.219.139.111 d. 249.155.251.15 Kyung Hee University 5 Example 5.4 Change the following IPv4 address in hexadecimal notation. a. 10000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111 Solution We replace each group of 4 bits with its hexadecimal equivalent. Note that hexadecimal notation normally has no added spaces or dots; however, 0x is added at the beginning of the subscript 16 at the end a.
    [Show full text]
  • Lesson-13: INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS
    DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK– Lesson-13: INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 1 Raj Kamal, Publs.: McGraw-Hill Education Internet enabled embedded system Communication to other system on the Internet. Use html (hyper text markup language) or MIME (Multipurpose Internet Mail Extension) type files Use TCP (transport control protocol) or UDP (user datagram protocol) as transport layer protocol Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 2 Raj Kamal, Publs.: McGraw-Hill Education Internet enabled embedded system Addressed by an IP address Use IP (internet protocol) at network layer protocol Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 3 Raj Kamal, Publs.: McGraw-Hill Education MIME Format to enable attachment of multiple types of files txt (text file) doc (MSOFFICE Word document file) gif (graphic image format file) jpg (jpg format image file) wav format voice or music file Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 4 Raj Kamal, Publs.: McGraw-Hill Education A system at one IP address Communication with other system at another IP address using the physical connections on the Internet and routers Since Internet is global network, the system connects to remotely as well as short range located system. Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 5 Raj Kamal, Publs.: McGraw-Hill Education
    [Show full text]
  • Securing Internet of Things with Lightweight Ipsec
    CORE Metadata, citation and similar papers at core.ac.uk Provided by Swedish Institute of Computer Science Publications Database SICS Technical Report T2010:08 ISSN:1100-3154 Securing Internet of Things with Lightweight IPsec Shahid Raza1, Tony Chung2, Simon Duquennoy1, Dogan Yazar1, Thiemo Voigt1, Utz Roedig2 1Swedish Institute of Computer Science, Kista, Sweden fshahid, simonduq, dogan, [email protected] 2Lancaster University Computing Department, Lancaster, UK fa.chung, [email protected] February 7, 2011 Abstract Real-world deployments of wireless sensor networks (WSNs) require secure communication. It is important that a receiver is able to verify that sensor data was generated by trusted nodes. In some cases it may also be necessary to encrypt sensor data in transit. Recently, WSNs and traditional IP networks are more tightly integrated using IPv6 and 6LoWPAN. Available IPv6 protocol stacks can use IPsec to secure data exchange. Thus, it is desirable to extend 6LoWPAN such that IPsec communication with IPv6 nodes is possible. It is beneficial to use IPsec because the existing end-points on the Internet do not need to be modified to communicate securely with the WSN. Moreover, using IPsec, true end-to-end security is implemented and the need for a trustworthy gateway is removed. In this paper we provide End-to-End (E2E) secure communication between an IP enabled sensor nodes and a device on traditional Internet. This is the first compressed lightweight design, implementation, and evaluation of 6LoW- PAN extension for IPsec on Contiki. Our extension supports both IPsec's Au- thentication Header (AH) and Encapsulation Security Payload (ESP).
    [Show full text]
  • Introduction to IP Multicast Routing
    Introduction to IP Multicast Routing by Chuck Semeria and Tom Maufer Abstract The first part of this paper describes the benefits of multicasting, the Multicast Backbone (MBONE), Class D addressing, and the operation of the Internet Group Management Protocol (IGMP). The second section explores a number of different algorithms that may potentially be employed by multicast routing protocols: - Flooding - Spanning Trees - Reverse Path Broadcasting (RPB) - Truncated Reverse Path Broadcasting (TRPB) - Reverse Path Multicasting (RPM) - Core-Based Trees The third part contains the main body of the paper. It describes how the previous algorithms are implemented in multicast routing protocols available today. - Distance Vector Multicast Routing Protocol (DVMRP) - Multicast OSPF (MOSPF) - Protocol-Independent Multicast (PIM) Introduction There are three fundamental types of IPv4 addresses: unicast, broadcast, and multicast. A unicast address is designed to transmit a packet to a single destination. A broadcast address is used to send a datagram to an entire subnetwork. A multicast address is designed to enable the delivery of datagrams to a set of hosts that have been configured as members of a multicast group in various scattered subnetworks. Multicasting is not connection oriented. A multicast datagram is delivered to destination group members with the same “best-effort” reliability as a standard unicast IP datagram. This means that a multicast datagram is not guaranteed to reach all members of the group, or arrive in the same order relative to the transmission of other packets. The only difference between a multicast IP packet and a unicast IP packet is the presence of a “group address” in the Destination Address field of the IP header.
    [Show full text]