CSE565: Computer Security Lecture 22 IP Basics

Slides:



Advertisements
Similar presentations
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Addressing the Network IPv4
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
Communicating over the Network
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction to TCP/IP
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
NETWORK LAYER IP Addressing 1. ANNOUNCEMENT: Rescheduled  NO PRACTICAL SESSIONS ON TUESDAY 22, November 2010  Rescheduled sessions: MONDAY: November.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
1 26-Aug-15 S Ward Abingdon and Witney College CCNA Exploration Semester 1 Addressing the network IPv4 CCNA Exploration Semester 1 Chapter 6.
4: Addressing Working At A Small-to-Medium Business or ISP.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Planning the Addressing Structure Working at a Small-to-Medium Business or ISP – Chapter.
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Communication Between Networks How the Internet Got Its Name.
Chapter 18 IP: Internet Protocol Addresses
Lesson 5—Networking BASICS1 Networking BASICS Protocols and Network Software Unit 2 Lesson 5.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 1 FdSc Computing Technologies Wide Area Networks and Security IPv4, CIDR, VLSM Last update.
CSCI 465 D ata Communications and Networks Lecture 24 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
11/12/15UB Fall 2015 CSE565: S. Upadhyaya Lec 22.1 CSE565: Computer Security Lecture 22 IP Basics Shambhu Upadhyaya Computer Science & Eng. University.
Net 221D:Computer Networks Fundamentals
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Shambhu J Upadhyaya 1 Shambhu Upadhyaya Computer Science & Eng. University at Buffalo Buffalo, New York COMMUNICATION PROTOCOLS.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 3 Networking with Windows Server 2008.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Goodbye IPv4…. Why the change? IPv4 – 1980’sIPv6 – 2000’s.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
Planning the Addressing Structure
LESSON Networking Fundamentals Understand IPv4.
4.3 Network Layer Logical Addressing
Distributed Systems.
Internet technologies
Computer Networks with Internet Technology William Stallings
Chapter 6: Network Layer
CSE565: Computer Security Lecture 23 IP Security
LESSON 3.3_A Networking Fundamentals Understand IPv6 Part 1.
NT1210 Introduction to Networking
Lec 5 Layers Computer Networks Al-Mustansiryah University
Chapter 9 Objectives Understand TCP/IP Protocol.
Net 431: ADVANCED COMPUTER NETWORKS
Protocols and the TCP/IP Suite
Chapter 5 Working with IP Addresses
IPv4 Addresses.
Internet Protocol INTERNET PROTOCOL.
Data Communications and Networking
TCP/IP Protocol Suite: Review
Internet Addressing Today’s topics: What are Internet addresses?
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Planning the Addressing Structure
TCP/IP Protocol Suite: Review
Lecture#5 :IPV6 Adressing
Planning the Addressing Structure
Charles Warren and Ben Kangas
CSE 313 Data Communication
Protocols and the TCP/IP Suite
IP Addressing.
OSI Network Layer Presented By Dr. Waleed Alseat Mutah University.
Presentation transcript:

CSE565: Computer Security Lecture 22 IP Basics Shambhu Upadhyaya Computer Science & Eng. University at Buffalo Buffalo, New York 14260 11/09/17 UB Fall 2017

Outline IP (November 09, 2017) IP Security architecture (November 14, 2017) Authentication Header Key Management IPv6 adoption is slower than expected. One estimate states that fewer than 10% of IP addresses are remaining. So, migration to IPv6 is inevitable. Today (2011), Verizon, HSBC, Amazon, Akamai, etc. are taking the lead. 11/09/17 UB Fall 2017

The Role of IP IP provides functionality to interconnected devices across multiple networks IP is implemented in each end system and routers The routers along the way must cope up with: Addressing schemes (IEEE 802 vs. X.25) Maximum packet sizes (fragmentation) Interfaces (hardware/software) Reliability (should be independent of it) x.25 is wide area network packet switching network (WAN) 11/09/17 UB Fall 2017

Some Issues of IP Data at higher level are encapsulated in a PDU (protocol data unit) PDU is passed through one or more networks and connected routers and to the end system IP header must contain all the necessary addresses No reliability assurance Intermediate subnets need not be concerned about reliability requirements TCP takes care of reliability 11/09/17 UB Fall 2017

Configuration of TCP/IP Figure: Configuration for TCP/IP Example 11/09/17 UB Fall 2017

Operation of Routers IP is implemented in all end systems and routers End systems must have compatible protocols above IP Routers need only have up through IP 11/09/17 UB Fall 2017

Operation, Contd. Block of data from X to Y PDU is created and IP layer attaches a header (global Internet address of Y) Since Y is on another network, the packet needs to be sent to router 1 in the form of an LLC PDU Upon receiving, MAC layer constructs a MAC packet and sticks in the address of router 1 After examination, router 1 routes packets to router 2 (wrapping in another format if necessary) Router 2 strips off header to determine that the IP packet is destined to Y Router 2 creates a packet with destination address of Y and sends it onto the LAN Y removes all headers and forwards data to upper 11/09/17 UB Fall 2017

