IP Internet Protocol. Agenda. IP on everything everything on IP. TCP/IP and Internet. An internet. Request For Comments (RFC)

Size: px
Start display at page:

Download "IP Internet Protocol. Agenda. IP on everything everything on IP. TCP/IP and Internet. An internet. Request For Comments (RFC)"

Transcription

1 Agenda IP Internet Protocol Network and Information Center Beijing University of Posts and Telecommunications Oct TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP TCP/IP and Internet IP on everything everything on IP Internet: a collection of inter-connected networks or autonomous systems An internet Transmission system: Leased lines, wired or wireless data communication systems,... Network equipment: routers, switches, hubs, mux, Computer: Hosts, Servers, PCs, Mobile Devices,... Software: TCP / IP protocol stack, applications... Request For Comments (RFC) Internet Draft Internet Standards All of the protocols in the TCP/IP suite are defined by documents called Requests For Comments (RFC's) Obtaining RFCs Major Internet Protocols 1

2 Standard specification - some RFCs TCP / IP Protocol stack 1981 RFC0791 Internet Protocol, John Postel 1981 RFC0793 Transmission Control Protocol. J. Postel 1981 RFC0792 Internet Control Message Protocol 1981 RFC0799 Internet name domains 1981 RFC0788 Simple Mail Transfer Protocol. J. Postel RFC0959 File Transfer Protocol. J. Postel 1986 RFC0977 Network News Transfer Protocol. B. Kantor, RFC1945 Hypertext Transfer Protocol, T. Berners-Lee, RFC1883 Internet Protocol, Version 6 (IPv6) Specification. S. Deering, RFC6082 Deprecating Unicode Language Tag Characters: RFC 2482 is Historic... Data Wrapped by different layers Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every host, router Three important functions Path determination Route taken by packets from source to destination Switching Move packets from router s input to appropriate route output Call setup Some network architectures require router call setup along path before data flows Service provided to the Transport layer Agenda TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP IPv4 addressing: introduction IP address: 32-bit identifier for host, router interface Interface: connection between host, router and physical link Routers typically have multiple interfaces Host may have multiple interfaces IP addresses associated with interface, not host, router Each address is a pair (network id, host id) Network part (high order bits) Host part (low order bits) 2

3 3 IPv4 addressing category (Classful IP addressing) Class A 128 networks 16,777,216 hosts Class B 16,384 networks 65,536 hosts Class C 2,097,152 networks 256 hosts Class D Multicast 268,435,456 Addresses Class E Reserved 268,435,456 Addresses Network Part Network Part Network Part Host Part Host Part Host Part There is no need to allocate octets or bits to seperate network and host Addresses in class D and E. Class E addresses are reserved for research use only. IPv4 address notation Binary Hex A E1 Dotted decimal Decimal Binary & Dotted Decimal Decimal Binary Decimal = Binary Special IP address Loopback existed in every IP stack For testing and diagnostic purposes Local broadcast and Network broadcast FF.FF.FF.FF Used when the local subnet is unknown network.ff: , BSD style broadcast address Network identifier Not for host network Private IP address Private IP address-example RFC1918 Address Allocation for Private Internets (10/8 prefix) (172.16/12 prefix) ( /16 prefix) Experiment or Enterprises internal use only Not routable in Internet world To save address space Private addresses can be used to address point-to-point serial links without wasting real IP addresses.

4 4 Subnetting Classfull addressing inefficient Each local area network has a network number A company having several LANs needs to apply for several IP address Due to the explosive growth of the Internet, the use of assigned IP addresses became too inflexible to allow easy changes to local network configurations. These changes might occur when: A new physical network is installed at a location. Growth of the number of hosts requires splitting the local network into two or more separate networks. The classful IP addressing restricts the flexibility of address allocation and may waste IP address space. Classless IP addressing Solution was to partition large networks internally into subnetworks (subnets)- classless IP addressing Typically class C (8 bit host part) sized subnets although variable length subnets used too Network Part "Subnet" Part "Real" Host Part "Effective" Host Part <network number>< host number > <network number><subnet number><host number> Classful Addressing and Classless Addressing Classful Addressing In a classful addressing scheme, division between network and host portion always take place at the octet boundaries. Classless Addressing In a classless addressing scheme, division between network and host portion can take place at arbitrary bit boundaries. NetMask Divide an IP address into subnets and specify the networks available hosts. The mask contains 1's for the bit positions in the 32-bit address which are to be used for the network and subnet parts, and 0's for the host part. Address format: a.b.c.d/x, where x is # bits in network portion of address /23 NetMask Exmaples For one B class network , netmask is Network = Address Network Mask = If we borrow 5 bits from host as subnet, netmask becomes Network = Address Network Mask = Determining Local and Remote Hosts Example 12 A Remote Local Hosts D B E C Subnet F Mask

5 5 Calculation IP address AND Network Mask=Subnetwork ID Logical ANDing Process 0 AND 0 = 0 0 AND 1 = 0 1 AND 0 = 0 1 AND 1 = 1 Example Packet Address AND Mask Subnetwork ID Subnet Addressing (example 1) IP address: ( ) IP address: ( ) AND IP address: ( ) AND A is a C class network NetMask: AND , network mask is ( ) NetMask: ( ) Assumption Subnet: NetMask: ( ) ( ) Subnet: ( ) Host A s IP address Subnet: is [ ] = ( ) Host B s IP address is [ ] = Host C s IP address is [ ] = Communication in the different Destination= Destination=C Destination=B network. Communication subnet. Transmit in the packet same to subnet. No network subnet transmission. 1. B. A C Subnet2: Network B: Subnet3: Router Router-2 Subnet1: B Network A: Subnet Addressing (example 2) An organization is assigned to a class B network address Suppose the organization has many LANs, each consisting of no more than 100 host. How many bits are needed to identify the host? What is the network mask? And how many subnets available? Host bits: 2 7-2=126>100, 7 bits for host ID Subnet bits: 16-7=9. Subnet mask: 16+9=25bits ( ) Number of subnets: 2 9-2=510 (all 1 and all 0 subnets are not usable) If a packet with destination address arrives, which subnet is belongs to? IP address: & mask: Subnet: = Type of Subnet mask Fixed length Subnetting Variable Length Subnetting VLSMs (Variable Length Subnet Masks ) imply that different subnets in an organization could be sized differently and have different length subnet masks. Example of Classless Addressing Prefix / host addresses announced as a single network (important!) Consists of 7 subnets / / / / / / / / hosts / hosts /26 64 hosts / hosts / hosts / hosts /26 64 hosts / hosts / hosts / hosts / hosts / hosts / hosts Route Aggregation Represents multiple networks by a single entry in the routing table reduce the number of advertised routes on large networks by summarizing routes 20-bit Network Part 12-bit Host Part

6 6 Route Aggregation IP Routing without Subnets This backbone router has only ONE entry of a 20-bit network for all 16 class C networks in the ISP. Traffic matching the 20-bit network part will be forwarded to R X, which then forward to the correct destination This router knows all 16 class C networks and has individual routing table entries for each network. Destination IP Network address = my IP network address Yes: send IP datagram on local network No: send IP datagram to gateway corresponding to the destination network address IP Routing with Subnets Destination IP Network address = my IP network address Yes: send IP datagram on local network No: send IP datagram to gateway corresponding to the destination (sub)network address Command to discover the subnet mask In DOS / Win95 C> winipcfg Win/XP IPconfig netstat -rn In Unix/Linux like box ifconfig -a IP address allocation body (Internic)/ARIN RIPE APNIC LACNIC AfriNIC The Internet Corporation For Assigned Names and Numbers (ICANN) APNIC (Asia & Pacific Rim) RIPE-NCC (Europe) ARIN (US & Others) Regional Internet Registry The Internet Society The Internet Architecture Board (IAB) LACNIC (Latin America) The Internet Engineering Steering Group (IESG) IETF Working Groups IETF Working Groups The Internet Research Steering Group (IRSG) IRTF Working Groups IRTF Working Groups IP Address Allocation IPv4 address allocation Static allocation, manually configure BOOTP (BOOTstrap Protocol, obseleted) DHCP (Dynamic Host Configuration Protocol) Using UDP as its transport protocol Using port 67 (for server) and 68 (for client) IPv6 address allocation Static allocation SLAAC, stateless DHCPv6, stateful Clients listen for DHCP messages on UDP port 546. Servers and relay agents listen on UDP port 547

7 7 Multiple IP Addresses assigned to one node One node with Multiple IP addresses One host or router with multiple network interface card, Each interface card assigned by one IP address One Interface card with multiple IP addresses Special device like router, for routing a b c Continued a b c S: Switch R: Router Example configuration in a router RouterA> interface Ethernet0 ip address ip address secondary ip accounting output-packets Agenda TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP Internet Protocol (IP) IPv4 Packet header format IP provides an unreliable, connectionless datagram delivery service Unreliable No guarantees that an IP datagram will successfully reach its destination Provides a simple error handling algorithm: by sending an ICMP message back to the source Reliable service is provided by higher layers, e.g., TCP Connectionless Each datagram is handled independently IP does not maintain any state information about the datagrams Datagrams may be delivered out of order

8 8 Header Version A 4-bit version number Allows transition between versions (from IPv4 to IPv6) Internet Header Length (IHL) Len = Header Length (lines) Total Length - Total datagram length 20bytes~60bytes Header (continued) Type of Service: Desirable service attributes Designed to distinguish between different classes of service Precedence ( 3bits ) = Importance ( 0-7 ) - RFC791 D (1 bit ) = Low-delay request T (1 bit ) = High-through put R (1 bit ) = High-reliability request L (1 bit ) = Low-cost 1 bits unused DSCP RFC2472, RFC bits of this field used as DSCP (differentiated service code point) to indicate the class a packet belongs to ToS RFC priorities (0-15) Header (continued) Total length Total length in bytes = header + data 16 bits: max. IP datagram size=65535 bytes Identification Identify the datagram a fragment belongs to All the fragments of a datagram contain the same identification value Header (continued) Time to live (TTL) Limit packet lifetime prevents looping Supposed to measure the time a datagram has been in the Internet Initialized by sender to some value (255 sec) Decremented on each hop, decremented multiple times when queued for a long time in a router In practice, it counts hops When TTL=0, the datagram is discarded, and an ICMP warning message is sent to source IP datagram purging - TTL Header (continued) TTL=4 TTL=3 TTL=2 TTL=1 TTL=0 Protocol Identifies the next-layer protocol above the IP that is to receive the datagram at the final host destination, e.g., TCP, UDP and other Defined by IANA (Internet Assigned Number Authority) Online database at: ) 1 ICMP Internet Control Message Protocol 2 IGMP Internet Group Message Protocol 3 GGP Gateway to Gateway Protocol 6 TCP Transport Control Protocol 9 IGP Interior Gateway Protocol 17 UDP User Datagram Protocol

