Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław
|
|
- Thomas Morrison
- 8 years ago
- Views:
Transcription
1 Computer Networks Lecture 3: IP Protocol Marcin Bieńkowski Institute of Computer Science University of Wrocław Computer networks (II UWr) Lecture 3 1 / 24
2 In previous lectures We learned about layer 1 (physical) and layer 2 (data link) Layer 2: Allows sending frames between two directly connected computers. Connectionless, not reliable. Acknowledgements are optional in layer 2 (Ethernet does not have them). Direct connection = point-to-point link or same network connected by layer 1 devices (hubs) or layer 2 devices (switches). Computer networks (II UWr) Lecture 3 2 / 24
3 Outline 1 Network layer 2 Addressing CIDR Special addresses 3 Routing 4 Cooperation with layer 2 Computer networks (II UWr) Lecture 3 3 / 24
4 Network layer (1) Network layer Also connectionless and not reliable Gives the layer 4 the possibility of sending packet between ANY two computers. Requires a fixed common addressing in the whole network (IP in the Internet) Layer 4 does not care about number and type of intermediate routers. Computer networks (II UWr) Lecture 3 4 / 24
5 Network layer (2) Network layer Allows joining two different layer 2 networks. R Computer networks (II UWr) Lecture 3 5 / 24
6 IP addresses Addressing Each network card is assigned a unique 4-byte address. Computers from one network has addresses from a contiguous subset of addresses Networks are connected by routers. Notation: dot-separated decimal (e.g., ) Computer networks (II UWr) Lecture 3 6 / 24
7 CIDR (1) Addressing CIDR Classless InterDomain Routing Way of describing IP ranges sharing a common bit prefix We write IP/length, where IP is the first address from the range, and length is the length of the common prefix. Example We want to describe IP addresses whose binary representation starts with : First IP address from the range: = prefix length = 28 Description = /28 Computer networks (II UWr) Lecture 3 7 / 24
8 CIDR (2) Addressing CIDR CIDR used mostly for describing single networks /28 denotes all the addresses between and First address in the network is reserved (network address) Last address is also reserved: broadcast address. Remaining ones can be assigned to computers. Computer networks (II UWr) Lecture 3 8 / 24
9 Subnetting (1) Addressing CIDR CIDR allows creating hierarchies of networks and subnetworks Figure from Note: Top block /11 received directly from IANA. Note: /32 = range consisting of one IP address = single computer, not really a network. Computer networks (II UWr) Lecture 3 9 / 24
10 Subnetting (2) Addressing CIDR Range can be split into two ranges of equal sizes: Example /26 = / /27 = / / / /28 Is a broadcast address? It depends! It is in the networks /28 and /27 but not in /26! Computer networks (II UWr) Lecture 3 10 / 24
11 Subnetting (2) Addressing CIDR Range can be split into two ranges of equal sizes: Example /26 = / /27 = / / / /28 Is a broadcast address? It depends! It is in the networks /28 and /27 but not in /26! Computer networks (II UWr) Lecture 3 10 / 24
12 Subnetting (2) Addressing CIDR Range can be split into two ranges of equal sizes: Example /26 = / /27 = / / / /28 Is a broadcast address? It depends! It is in the networks /28 and /27 but not in /26! Computer networks (II UWr) Lecture 3 10 / 24
13 CIDR Notation Addressing CIDR We add /xx (called subnet mask) to all IP addresses. Example: /28: denotes whole network /28: the first computer in this network /28: the last computer in this network /28: broadcast address of this network Given an address and subnet mask, how to check whether it is network, broadcast or host address? Computer networks (II UWr) Lecture 3 11 / 24
14 CIDR Notation Addressing CIDR We add /xx (called subnet mask) to all IP addresses. Example: /28: denotes whole network /28: the first computer in this network /28: the last computer in this network /28: broadcast address of this network Given an address and subnet mask, how to check whether it is network, broadcast or host address? Computer networks (II UWr) Lecture 3 11 / 24
15 CIDR caveats Addressing CIDR Question: how many addresses in a CIDR network range with subnet mask /27 can be assigned to hosts? Answer: Similar answers for other subnet masks, but: /32: denotes a single host IP; /31: point to point connection, two host IPs, no network or broadcast address. Computer networks (II UWr) Lecture 3 12 / 24
16 CIDR caveats Addressing CIDR Question: how many addresses in a CIDR network range with subnet mask /27 can be assigned to hosts? Answer: Similar answers for other subnet masks, but: /32: denotes a single host IP; /31: point to point connection, two host IPs, no network or broadcast address. Computer networks (II UWr) Lecture 3 12 / 24
17 CIDR caveats Addressing CIDR Question: how many addresses in a CIDR network range with subnet mask /27 can be assigned to hosts? Answer: Similar answers for other subnet masks, but: /32: denotes a single host IP; /31: point to point connection, two host IPs, no network or broadcast address. Computer networks (II UWr) Lecture 3 12 / 24
18 Address classes Addressing CIDR If you assign address to a network card, it will be interpreted as /8. Why? Reason stems from pre-cidr IP classes If the first IP bit is 0, assume subnet mask /8 (A class network). Example: /8 If the first IP bits are 10, assume subnet mask /16 (B class network). Example: /16 If the first IP bits are 110, assume subnet mask /24 (B class network). Example: /24 Computer networks (II UWr) Lecture 3 13 / 24
19 Loopback Addressing Special addresses Network /8 Interface lo (loopback) By connecting with any computer from this network (usually with ), you connect with yourself. Application: it is possible to write, test and use network programs without the network. Computer networks (II UWr) Lecture 3 14 / 24
20 Private addresses Addressing Special addresses Reserved ranges of IP addresses Packet with such addresses should not be passed through routers. Can be used in local networks (same addresses in different networks). Ranges: /8 (one A class network); /12 (16 B class networks); /16 (256 C class networks). If computers with private IP addresses want to communicate with the outside world, the connecting router has to perform Network Address Translation (NAT). Computer networks (II UWr) Lecture 3 15 / 24
21 Private addresses Addressing Special addresses Reserved ranges of IP addresses Packet with such addresses should not be passed through routers. Can be used in local networks (same addresses in different networks). Ranges: /8 (one A class network); /12 (16 B class networks); /16 (256 C class networks). If computers with private IP addresses want to communicate with the outside world, the connecting router has to perform Network Address Translation (NAT). Computer networks (II UWr) Lecture 3 15 / 24
22 IP packet header Routing WWW Computer networks (II UWr) Lecture 3 16 / 24
23 Routing tables Routing Each router has a routing table consisting of entries like: If the destination address of the packet belongs to network S, send it through interface I to the next router (gateway) B Static routing = entries are entered by hand by the administrator. Computer networks (II UWr) Lecture 3 17 / 24
24 Routing Static routing example / / /9 The Internet Router with two network cards: eth0 = , eth1 = Entries: /24, through eth0, no gateway /8, through eth1, no gateway /9, through eth1, gateway = /8, through lo, no gateway /0, through eth0, gateway = Longest matching prefix rule. Computer networks (II UWr) Lecture 3 18 / 24
25 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Computer networks (II UWr) Lecture 3 19 / 24
26 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Example 1: entries /24, through eth1, gateway = /24, through eth1, gateway = /23, through eth1, gateway = can be replaced with: /22, through eth1, gateway = Computer networks (II UWr) Lecture 3 19 / 24
27 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Example 2: entries /24, through eth1, gateway = /24, through eth1, gateway = cannot be aggregated. Why? Computer networks (II UWr) Lecture 3 19 / 24
28 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Example 3: if all entries are: /8, through eth1, gateway = /24, through eth1, gateway = you may remove the second rule. Computer networks (II UWr) Lecture 3 19 / 24
29 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Example 4: but from entries /8, through eth1, gateway = /16, through eth0, gateway = /24, through eth1, gateway = you cannot remove anything. Computer networks (II UWr) Lecture 3 19 / 24
30 Entries aggregation Routing Many entries worse performance Entries aggregation If there are multiple entries with the same rule, you may aggregate them if they describe correct CIDR range. Also, sometimes some entries can be removed without changing the meaning of the routing table. Example 4: but from entries /8, through eth1, gateway = /16, through eth0, gateway = /24, through eth1, gateway = you cannot remove anything. Note: there are modern routers where you can write a rule as /16 EXCEPT /24... Computer networks (II UWr) Lecture 3 19 / 24
31 Cooperation with layer 2 Cooperation with layer 2 (1) Problem: Layer 2 does not understand IP addresses Solution: ARP (Address Resolution Protocol). Broadcasts queries of type: who has IP adress.... One node should reply with an answer I do. Computer networks (II UWr) Lecture 3 20 / 24
32 Cooperation with layer 2 Cooperation with layer 2 (2) Problem: What if we need MAC IP conversion? Protocols: RARP (Reverse ARP) Why should we care? Layer 2 should be independent of layer 3! Automatic assigning of IP addresses Crucial for diskless computers (know only their MAC address) BOOTP (RARP + possibility of downloading operating system image) DHCP (works also between local networks) Automatic configuration (APIPA = Automatic Private IP Addressing ( /16)) Computer networks (II UWr) Lecture 3 21 / 24
33 Cooperation with layer 2 Cooperation with layer 2 (2) Problem: What if we need MAC IP conversion? Protocols: RARP (Reverse ARP) Why should we care? Layer 2 should be independent of layer 3! Automatic assigning of IP addresses Crucial for diskless computers (know only their MAC address) BOOTP (RARP + possibility of downloading operating system image) DHCP (works also between local networks) Automatic configuration (APIPA = Automatic Private IP Addressing ( /16)) Computer networks (II UWr) Lecture 3 21 / 24
34 Cooperation with layer 2 Helper layer 3 protocol ICMP = Internet Control Message Protocol For testing of layer 3. Encapsulated in IP packets. Different types of messages, most popular are: Echo request Echo reply Destination unreachable (for some reason) Time exceeded (TTL = 0). Tools based on ICMP: ping and traceroute Computer networks (II UWr) Lecture 3 22 / 24
35 Cooperation with layer 2 MTU = Maximum Transmission Unit MTU is a property of the second layer For Ethernet: MTU = 1500 For wireless networks: MTU = 2304 R Router may divide packets into smaller parts (IP fragmentation) Router replaced by bridge faster, but cannot cope with different MTU! Computer networks (II UWr) Lecture 3 23 / 24
36 Cooperation with layer 2 MTU = Maximum Transmission Unit MTU is a property of the second layer For Ethernet: MTU = 1500 For wireless networks: MTU = 2304 R Router may divide packets into smaller parts (IP fragmentation) Router replaced by bridge faster, but cannot cope with different MTU! Computer networks (II UWr) Lecture 3 23 / 24
37 Cooperation with layer 2 MTU = Maximum Transmission Unit MTU is a property of the second layer For Ethernet: MTU = 1500 For wireless networks: MTU = 2304 R Router may divide packets into smaller parts (IP fragmentation) Router replaced by bridge faster, but cannot cope with different MTU! Computer networks (II UWr) Lecture 3 23 / 24
38 Cooperation with layer 2 IP fragmentation (cont.) Problem: Fragmenting is usually undesirable (performance loss, increases complexity) Solution: Set DF (don t fragment) bit in IP header if there is need of fragmentation, packet is dropped, and router sends back an ICMP message (destination unreachable, can t fragment). Sending computer can adjust packet size accordingly Iterate till packet gets through : technique called path MTU discovery. Computer networks (II UWr) Lecture 3 24 / 24
Lecture Computer Networks
Prof. Dr. H. P. Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau Sommersemester 2012 Institut für Organisation und Management von Informationssystemen Thomas Nau, kiz Lecture Computer Networks
More informationLecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)
Lecture 15 IP Address Each host and router on the Internet has an IP address, which consist of a combination of network number and host number. The combination is unique; no two machines have the same
More information8.2 The Internet Protocol
TCP/IP Protocol Suite HTTP SMTP DNS RTP Distributed applications Reliable stream service TCP UDP User datagram service Best-effort connectionless packet transfer Network Interface 1 IP Network Interface
More informationInternetworking and Internet-1. Global Addresses
Internetworking and Internet Global Addresses IP servcie model has two parts Datagram (connectionless) packet delivery model Global addressing scheme awaytoidentifyall H in the internetwork Properties
More informationTechnical Support Information Belkin internal use only
The fundamentals of TCP/IP networking TCP/IP (Transmission Control Protocol / Internet Protocols) is a set of networking protocols that is used for communication on the Internet and on many other networks.
More informationICS 351: Today's plan
ICS 351: Today's plan Quiz, on overall Internet function, linux and IOS commands, network monitoring, protocols IPv4 addresses: network part and host part address masks IP interface configuration IPv6
More informationIP Addressing Introductory material.
IP Addressing Introductory material. A module devoted to IP addresses. Addresses & Names Hardware (Layer 2) Lowest level Ethernet (MAC), Serial point-to-point,.. Network (Layer 3) IP IPX, SNA, others Transport
More informationLehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols
Auxiliary Protocols IP serves only for sending packets with well-known addresses. Some questions however remain open, which are handled by auxiliary protocols: Address Resolution Protocol (ARP) Reverse
More informationPART IV. Network Layer
PART IV Network Layer Position of network layer Network layer duties Internetworking : heterogeneous Physical Networks To look Like a single network to he upper layers The address at Network layer must
More information2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above
CCNA1 V3.0 Mod 10 (Ch 8) 1. How many bits are in an IP C. 64 2. What is the maximum value of each octet in an IP A. 28 55 C. 256 3. The network number plays what part in an IP A. It specifies the network
More informationCS 348: Computer Networks. - IP addressing; 21 st Aug 2012. Instructor: Sridhar Iyer IIT Bombay
CS 348: Computer Networks - IP addressing; 21 st Aug 2012 Instructor: Sridhar Iyer IIT Bombay Think-Pair-Share: IP addressing What is the need for IP addresses? Why not have only MAC addresses? Given that
More informationNetwork layer: Overview. Network layer functions IP Routing and forwarding
Network layer: Overview Network layer functions IP Routing and forwarding 1 Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every host, router application
More informationNetworking Test 4 Study Guide
Networking Test 4 Study Guide True/False Indicate whether the statement is true or false. 1. IPX/SPX is considered the protocol suite of the Internet, and it is the most widely used protocol suite in LANs.
More informationFuture Internet Technologies
Future Internet Technologies Traditional Internet Dr. Dennis Pfisterer Institut für Telematik, Universität zu Lübeck http://www.itm.uni-luebeck.de/people/pfisterer Internet Protocol v4 (IPv4) IPv4 Model
More informationUnix System Administration
Unix System Administration Chris Schenk Lecture 08 Tuesday Feb 13 CSCI 4113, Spring 2007 ARP Review Host A 128.138.202.50 00:0B:DB:A6:76:18 Host B 128.138.202.53 00:11:43:70:45:81 Switch Host C 128.138.202.71
More informationIP Addressing. IP Addresses. Introductory material.
IP Addressing Introductory material. An entire module devoted to IP addresses. IP Addresses Structure of an IP address Classful IP addresses Limitations and problems with classful IP addresses Subnetting
More information- IPv4 Addressing and Subnetting -
1 Hardware Addressing - IPv4 Addressing and Subnetting - A hardware address is used to uniquely identify a host within a local network. Hardware addressing is a function of the Data-Link layer of the OSI
More informationInternet Protocols Fall 2005. Lectures 7-8 Andreas Terzis
Internet Protocols Fall 2005 Lectures 7-8 Andreas Terzis Outline Internet Protocol Service Model Fragmentation Addressing Original addressing scheme Subnetting CIDR Forwarding ICMP ARP Address Shortage
More informationScaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1
Scaling the Network: Subnetting and Other Protocols Networking CS 3470, Section 1 Today CIDR Subnetting Private IP addresses ICMP, IMAP, and DHCP Protocols 2 Packet Encapsulation ** Creative Commons: http://en.wikipedia.org/wiki/file:udp_encapsulation.svg
More informationThe Internet/Network Layer
IP Addresses and Routing Tables Destination Gateway Genmask Flags MSS Window Irtt Iface 138.38.96.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo default 138.38.103.254 0.0.0.0
More informationIP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP
CSCE 515: Computer Network Programming TCP/IP IP Network Layer Wenyuan Xu Department of Computer Science and Engineering University of South Carolina IP Datagrams IP is the network layer packet delivery
More informationInternet Protocol Address
SFWR 4C03: Computer Networks & Computer Security Jan 17-21, 2005 Lecturer: Kartik Krishnan Lecture 7-9 Internet Protocol Address Addressing is a critical component of the internet abstraction. To give
More informationIP Subnetting and Addressing
Indian Institute of Technology Kharagpur IP Subnetting and Addressing Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 6: IP Subnetting and Addressing
More informationComputer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ
Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ 1 Lecture 7: Network Layer in the Internet Reference: Chapter 5 - Computer Networks, Andrew S. Tanenbaum, 4th Edition, Prentice Hall,
More informationLecture 8. IP Fundamentals
Lecture 8. Internet Network Layer: IP Fundamentals Outline Layer 3 functionalities Internet Protocol (IP) characteristics IP packet (first look) IP addresses Routing tables: how to use ARP Layer 3 functionalities
More informationInterconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration
Interconnection of Heterogeneous Networks Internetworking Service model Addressing Address mapping Automatic host configuration Wireless LAN network@home outer Ethernet PPS Internet-Praktikum Internetworking
More informationInternetworking and IP Address
Lecture 8 Internetworking and IP Address Motivation of Internetworking Internet Architecture and Router Internet TCP/IP Reference Model and Protocols IP Addresses - Binary and Dotted Decimal IP Address
More informationInternetworking. Problem: There is more than one network (heterogeneity & scale)
Internetworking Problem: There is more than one network (heterogeneity & scale) Hongwei Zhang http://www.cs.wayne.edu/~hzhang Internetworking: Internet Protocol (IP) Routing and scalability Group Communication
More informationInternet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004
5 th lecture Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004 1 43 Last lecture Lecture room hopefully all got the message lecture on tuesday and thursday same
More informationMobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP
Mobile IP Bheemarjuna Reddy Tamma IIT Hyderabad Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP IP Refresher Mobile IP Basics 3 parts of Mobile IP: Outline Advertising Care-of Addresses
More information2. IP Networks, IP Hosts and IP Ports
1. Introduction to IP... 1 2. IP Networks, IP Hosts and IP Ports... 1 3. IP Packet Structure... 2 4. IP Address Structure... 2 Network Portion... 2 Host Portion... 3 Global vs. Private IP Addresses...3
More informationcnds@napier Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)
Slide 1 Introduction In today s and next week s lecture we will cover two of the most important areas in networking and the Internet: IP and TCP. These cover the network and transport layer of the OSI
More informationGuide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols
Guide to TCP/IP, Third Edition Chapter 3: Data Link and Network Layer TCP/IP Protocols Objectives Understand the role that data link protocols, such as SLIP and PPP, play for TCP/IP Distinguish among various
More information04 Internet Protocol (IP)
SE 4C03 Winter 2007 04 Internet Protocol (IP) William M. Farmer Department of Computing and Software McMaster University 29 January 2007 Internet Protocol (IP) IP provides a connectionless packet delivery
More informationDynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes
Dynamic Host Configuration Protocol (DHCP) 1 1 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons: IP addresses are assigned on-demand Avoid manual IP
More informationGuide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP
Guide to Network Defense and Countermeasures Third Edition Chapter 2 TCP/IP Objectives Explain the fundamentals of TCP/IP networking Describe IPv4 packet structure and explain packet fragmentation Describe
More informationRARP: Reverse Address Resolution Protocol
SFWR 4C03: Computer Networks and Computer Security January 19-22 2004 Lecturer: Kartik Krishnan Lectures 7-9 RARP: Reverse Address Resolution Protocol When a system with a local disk is bootstrapped it
More informationInternet Protocols Fall 2004. Outline
Internet Protocols Fall 2004 Lecture 7 Andreas Terzis 9/29/04 Outline Internet Protocol CIDR Forwarding CS 449/Fall 04 2 1 Classless Interdomain Routing (CIDR) Addressing The IP address space is broken
More information1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet
Review questions 1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet C Media access method D Packages 2 To which TCP/IP architecture layer
More informationIP Addressing A Simplified Tutorial
Application Note IP Addressing A Simplified Tutorial July 2002 COMPAS ID 92962 Avaya Labs 1 All information in this document is subject to change without notice. Although the information is believed to
More informationEfficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640 1 IPV4 Global Addresses Properties IPv4 uses 32 bit address space globally unique hierarchical: network + host 7 24 Dot Notation 10.3.2.4
More informationSubnetting,Supernetting, VLSM & CIDR
Subnetting,Supernetting, VLSM & CIDR WHAT - IP Address Unique 32 or 128 bit Binary, used to identify a system on a Network or Internet. Network Portion Host Portion CLASSFULL ADDRESSING IP address space
More informationChapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine elzarki@uci.edu http://www.ics.uci.
Chapter 3: Review of Important Networking Concepts Magda El Zarki Dept. of CS UC Irvine elzarki@uci.edu http://www.ics.uci.edu/~magda 1 Networking Concepts Protocol Architecture Protocol Layers Encapsulation
More informationIP - The Internet Protocol
Orientation IP - The Internet Protocol IP (Internet Protocol) is a Network Layer Protocol. IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network
More informationInternet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming ------ IP routing
Process Process Process Layer CSCE 515: Computer Network Programming ------ IP routing Wenyuan Xu ICMP, AP & AP TCP IP UDP Transport Layer Network Layer Department of Computer Science and Engineering University
More informationInternet Addresses (You should read Chapter 4 in Forouzan)
Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair (NETID, HOSTID) Addresses are assigned by the internet company for assignment
More informationIP addressing and forwarding Network layer
The Internet Network layer Host, router network layer functions: IP addressing and forwarding Network layer Routing protocols path selection RIP, OSPF, BGP Transport layer: TCP, UDP forwarding table IP
More informationIntroduction to IP v6
IP v 1-3: defined and replaced Introduction to IP v6 IP v4 - current version; 20 years old IP v5 - streams protocol IP v6 - replacement for IP v4 During developments it was called IPng - Next Generation
More informationTCP/IP Basis. OSI Model
TCP/IP Basis 高 雄 大 學 資 訊 工 程 學 系 嚴 力 行 Source OSI Model Destination Application Presentation Session Transport Network Data-Link Physical ENCAPSULATION DATA SEGMENT PACKET FRAME BITS 0101010101010101010
More informationHow To Make A Network Address Prefix Smaller
CSC521 Communication Protocols 網 路 通 訊 協 定 Ch.9 Classless And Subnet Address Extensions (CIDR) 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Outline 1. Introduction 2. Review Of Relevant Facts 3. Minimizing Network Numbers
More informationNetwork Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF
Network Layer IPv4 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF IPv4 Internet Protocol (IP) is the glue that holds the Internet together.
More informationGary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)
Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets) The diagram below illustrates four routers on the Internet backbone along with two companies that have gateways for their internal
More informationTransport and Network Layer
Transport and Network Layer 1 Introduction Responsible for moving messages from end-to-end in a network Closely tied together TCP/IP: most commonly used protocol o Used in Internet o Compatible with a
More informationIP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31
IP address format: 7 24 Class A 0 Network ID Host ID 14 16 Class B 1 0 Network ID Host ID 21 8 Class C 1 1 0 Network ID Host ID 28 Class D 1 1 1 0 Multicast Address Dotted decimal notation: 10000000 00001011
More informationCourse Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.
Course Name: TCP/IP Networking Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. TCP/IP is the globally accepted group of protocols
More informationCS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013
CS 43: Computer Networks IP Kevin Webb Swarthmore College November 5, 2013 Reading Quiz IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented
More informationPPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)
PPS Internet-Praktikum Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK) September 2011 Zielsetzung Von unserer Webpage: Das Ziel dieser PPS-Veranstaltung ist es,
More informationThemen der Praktikumsnachmittage. PPS Internet-Praktikum. Zielsetzung. Infrastruktur im ETF B5
PPS Internet-Praktikum Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK) Themen der Praktikumsnachmittage Aufbau und Analyse eines kleinen Netzwerks Routing Anwendungen
More informationThis tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.
About the Tutorial Internet Protocol version 4 (IPv4) is the fourth version in the development of the Internet Protocol (IP) and the first version of the protocol to be widely deployed. IPv4 is described
More informationIntroduction to LAN/WAN. Network Layer (part II)
Introduction to LAN/WAN Network Layer (part II) Topics The Network Layer Introduction Routing (5.2) The Internet (5.5) IP, IP addresses ARP (5.5.4) OSPF (5.5.5) BGP (5.5.6) Congestion Control (5.3) Internetworking
More informationDatacommunication. Internet Infrastructure IPv4 & IPv6
Internet Infrastructure IPv4 & IPv6 Eric Malmström eric.malmstrom@globalone.net Slide 1 Background mid 1970 DARPA finances research on packet switching networks p-p networks, packet radio and satellite
More informationNetwork layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "
1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! Network layer" goals: "! understand principles behind layer services:" " layer service models" " forwarding versus routing" " how a
More informationNetwork-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2
Network-Oriented Software Development Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2 Topics Layering TCP/IP Layering Internet addresses and port numbers Encapsulation
More informationInstructor Notes for Lab 3
Instructor Notes for Lab 3 Do not distribute instructor notes to students! Lab Preparation: Make sure that enough Ethernet hubs and cables are available in the lab. The following tools will be used in
More informationLab#2: IP Addressing and Subnetting
IP Addressing Lab#2: IP Addressing and Subnetting Each Network Interface Card (NIC or Network card) present in a PC is assigned one Network address called as IP address. This IP address is assigned by
More informationLab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas surligas@csd.uoc.gr
Lab 2 CS-335a Fall 2012 Computer Science Department Manolis Surligas surligas@csd.uoc.gr 1 Summary At this lab we will cover: Basics of Transport Layer (TCP, UDP) Broadcast ARP DNS More Wireshark filters
More information2.1.2.2.2 Variable length subnetting
2.1.2.2.2 Variable length subnetting Variable length subnetting or variable length subnet masks (VLSM) allocated subnets within the same network can use different subnet masks. Advantage: conserves the
More informationTCP/IP Network Essentials. Linux System Administration and IP Services
TCP/IP Network Essentials Linux System Administration and IP Services Layers Complex problems can be solved using the common divide and conquer principle. In this case the internals of the Internet are
More informationBASIC ANALYSIS OF TCP/IP NETWORKS
BASIC ANALYSIS OF TCP/IP NETWORKS INTRODUCTION Communication analysis provides powerful tool for maintenance, performance monitoring, attack detection, and problems fixing in computer networks. Today networks
More informationHow do I get to www.randomsite.com?
Networking Primer* *caveat: this is just a brief and incomplete introduction to networking to help students without a networking background learn Network Security. How do I get to www.randomsite.com? Local
More informationComputer Network Foundation. Chun-Jen (James) Chung. Arizona State University
Computer Network Foundation Chun-Jen (James) Chung 1 Outline Network Addressing Subnetting Classless Inter-Domain Routing (CIDR) Route Aggregation Network Addressing How does the network decide where to
More informationSavera Tanwir. Internet Protocol
Savera Tanwir Internet Protocol The IP Protocol The IPv4 (Internet Protocol) header. IP Packet Details Header and payload Header itself has a fixed part and variable part Version IPv4, IPv5 or IPv6 IHL,
More informationInternet Control Protocols Reading: Chapter 3
Internet Control Protocols Reading: Chapter 3 ARP - RFC 826, STD 37 DHCP - RFC 2131 ICMP - RFC 0792, STD 05 1 Goals of Today s Lecture Bootstrapping an end host Learning its own configuration parameters
More informationChapter 6 Configuring IP
Chapter 6 Configuring IP This chapter describes the Internet Protocol (IP) parameters on HP ProCurve routing switches and switches and how to configure them. After you add IP addresses and configure other
More informationIP Address Classes (Some are Obsolete) 15-441 Computer Networking. Important Concepts. Subnetting 15-441 15-641. Lecture 8 IP Addressing & Packets
Address Classes (Some are Obsolete) 15-441 15-441 Computer Networking 15-641 Class A 0 Network ID Network ID 8 16 Host ID Host ID 24 32 Lecture 8 Addressing & Packets Peter Steenkiste Fall 2013 www.cs.cmu.edu/~prs/15-441-f13
More informationNetworking Technology Online Course Outline
Networking Technology Online Course Outline Introduction Networking Technology Introduction Welcome to InfoComm University About InfoComm International About Networking Technology Network Technology Course
More informationComputer Networks I Laboratory Exercise 1
Computer Networks I Laboratory Exercise 1 The lab is divided into two parts where the first part is a basic PC network TCP/IP configuration and connection to the Internet. The second part is building a
More informationCCNA Tutorial Series SUBNETTING
CCNA Tutorial Series This document contains the Course Map For The Interactive flash tutorial at: http://www.semsim.com/ccna/tutorial/subnetting/subnetting.html HOME PAGE Course Objectives Pre-test By
More informationInternet Protocol: IP packet headers. vendredi 18 octobre 13
Internet Protocol: IP packet headers 1 IPv4 header V L TOS Total Length Identification F Frag TTL Proto Checksum Options Source address Destination address Data (payload) Padding V: Version (IPv4 ; IPv6)
More informationIP Routing Features. Contents
7 IP Routing Features Contents Overview of IP Routing.......................................... 7-3 IP Interfaces................................................ 7-3 IP Tables and Caches........................................
More informationAddress Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)
Tik-110.350 Computer Networks (3 cr) Spring 2000 Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP) Professor Arto Karila Helsinki University of Technology E-mail: Arto.Karila@hut.fi
More information(Refer Slide Time: 02:17)
Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #06 IP Subnetting and Addressing (Not audible: (00:46)) Now,
More informationSection #6: Addressing
Section #6: Addressing Problem 1: Routing entries Consider the following routing table for router A, given in CIDR ( slash-n ) notation: 56.162.0.0/15: Port 0 56.164.0.0/15: Port 1 56.166.0.0/16: Port
More informationIP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing
IP Addressing -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing Internetworking The concept of internetworking: we need to make different networks communicate
More informationSSVP SIP School VoIP Professional Certification
SSVP SIP School VoIP Professional Certification Exam Objectives The SSVP exam is designed to test your skills and knowledge on the basics of Networking and Voice over IP. Everything that you need to cover
More informationCOMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall 2014. How to Deal With Heterogeneity & Scale?
COMP 631: COMPUTER NETWORKS IP Addressing Jasleen Kaur Fall 2014 1 How to Deal With Heterogeneity & Scale? Requirements from IP addressing: Should be globally unique Should facilitate easy mapping to link-layer
More informationSubnetting/Supernetting and Classless Addressing
Chapter 5 Subnetting/Supernetting and Classless Addressing SUBNETTING SUPERNETTING CLASSLESS ADDRSSING The McGraw-Hill Companies, Inc., 2000 1 5.1 SUBNETTING The McGraw-Hill Companies, Inc., 2000 2 A network
More informationTutorial (03) IP addresses & Sub netting
Tutorial (03) IP addresses & Sub netting Dr. Ahmed M. ElShafee ١ Agenda IP Addressing Conventions Original IPv4 Address Classes Subnetting CIDR (Classless InterDomain Routing) ٢ IP Addressing Conventions
More informationIPv6 Fundamentals: A Straightforward Approach
IPv6 Fundamentals: A Straightforward Approach to Understanding IPv6 Rick Graziani Cisco Press 800 East 96th Street Indianapolis, IN 46240 IPv6 Fundamentals Contents Introduction xvi Part I: Background
More informationOverview. 15-441 Computer Networking. IP Address Classes (Some are Obsolete) Outline. Lecture 9 IP Packets. CIDR IP addressing. Forwarding examples
Overview 15-441 Computer Networking Lecture 9 Packets Last lecture How does choice of address impact network architecture and scalability? What do addresses look like? This lecture Modern addresses How
More informationTCP/IP Networking Terms you ll need to understand: Techniques you ll need to master:
5 TCP/IP Networking Terms you ll need to understand: Subnet mask Subnetting Classless Interdomain Routing (CIDR) Transmission Control Protocol/Internet Protocol (TCP/IP) Address Resolution Protocol (ARP)
More informationLAB THREE STATIC ROUTING
LAB THREE STATIC ROUTING In this lab you will work with four different network topologies. The topology for Parts 1-4 is shown in Figure 3.1. These parts address router configuration on Linux PCs and a
More informationChapter 4 Connecting to the Internet through an ISP
Chapter 4 Connecting to the Internet through an ISP 1. According to Cisco what two things are essential to gaining access to the internet? a. ISPs are essential to gaining access to the Internet. b. No
More informationInternet Protocols. Addressing & Services. Updated: 9-29-2012
Internet Protocols Addressing & Services Updated: 9-29-2012 Virtual vs. Physical Networks MAC is the part of the underlying network MAC is used on the LAN What is the addressing mechanism in WAN? WAN is
More informationRaritan Valley Community College Academic Course Outline. CISY 253 - Advanced Computer Networking
Raritan Valley Community College Academic Course Outline CISY 253 - Advanced Computer Networking I. Basic Course Information A. Course number and Title: CISY 253- Advanced Computer Networking (TCP/IP)
More informationClassful IP Addressing (cont.)
Classful IP Addressing (cont.) 1 Address Prefix aka Net ID defines the network Address Suffix aka Host ID defines the node In Classful addressing, prefix is of fixed length (1, 2, or 3 bytes)! Classful
More informationWhat is VLAN Routing?
Application Note #38 February 2004 What is VLAN Routing? This Application Notes relates to the following Dell product(s): 6024 and 6024F 33xx Abstract Virtual LANs (VLANs) offer a method of dividing one
More informationThe Internet. Internet Technologies and Applications
The Internet Internet Technologies and Applications Aim and Contents Aim: Review the main concepts and technologies used in the Internet Describe the real structure of the Internet today Contents: Internetworking
More informationProcedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address
Objectives University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.4 Basic Network Operation and Troubleshooting 1. To become familiar
More informationSample Configuration Using the ip nat outside source static
Sample Configuration Using the ip nat outside source static Table of Contents Sample Configuration Using the ip nat outside source static Command...1 Introduction...1 Before You Begin...1 Conventions...1
More information