Router, Switch and Hub Router is like a computer - acts as gateway Joins together multiple LANs to a WAN Works at layer 3 of OSI Switch is less sophisticated Must designate a computer as a gateway Works at layer 2 of OSI Connects devices to form a LAN Hub is used to connect segments of LAN Works at layer 1 of OSI It is like a splitter 11/09/17 UB Fall 2017

IPv4 20 bytes or 160 bits (minimum) 32 bit address (4.3 billion IP addresses) Study shows that available address space would not last long In April 2014, North American Registry for Internet Numbers (ARIN), announced it had reached "phase 4" of its IPv4 countdown plan, with fewer than 17 million IPv4 addresses remaining IPv4 has 4 parts. IP address has network address and host address. Host address is divided into subnet and host number. 11/09/17 UB Fall 2017

The Grim Story of IPv4 ARIN had < 17M addresses left in 2014 ARIN has tightened the address supply and now has run out of it In Sept. 2015, it declared exhaustion APNIC (Asia-Pacific registry) reached the 17M threshold five years ago RIPE NCC (Europe) reached its threshold less than four years ago Latin America and Caribbean directories in similar status AfriNIC in Africa is continuing to supply IPv4 addresses American Registry for Internet Numbers (ARIN) 11/09/17 UB Fall 2017

How Did We Get Here In the 80’s protocols used 16 bit addresses The Internet growth was not predicted well Making the addresses a meager 32 bits was a big failure of imagination It took only a decade before IP address numbering ran into trouble Initially a class system – A,B,C to handle networks and hosts This was later abolished, which improved situation a bit IPv4 has 4 parts. IP address has network address and host address. Host address is divided into subnet and host number. 11/09/17 UB Fall 2017

Use of IP Address Space 11/09/17 UB Fall 2017 Courtesy: Iljitsch van Beijnum - With the Americas running out of IPv4, it’s official: The Internet is full, arstechnica.com, June 2014 11/09/17 UB Fall 2017

Classless Regime Deployment of new IP address space slowed down to a much more sustainable pace as the Internet boomed in late 90’s Around 2000 More and more broadband always-on connections Few years later Millions of smartphones continuously connected Day was saved by NAT adoption 11/09/17 UB Fall 2017

NAT Details These days people use more than one PC ISPs provide more IP addresses for a fee Cheaper solution is to share a single add. With NAT, you get IP addresses from 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16 address ranges set aside for private use A home router that implements NAT then translates between the internal address and the regular, public address given out by the ISP 11/09/17 UB Fall 2017

The Stanford vs. China Story More than a decade ago, Stanford held more IPv4 addresses than the entire China However, by 2006, organizations in China held a total of 98M IP addresses As of 2 years ago, China had given out a total of 330M addresses China is the second largest holder of IPv4 addresses, behind the US with 1.591 billion China: 1 address for 4, US: 1 user 5 addresses If each user in the world deserves one, we have a problem! 11/09/17 UB Fall 2017

IP Addresses Held By Country 2014 11/09/17 UB Fall 2017

So, What Now? IPv6 is the solution Read the article: “With the Americas running out of IPv4, it’s official: The Internet is full” by Iljitsch van Beijnum at arstechnica.com (http://arstechnica.com/information-technology/2014/06/with-the-americas-running-out-of-ipv4-its-official-the-internet-is-full/) Also read: http://arstechnica.com/information-technology/2015/07/us-exhausts-new-ipv4-addresses-waitlist-begins/ 11/09/17 UB Fall 2017

IPv6 Fixed length of 40 octets 128 bit addresses ( 5x1028 addresses for each of the 7 billion people) U.S. government specified network backbones at federal agencies must deploy IPv6 by 2008 – the adoption is slow due to lack of client base Major backbone networks – Amazon, Comcast, HSBC, Akamai, Verizon, etc. have deployed IPv6 Microsoft Vista, Windows 7, etc. have support for IPv6 and are enabled by default 11/09/17 UB Fall 2017

Summary IPv4 has already run out of address space IPv6 initiative started in 1995 but adoption is slow, will become main stream soon https://www.akamai.com/uk/en/about/our-thinking/state-of-the-internet-report/state-of-the-internet-ipv6-adoption-visualization.jsp http://www.buffalo.edu/ubit/news/topics/working-at-ub.host.html/content/shared/www/ubit/news/2016/ipv6.detail.html Products such as Microsoft OS have support for IPv6 and are enabled by default IPv6 has no backward compatibility since headers are significantly different You need to run dual stacks to serve both types of networks 11/09/17 UB Fall 2017