9 9 Header (continued) Header checksum Detect errors in the header (header only) Source address (32 bits) Destination address (32 bits) Data: From TCP or other protocol IP Fragmentation A datagram may need to travel across many types of physical networks as it moves across an Internet Different networks have different max. frame size (MTU: maximum transfer unit): X.25: 1024 bytes, Ethernet: 1500 bytes Transmission unit = IP datagram (data+header) All machines are required to accept fragments of 576 bytes or less Any datagram larger than the MTU is fragmented The data portion of each fragment, except the last one, must be a multiple of 8 bytes Original header is copied to each fragment and then modified Some option fields are copied IP Header Original Datagram IP Hdr 1 Data 1 IP Hdr 2 Data 2 IP Hdr 3 Data 3 Fragmentation and reassembly IP Datagram Fragmentation Each fragment (packet) has the same structure as the IP datagram. IP specifies that datagram reassembly is done only at the destination (not on a hop-by-hop basis). If any of the fragments are lost - the entire datagram is discarded (and an ICMP message is sent to the sender). If an error is found (header checksum problem) the packet is discarded and an ICMP message is sent to the sender. Example of two fragments Reassembly Initial IP datagram More bit (M) = 0 Offset (OS) = 0 After fragmentation First Frag More bit (M) = 1 Offset (OS) = 0 After fragmentation Second Frag More bit (M) = 0 Offset (OS) = 400/8 = 50 Reassembly only at the final destination Partial datagrams are discarded after a timeout Fragments can be further fragmented along the path. Subfragments have a format similar to fragments. To reassemble a fragment, the destination must obtain all fragments starting the with the one with offset 0 through the fragment with highest offset The fragment with the highest offset will have it MF set to 0

10 10 Option field Source routing option Options field allows to include information not present in the original design, to permit experimenters to try out new ideas and to avoid allocating header bits to information that is rarely needed. General Format Length: Total length in option Data: use depends on option Code format Copy:=1, all frag with option =0, only first frag include option The process of transferring datagrams across an internet Connectionless transmission Routing Error detection Fragmentation and Reassembly Datagram purging IP traffic monitoring --- netstat -s IP Statistics Packets Received = Received Header Errors = 0 Received Address Errors = 4 Datagrams Forwarded = 0 Unknown Protocols Received = 0 Received Packets Discarded = 0 Received Packets Delivered = Output Requests = Routing Discards = 265 Discarded Output Packets = 0 Output Packet No Route = 0 Reassembly Required = 0 Reassembly Successful = 0 Reassembly Failures = 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation = 0 Fragments Created = 0 Agenda TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP ICMP (Internet Control Message Protocol) ICMP reviews the basic errors that can be reported and explains how and where such messages are sent. All hosts and routers must be able to handle the ICMP messages, an integral part of IP ICMP is an error reporting mechanism. IP layer Software must take action to handle the possible action on its own Utility Ping uses ICMP to detect the reachablity and delay between nodes in the network Router use ICMP to send error and control message

11 11 ICMP Packet Format Length of the packet varies with type of message Type : type of message Checksum: Calculated on entire message Information: Varies with message type Frame header IP header May not be used Error messages( response to bad datagram) IP header plus 8 following octets ICMP message Message Type Examples Message type = 0 Echo reply = 3 Destination unreachable = 4 Source quench = 5 Redirect ( change route ) = 8 Echo request = 11 Time exceeded for a datagram = 12 Parameter problem on a datagram = 13 Timestamp request = 14 Timestamp reply = 15 Information request (obsolete) = 16 Information reply (obsolete) = 17 Address mask request = 18 Address mask reply ICMP Message Delivery ICMP message requires two levels of encapsulation ICMP Error Message ICMP utilizes IP, but considered to be at same level in Protocol stack. ICMP message are carried in IP packet with Protocol field = 1 Message type: destination unreachable (Type=3) Always contains the IP header and the first 64 bits of the IP datagram that caused the ICMP error to be generated For the receiver to associate the message with one particular protocol (TCP or UDP) and a particular user (port number) Code number (0~15) specifies the more detailed reason of the error 16 kind of errors ICMP Message Error Type Message code = 0 Network unreachable = 1 Host unreachable = 2 protocol unreachable = 3 port unreachable = 4 Must fragment, but DF set = 5 Source route failed = 6 destination network unknown = 7 destination host unknown = 8 source host isolated (obsolete) = 9 destination network administratively prohibited = 10 destination host administratively prohibited = 11 network unreachable for this type of service = 12 host unreachable for this type of service = 13 communication administratively prohibited by filtering = 14 host precedence violation = 15 precedence cutoff in effect ICMP Echo reply Used by processors to test whether a destination is alive and reachable Example : ping hostname Format as show below TYPE = 8 ( request ) or 0 ( reply ) IDENTIFER / SEQUENCE NUMBER: used by sender to match replies to request DATA: Optional further matching information ( returned by the sender)

12 12 ICMP Application 1: Ping Use ping, get information for reachability, delay, TTL ICMP Application 2: Traceroute Traceroute: Exploit TTL and ICMP Send there packet with time-to-live = 1 (hop) The first router discards the packet and sends an ICMP time-tolive exceeded message Send there packet with time-to-live = 2 (hops) The second router discards the packet and sends an ICMP time-to-live exceeded message etc When final host reached, use unlikely UDP port and get ICMP port unreachable back Does not use optional features like record route Example: Traceroute 从中国互联网络地图网站 到 traceroute to info.sta.net.cn ( ), 30 hops max, 40 byte packets ( ) ms ms ms 2 GSR-BTO-B-P0-2.bta.net.cn ( ) ms ms ms ( ) ms ms ms ( ) ms ms ms ( ) ms ms ms ( ) ms ms ms ( ) ms ms ms ( ) ms ms ms 9 info.sta.net.cn ( ) ms * ms ICMP Application 3: Path MTU Discovery The MTU for each medium is different To transfer bulk data ( e.g. File transfer), it is always better to send large datagrams A simple Path Discovery procedure to determine the biggest datagram size: Send a large IP datagram with Don t fragment bit set Failure to fragment at a link will result in ICMP message Later version of ICMP specifies MTU size in such ICMP messages Reduce message size until success (No ICMP message received) Example: Path MTU Discovery ICMP Summary sun % traceroute.pmtu slip traceroute to slip ( ), 30 hops max outgoing MTU = bsdi ( ) 15 ms 6 ms 6 ms 2 bsdi ( ) 6 ms fragmentation required and DF set, trying new MTU = 1492 fragmentation required and DF set, trying new MTU = 1006 fragmentation required and DF set, trying new MTU = 576 fragmentation required and DF set, trying new MTU = 552 fragmentation required and DF set, trying new MTU = 544 fragmentation required and DF set, trying new MTU = 512 fragmentation required and DF set, trying new MTU = 508 fragmentation required and DF set, trying new MTU = slip ( ) 377 ms 377 ms 377 ms Destination Unreachable Network/Host/Protocol/Port/ Time Exceed TTL expired Used in traceroute tool Parameter problem IP header error Source Quench Requests source to decrease its data rate Redirect Tell source to send its message to a better address Echo Request/Echo Reply For testing (e.g., ping program sends an Error request) Timestamp Request/Reply Clock synchronization RTT Address Mask Request/Reply Diskless systems Router Solicitation and Advertisement Hosts query routers Routers advertise presence and routes

13 13 Agenda TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP Address Resolution Protocol (ARP) ARP Overview ARP Detailed Concept ARP and Subnets Proxy-ARP or Transparent Subnetting ARP ARP Process IP addresses only make sense to the TCP/IP protocol suite Machines on a physical network can communication ONLY if they know each other s physical network address Mapping Internet Address to Physical Address ARP uses MAC-level address to resolve a known forwarding IP address to its MAC address. Considered to be the layer 2 protocol RFC826 Ethernet Address Resolution Protocol: Converting Network Protocol Addresses to 48.bit Ethernet Address for Transmission on Ethernet Hardware. D.C. Plummer. Nov The Address Resolution Problem Node A Send an arp request packet asking for the destination s (node B) MAC address by giving the IP address of node B Receiver (node B) response an arp packet to node A Example of arp command ARP -s inet_addr eth_addr [if_addr] ARP -d inet_addr [if_addr] ARP -a [inet_addr] [-N if_addr] -a Displays current ARP entries by interrogating the current protocol data. If inet_addr is specified, the IP and Physical addresses for only the specified computer are displayed. If more than one network interface uses ARP, entries for each ARP table are displayed. -g Same as -a. inet_addr Specifies an internet address. -N if_addr Displays the ARP entries for the network interface specified by if_addr. -d Deletes the host specified by inet_addr. -s Adds the host and associates the Internet address inet_addr with the Physical address eth_addr. The Physical address is given as 6 hexadecimal bytes separated by hyphens. The entry is permanent. eth_addr Specifies a physical address. if_addr If present, this specifies the Internet address of the interface whose address translation table should be modified. If not present, the first applicable interface will be used.

14 14 Resolution Through Direct Mapping Static ARP table Configured by the system administrator Fast translation... Resolution Through Dynamic Binding The ARP allows a host to find the physical address of a target host on the same physical network by given its IP address. The Address Resolution Cache Cache the dynamic IP / MAC binding Reduce broadcast traffic Enhance the efficiency of the ARP operation Maintains the recent mappings from IP addresses to the hardware addresses Time dependent Small cache is worthwhile arp -a Proxy ARP Proxy ARP is a technique in which one machine, usually a router, answers ARP requests intended for another machine. By "faking" its identity, the router accepts responsibility for routing packets to the "real" destination. Proxy ARP allows a site to use a single IP address with two physical networks. Subnetting would normally be a better solution. ARP: Example 1 If host 1 wants to send a packet to host 2 Host 1 finds the IP address of host 2: IP software on host 1 determines that the destination is on its own network To find the Ethernet address of the destination: host 1 broadcasts an ARP request Host 2 responds with its Ethernet address (E2) Host 1 builds an Ethernet frame addressed to E2, puts the IP packet in the payload field, and broadcasts it onto the Ethernet Ethernet card on host 2 detects this frame, recognizes it as a frame for itself, scoops it up, processes it and passes it to IP software Host 1 broadcast ARP request Host 2 responds with its Ethernet Address ARP: Example 2 If host 1 wants to send a packet to host 4 Host 4 and host 1 are on different network: host 4 will not respond to ARP request Solution Proxy ARP: CS router responds to ARP request for network Host 1 makes an ARP entry of ( , E3) and send all traffic for host 4 to the local router Similarly, host 1 packs the IP address into the payload of an Ethernet frame addressed to E3 Host 1 broadcast ARP request CS router responds with its Ethernet Address (E3) Host 4 will not respond

15 Reverse Address Resolution Protocol (RARP) Translate from physical address to IP address RARP / ARP reversed operation RARP operation Host A broadcast a request asking for a IP address Server B reply Host A with the IP address assigned to it Multiple RARP server may be available for redundancy Host A may works in two modes: endless sending request till answer returned when timed out, manually restart its request RFC0903 Reverse Address Resolution Protocol. R. Finlayson, T. Mann, J.C. Mogul, M. Theimer. Jun RARP Application Agenda Machine obtains its IP address from a configuration file on the disk during bootup time RARP is used for diskless stations to obtain their IP addresses TCP/IP and Internet Internet Address Internet Layer Protocols IP Protocol ICMP Protocol ARP/RARP Protocol Mobile IP Mobility and Standard IP Routing By design, IP host address is tied to home network address Hosts are assumed to be wired, immobile Intermediate routers look only at network address Mobility without a change in IP address results in unrouteable packets What if a user wants to roam between networks? Mobile users don t want to know that they are moving between networks What if mobile users change IP when running an application? Design of Mobile IP Mobile IP was developed as a means for transparently dealing with problems of mobile users Enables hosts to stay connected to the Internet regardless of their location Enables hosts to be tracked without needing to change their IP address No changes to software of non-mobile hosts/routers Addition of some infrastructure No geographical limitations No modifications to IP addresses or IP address format Security Could be even more important than physically connected routing 92 CS CS

16 16 Mobile IP Basics Proposed by IETF (Internet Engineering Task Force) Standards development body for the Internet Mobile IP allows a mobile host to move about without changing its permanent IP address Each mobile host has a home agent on its home network Mobile host establishes a care-of address when it's away from home 94 Mobile IP Mobile Node (MN) Correspondent Node (CN) Home Agent (HA) 95 Mobile IP Summary TCP/IP and Internet IP classful address IP classless address Subnet Mask IP address configuration IP protocol ICMP protocol ARP/RARP protocol IPv6 will be discussed next To be continued Thank you!

IP Internet Protocol. Agenda. TCP/IP and Internet. An internet. How is TCP/IP defined. Request For Comments (RFC)

IP Internet Protocol. Agenda. TCP/IP and Internet. An internet. How is TCP/IP defined. Request For Comments (RFC) Agenda Internet Protocol Network and Information Center Beijing University of Posts and Telecommunications Nov. 2013 TCP/ and Internet Internet Address Internet Layer Protocols Protocol ICMP Protocol ARP/RARP

More information

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

IPv4. Christian Grothoff.

IPv4. Christian Grothoff. IPv4 christian@grothoff.org http://grothoff.org/christian/ Sites need to be able to interact in one single, universal space. Tim Berners-Lee 1 The Network Layer Transports datagrams from sending to receiving

More information

Introduction to Internetworking

Introduction to Internetworking Introduction to Internetworking Introductory terms Communications Network Facility that provides data transfer services An internet Collection of communications networks interconnected by bridges and/or

More information

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer 1 CPSC 826 Intering The Network Layer: Routing & Addressing Outline The Network Layer Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu November 10, 2004 Network layer

More information

Network layer: Overview. Network Layer Functions

Network layer: Overview. Network Layer Functions Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

TCP/IP Protocol Suite

TCP/IP Protocol Suite TCP/IP Protocol Suite Computer Networks Lecture 5 http://goo.gl/pze5o8 TCP/IP Network protocols used in the Internet also used in today's intranets TCP layer 4 protocol Together with UDP IP - layer 3 protocol

More information

Network Layer (4): ICMP

Network Layer (4): ICMP 1 Network Layer (4): ICMP Required reading: Kurose 4.4.3, 4.4.4 CSE 4213, Fall 2006 Instructor: N. Vlajic 2 1. Introduction 2. Network Service Models 3. Architecture 4. Network Layer Protocols in the Internet

More information

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang CS 356: Computer Network Architectures Lecture 10: IP Fragmentation, ARP, and ICMP Xiaowei Yang xwy@cs.duke.edu Overview Homework 2-dimension parity IP fragmentation ARP ICMP Fragmentation and Reassembly

More information

Internet Technology 3/23/2016

Internet Technology 3/23/2016 Internet Technology // Network Layer Transport Layer (Layer ) Application-to-application communication Internet Technology Network Layer (Layer ) Host-to-host communication. Network Layer Route Router

More information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Janno< Administrivia IP out today. Your job: Find partners and tell us Implement

More information

Network Layer: Internet Protocol

Network Layer: Internet Protocol Network Layer: Internet Protocol Motivation Heterogeneity Scale Intering IP is the glue that connects heterogeneous s giving the illusion of a homogenous one. Salient Features Each host is identified by

More information

Vorlesung Kommunikationsnetze

Vorlesung Kommunikationsnetze Picture 15 13 Vorlesung Kommunikationsnetze Prof. Dr. H. P. Großmann mit B. Wiegel sowie A. Schmeiser und M. Rabel Sommersemester 2009 Institut für Organisation und Management von Informationssystemen

More information

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall: Network Layer The Network Layer Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control 1 2 Contents 4.1.1 Connection-Oriented and Connectionless

More information

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control The Network Layer 1 Network Layer Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control 2 Contents Connection-Oriented (virtual circuit)

More information

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly The Internet Protocol IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly IP Addresses IP Addresses are 32 bit. Written in dotted decimal format:

More information

Router Architecture Overview

Router Architecture Overview Chapter 4: r Introduction (forwarding and routing) r Review of queueing theory r Router design and operation r IP: Internet Protocol m IPv4 (datagram format, addressing, ICMP, NAT) m Ipv6 r Generalized

More information

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Interconnection Structure of. The Internet. EECC694 - Shaaban The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense

More information

IP: Addressing, ARP, Routing

IP: Addressing, ARP, Routing IP: Addressing, ARP, Routing Network Protocols and Standards Autumn 2004-2005 Oct 21, 2004 CS573: Network Protocols and Standards 1 IPv4 IP Datagram Format IPv4 Addressing ARP and RARP IP Routing Basics

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: The Internet Protocol Literature: Forouzan: ch 4-9 and ch 27 2004 Image Coding Group, Linköpings Universitet Outline About the network layer Tasks Addressing Routing Protocols 2 Tasks of the

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Introduction (forwarding and routing) Review of queueing theory Routing algorithms Link state, Distance Vector Router design and operation IP: Internet Protocol IPv4 (datagram format, addressing,

More information

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis Computer Network Fundamentals Spring 2008 Week 4 Network Layer Andreas Terzis Outline Internet Protocol Service Model Addressing Original addressing scheme Subnetting CIDR Fragmentation ICMP Address Shortage

More information

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

CSCI-1680 Network Layer: IP & Forwarding John Jannotti CSCI-1680 Network Layer: IP & Forwarding John Jannotti Based partly on lecture notes by David Mazières, Phil Levis, Rodrigo Fonseca Administrivia IP out today. Your job: Find partners, get setup with Github

More information

Internet Protocols (chapter 18)

Internet Protocols (chapter 18) Internet Protocols (chapter 18) CSE 3213 Fall 2011 Internetworking Terms 1 TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol

More information

Introduction to routing in the Internet

Introduction to routing in the Internet Introduction to routing in the Internet Internet architecture IPv4, ICMP, ARP Addressing, routing principles (Chapters 2 3 in Huitema) Internet-1 Internet Architecture Principles End-to-end principle by

More information

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address Outline IP The Internet Protocol o IP Address IP subnetting CIDR o ARP Protocol o IP Function o Fragmentation o NAT o IPv6 2 IP Address o Hostname & IP Address IP Address o The Address ping www.nu.ac.th

More information

Aside: Interaction with Link Layer Computer Networking. Caching ARP Entries. ARP Cache Example

Aside: Interaction with Link Layer Computer Networking. Caching ARP Entries. ARP Cache Example Aside: Interaction with Link Layer 15-441 Computer Networking Lecture 8 Addressing & Packets How does one find the Ethernet address of a? ARP Broadcast search for address E.g., who-has 128.2.184.45 tell

More information

The Internetworking Problem. Internetworking. A Translation-based Solution

The Internetworking Problem. Internetworking. A Translation-based Solution Cloud Cloud Cloud 1 The Internetworking Problem Internetworking Two nodes communicating across a network of networks How to transport packets through this heterogeneous mass? A B The Internetworking Problem

More information

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model Lecture 8 Basic Internetworking (IP) Reminder: Homework 3, Programming Project 2 due on Tuesday. An example internet is shown at right. Routers or gateways are used to connect different physical networks.

More information

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4 CCNA Exploration Network Fundamentals Chapter 06 Addressing the Network IPv4 Updated: 20/05/2008 1 6.0.1 Introduction Addressing is a key function of Network layer protocols that enables data communication

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Chapter 4 Network Layer

Chapter 4 Network Layer Chapter 4 Network Layer Computer Networking A Top-Down Approach These slides are based on the slides made available by Kurose and Ross. All material copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights

More information

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Lecture 8 Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2

More information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Today Network layer: Internet Protocol (v4) Forwarding Next 2 classes:

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 2: Internet Protocol Literature: Forouzan: ch (4-6), 7-9 and ch 31 2004 Image Coding Group, Linköpings Universitet Lecture 2: IP Goals: Understand the benefits Understand the architecture IPv4

More information

SEN366 (SEN374) (Introduction to) Computer Networks

SEN366 (SEN374) (Introduction to) Computer Networks SEN366 (SEN374) (Introduction to) Computer Networks Prof. Dr. Hasan Hüseyin BALIK (12 th Week) The Internet Protocol 12.Outline Principles of Internetworking Internet Protocol Operation Internet Protocol

More information

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing Last time Network layer Introduction forwarding vs. routing Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding tables, longest prefix matching IP: the Internet Protocol

More information

ICMP (Internet Control Message Protocol)

ICMP (Internet Control Message Protocol) Today s Lecture ICMP (Internet Control Message Protocol) Internet Protocols CSC / C 573 I. ICMP Overview II. ICMP rror Reporting III. ICMP Query / Response Messages IV. ICMP Message Processing Fall, 2005

More information

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri Department of Computer and IT Engineering University of Kurdistan Network Layer By: Dr. Alireza Abdollahpouri What s the Internet: nuts and bolts view PC server wireless laptop cellular handheld millions

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2017 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Network Layer The majority of slides presented in

More information

ICS 451: Today's plan

ICS 451: Today's plan ICS 451: Today's plan ICMP ping traceroute ARP DHCP summary of IP processing ICMP Internet Control Message Protocol, 2 functions: error reporting (never sent in response to ICMP error packets) network

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Chair for

More information

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction The Network layer Host, network layer functions: Network layer Routing protocols path selection R, OSPF, BGP Transport layer: TCP, forwarding table Link layer physical layer protocol addressing conventions

More information

TCP/IP and the OSI Model

TCP/IP and the OSI Model TCP/IP BASICS TCP/IP and the OSI Model TCP/IP BASICS The network protocol of the Internet Composed of six main protocols IP Internet Protocol UDP User Datagram Protocol TCP Transmission Control Protocol

More information

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner Communication Networks (0368-3030) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University Allon Wagner Kurose & Ross, Chapter 4 (5 th ed.) Many slides adapted from: J. Kurose & K. Ross

More information

CS 457 Lecture 11 More IP Networking. Fall 2011

CS 457 Lecture 11 More IP Networking. Fall 2011 CS 457 Lecture 11 More IP Networking Fall 2011 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol

More information

Internet Control Message Protocol

Internet Control Message Protocol Internet Control Message Protocol The Internet Control Message Protocol is used by routers and hosts to exchange control information, and to inquire about the state and configuration of routers and hosts.

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer II Dmitri Loguinov Texas A&M University April 3, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter 4:

More information

Module 7 Internet And Internet Protocol Suite

Module 7 Internet And Internet Protocol Suite Module 7 Internet And Internet Protocol Suite Lesson 22 IP addressing. ICMP LESSON OBJECTIVE General The lesson will continue the discussion on IPv4 along with the idea of ICMP. Specific The focus areas

More information

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1 Topic 9 Internet Protocols Aims:- basic protocol functions internetworking principles connectionless internetworking IP IPv6 IPSec 1 Protocol Functions have a small set of functions that form basis of

More information

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer Homework Assignment 1 (Solutions due 20:00, Mon., 10 Sept. 2018) (Review due 20:00, Wed., 12 Sept. 2018) 1. IPv4 Addressing

More information

Internet Control Message Protocol (ICMP)

Internet Control Message Protocol (ICMP) Internet Control Message Protocol (ICMP) 1 Overview The IP (Internet Protocol) relies on several other protocols to perform necessary control and routing functions: Control functions (ICMP) Multicast signaling

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

CSEP 561 Internetworking. David Wetherall

CSEP 561 Internetworking. David Wetherall CSEP 561 Internetworking David Wetherall djw@cs.washington.edu Internetworking t Focus: Joining multiple, different networks into one larger network Forwarding models Application Heterogeneity Transport

More information

The Internet. The Internet is an interconnected collection of netw orks.

The Internet. The Internet is an interconnected collection of netw orks. The Internet The Internet is an interconnected collection of netw orks. Internetw orking-1 Internetworking! Communications Network: A facility that provides a data transfer service among stations attached

More information

Lecture 2: Basic routing, ARP, and basic IP

Lecture 2: Basic routing, ARP, and basic IP Internetworking Lecture 2: Basic routing, ARP, and basic IP Literature: Forouzan, TCP/IP Protocol Suite: Ch 6-8 Basic Routing Delivery, Forwarding, and Routing of IP packets Connection-oriented vs Connectionless

More information

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 13 Chapter 7 - Sections & Objectives 7.1 IPv4 Network Addresses Convert between binary and decimal numbering

More information

TCP/IP Protocol Suite and IP Addressing

TCP/IP Protocol Suite and IP Addressing TCP/IP Protocol Suite and IP Addressing CCNA 1 v3 Module 9 10/11/2005 NESCOT CATC 1 Introduction to TCP/IP U.S. DoD created the TCP/IP model. Provides reliable data transmission to any destination under

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol 1 Orientation IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network Layer ARP Network Access Link Layer Media 2 IP:

More information

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land IPv6 1 IPv4 & IPv6 Header Comparison IPv4 Header IPv6 Header Ver IHL Type of Service Total Length Ver Traffic Class Flow Label Identification Flags Fragment Offset Payload Length Next Header Hop Limit

More information

The Internet Protocol (IP)

The Internet Protocol (IP) The Internet Protocol (IP) The Blood of the Internet (C) Herbert Haas 2005/03/11 "Information Superhighway is really an acronym for 'Interactive Network For Organizing, Retrieving, Manipulating, Accessing

More information

4. Basic IP Support Protocols

4. Basic IP Support Protocols 4. Basic IP Support Protocols There are a number of protocols that support the operation of IP. This section will only discuss the most basic three: ICMP, RARP, and ARP. Other more sophisticated protocols

More information

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis Session 8. TCP/IP Dongsoo S. Kim (dskim@iupui.edu) Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis IP Packet 0 4 8 16 19 31 Version IHL Type of Service Total Length Identification

More information

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local 1 v4 & v6 Header Comparison v6 Ver Time to Live v4 Header IHL Type of Service Identification Protocol Flags Source Address Destination Address Total Length Fragment Offset Header Checksum Ver Traffic Class

More information

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018 CS 43: Computer Networks 21: The Network Layer & IP November 7, 2018 The Network Layer! Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network: routing

More information

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG Lecture 2: Internet Protocol (IP) Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 2-1 Network Layer Provides the upper layers with independence from the data

More information

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964 The requirements for a future all-digital-data distributed network which provides common user service for a wide range of users having different requirements is considered. The use of a standard format

More information

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP IP ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP Peter R. Egli 1/37 Contents 1. IP Routing 2. Routing Protocols 3. Fragmentation in the IP Layer 4. Proxy ARP 5. Routing and IP forwarding

More information

CHAPTER-2 IP CONCEPTS

CHAPTER-2 IP CONCEPTS CHAPTER-2 IP CONCEPTS Page: 1 IP Concepts IP is a very important protocol in modern internetworking; you can't really comprehend modern networking without a good understanding of IP. Unfortunately, IP

More information

Planning for Information Network

Planning for Information Network Planning for Information Network Lecture 7: Introduction to IPv6 Assistant Teacher Samraa Adnan Al-Asadi 1 IPv6 Features The ability to scale networks for future demands requires a limitless supply of

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2011 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Topics This week: Network layer (IP, ARP, ICMP) Next week: More network layer (Routers and routing protocols)

More information

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Lecture 3. The Network Layer (cont d) Network Layer 1-1 Lecture 3 The Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router? Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets

More information

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax. The Network Layer Nixu Oy PL 21 (Mäkelänkatu 91) 00601 Helsinki, Finland tel. +358 9 478 1011 fax. +358 9 478 1030 info@nixu.fi http://www.nixu.fi OVERVIEW The Internet Protocol IP addresses, address resolution

More information

EEC-484/584 Computer Networks

EEC-484/584 Computer Networks EEC-484/584 Computer Networks Lecture 13 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of lecture 12 Routing Congestion

More information

(ICMP), RFC

(ICMP), RFC Internet et Control o Message Protocol (ICMP), RFC 792 http://icourse.cuc.edu.cn/networkprogramming/ linwei@cuc.edu.cn Nov. 2009 Overview The IP (Internet Protocol) relies on several other protocols to

More information

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi). Assignments Reading for Lecture 9: Section 3.3 3.2 Basic Internetworking (IP) Bridges and LAN switches from last section have limited ability CS475 Networks Lecture 8 Chapter 3 Internetworking is a logical

More information

Communication Systems DHCP

Communication Systems DHCP Communication Systems DHCP Computer Science Copyright Warning This lecture is already stolen If you copy it please ask the author Prof. Dr. Gerhard Schneider like I did 2 Internet Protocol the Universal

More information

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking. Outline 5-44 Computer Networking Lecture 9 Protocol Traditional addressing CIDR addressing Peter Steenkiste Departments of Computer Science and Electrical and Computer Engineering Forwarding examples 5-44

More information

IP Protocols. ALTTC/Oct

IP Protocols. ALTTC/Oct IP Protocols Internet or IP technology over the years has emerged as the most prominent data communication technology. TCP/IP protocol has become de-facto data comm standard throughout the world. It can

More information

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols Guide to Networking Essentials, 6 th Edition Chapter 5: Network Protocols Objectives Describe the purpose of a network protocol, the layers in the TCP/IP architecture, and the protocols in each TCP/IP

More information

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab bacademy for Science &T Technology and Maritime Transport Internet Protocol Suite IP Suite Dr.

More information

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at the data link layer. To describe how the mapping of a

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.13 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram

More information

Operational Security Capabilities for IP Network Infrastructure

Operational Security Capabilities for IP Network Infrastructure Operational Security Capabilities F. Gont for IP Network Infrastructure G. Gont (opsec) UTN/FRH Internet-Draft September 1, 2008 Intended status: Informational Expires: March 5, 2009 Status of this Memo

More information

Chapter 19 Network Layer: Logical Addressing

Chapter 19 Network Layer: Logical Addressing Chapter 19 Network Layer: Logical Addressing 19.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 19.2 19-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address

More information

Internetwork Protocols

Internetwork Protocols Internetwork Protocols Background to IP IP, and related protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection of communications

More information

Internetworking Part 2

Internetworking Part 2 CMPE 344 Computer Networks Spring 2012 Internetworking Part 2 Reading: Peterson and Davie, 3.2, 4.1 19/04/2012 1 Aim and Problems Aim: Build networks connecting millions of users around the globe spanning

More information

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 4 The Network Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6 RMIT University Data Communication and Net-Centric Computing COSC 1111/2061 Internetworking IPv4, IPv6 Technology Slide 1 Lecture Overview During this lecture, we will understand The principles of Internetworking

More information

K2289: Using advanced tcpdump filters

K2289: Using advanced tcpdump filters K2289: Using advanced tcpdump filters Non-Diagnostic Original Publication Date: May 17, 2007 Update Date: Sep 21, 2017 Topic Introduction Filtering for packets using specific TCP flags headers Filtering

More information

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS 1. General (5p) a) The so-called hourglass model (sometimes referred to as a wine-glass ) has been used

More information

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC Internet Control Message Protocol (ICMP), RFC 79 Prof Lin Weiguo Copyleft 009~07, School of Computing, CUC Oct 07 Overview } The IP (Internet Protocol) relies on several other protocols to perform necessary

More information

HY 335 Φροντιστήριο 8 ο

HY 335 Φροντιστήριο 8 ο HY 335 Φροντιστήριο 8 ο Χειμερινό Εξάμηνο 2009-2010 Παπακωνσταντίνου Άρτεμις artpap@csd.uoc.gr 4/12/2009 Roadmap IP: The Internet Protocol IPv4 Addressing Datagram Format Transporting a datagram from source

More information

TCP /IP Fundamentals Mr. Cantu

TCP /IP Fundamentals Mr. Cantu TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:

More information

Information Network Systems The network layer. Stephan Sigg

Information Network Systems The network layer. Stephan Sigg Information Network Systems The network layer Stephan Sigg Tokyo, November 1, 2012 Error-detection and correction Decoding of Reed-Muller codes Assume a second order (16, 11) code for m = 4. The r-th order

More information

Chapter 5 TCP/IP SUITE

Chapter 5 TCP/IP SUITE Chapter 5 TCP/IP SUITE Objectives:- TCP/ IP Model Concept. Defining/functioning of different Layers of TCP / IP suite. 5.1 Introduction Addressing mechanism in the Internet An IP address is an address

More information