The Network Layer and the Internet Protocol. Nixu Ltd.
|
|
- Aron Bruce
- 7 years ago
- Views:
Transcription
1 The Network Layer and the Internet Protocol Nixu Ltd.
2 OVERVIEW The Internet Protocol IP addresses, address resolution IP in LAN environment Static routing Dynamic routing Nixu Ltd. 2/48 The Network Layer and the Internet Protocol
3 Network Layer Network layer packets are transmitted from the sending network entity all the way to the reciever, spanning several LANs and data link layer technologies There are several network layer protocols Internet Protocol (IP) is currently the most common one X.25 is almost obsolete Provides realiable, connection oriented packet networking Nixu Ltd. 3/48 The Network Layer and the Internet Protocol
4 IP IP = The Internet Protocol Defined in RFC 791 IP sends simple datagrams over network. It provides unreliable and connectionless delivery service. unreliable = no guarantees, ICMP error messages connectionless = each packet is routed separately Large IP packets may be fragmented and reassembled in transmission Nixu Ltd. 4/48 The Network Layer and the Internet Protocol
5 IP Packet Format versi on hdr len type of service total length identification flags fragmentation offset time to live protocol header checksum source IP address destination IP address options... data padding Normal size for IP header is 20 bytes, plus options & padding. Nixu Ltd. 5/48 The Network Layer and the Internet Protocol
6 IP Packet Format Version is 4 until IPv6 comes. Type of Service contains quality parameters, like maximize throughput or reliability. Often not implemented. Identification is set by sending host to unique value for each sent IPpacket, usually this is an incremental counter. Flags tell if this packet is fragmented or if this packet should not be fragmented Fragment offset tells how far from the head of original datagram this fragment is Time to Live is decremented by one by every router passed. When 0 is reached, the packet is discarded and an ICMP-message sent back. Protocol may be TCP, UDP, ICMP or one of several others Options are rarely used and not widely supported. They are loose and strict source routing, route recording and timestamping and military security options (RFC 1108). Nixu Ltd. 6/48 The Network Layer and the Internet Protocol
7 IP Addresses IP address identifies a network interface. A host can have several interfaces. Current length 32 bits (IPv4). Future length (IPv6) 128 bits. General syntax: 4 components separated by dots ( dotted quad ) decimal numbers (0-255) for example: Addresses have two components, the network id and the host id. Nixu Ltd. 7/48 The Network Layer and the Internet Protocol
8 Address Classes A B C D E 1 7 network host network host 21 8 network host 28 multicast address 27 reserved for future use first byte: Nixu Ltd. 8/48 The Network Layer and the Internet Protocol
9 Address Classes The network part of the address is used to route a packet to the right LAN The host part tells which host on a LAN should recieve the packet If a host is sending a packet to an address, which network part is not same as the sender s the packet is sent to a gateway (router), if the network part is same, the packet is sent to the LAN There isonly a small number of class A networks but they can have many hosts Class B networks are almost all taken There are quite a few class C networks but they can only have 254 hosts each Class based routing is now mostly obsolete and replaced by clasless routing (CIDR) Nixu Ltd. 9/48 The Network Layer and the Internet Protocol
10 CIDR (Classless InterDomain Routing) Arbitrary length host and network fields instead of A, B and C classes Commonly used to make superblocks of C classes for routing (aka. supernetting) In the future may be used to split unused A classes Network mask marks the boundary For example /22 netmask is The number after the slash (/) tells how many bits in the mask are 1, the rest are 0 RFC 1518, 1519 Nixu Ltd. 10/48 The Network Layer and the Internet Protocol
11 Special Addresses is used for "any" or "no" IP address is local broadcast address 127 followed by hostid is the loopback address E.g netid followed by all zeros is the network address E.g /24 netid followed by all ones is network broadcast address E.g /24 Nixu Ltd. 11/48 The Network Layer and the Internet Protocol
12 Subnetting Large networks are often divided into smaller units Subnetting hides the details of internal network organization for example, /16 ( hosts) could be subnetted to /24 (2 8 subnets with hosts in each) netid subnetid hostid default netmask subnet mask host IP address AND network mask = network IP address Nixu Ltd. 12/48 The Network Layer and the Internet Protocol
13 ICMP ICMP = Internet Control Message Protocol Defined in RFC 792 ICMP packet syntax TYPE CODE CHECKSUM DATA Type identifies the message: echo request, echo reply, destination unreachable, etc. Code defines the reason: host unreachable, port unreachable, etc. Data contains part of the IP packet that caused the error. Nixu Ltd. 13/48 The Network Layer and the Internet Protocol
14 ICMP ICMP messages are transmitted in IP datagrams. IP header ICMP header ICMP data Communicates error messages and other conditions that require attention. Can be utilized to track network infrastructure (ping, traceroute). Nixu Ltd. 14/48 The Network Layer and the Internet Protocol
15 IP on LAN Usually one physical segment = one IP network Each IP network has a network address and a broadcast address Problem: IP addresses only make sense to the TCP/IP protocol suite, not to the hardware interface Solution: ARP maps IP addresses to hardware addresses If a booting host doesn t know its IP address, RARP, BOOTP or DHCP can be used Nixu Ltd. 15/48 The Network Layer and the Internet Protocol
16 IP on LAN Host interfaces must be activated Loopback interface: ifconfig lo Ethernet interface: ifconfig eth broadcast \ netmask Other interfaces Default route route add default Nixu Ltd. 16/48 The Network Layer and the Internet Protocol
17 IP on LAN gato tsilven 6$ ifconfig -a lo Link encap:local Loopback inet addr: Bcast: Mask: UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 eth0 Link encap:ethernet HWaddr 00:60:08:06:2A:36 inet addr: Bcast: Mask: UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets: errors:0 dropped:0 overruns:0 frame:0 TX packets:43770 errors:0 dropped:0 overruns:0 carrier:0 collisions:20 Interrupt:5 Base address:0x6c00 gato tsilven 7$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Iface U 1500 eth U 3584 lo UG 1500 eth0 Nixu Ltd. 17/48 The Network Layer and the Internet Protocol
18 ARP (Address Resolution Protocol) A host finds other hosts by broadcasting an ARP query for the IP address The host with correct IP address replies with its hardware address The address pair is added to receivers dynamic ARP cache Features: proxy ARP, gratuitous ARP RFC 826 Nixu Ltd. 18/48 The Network Layer and the Internet Protocol
19 ARP Packet Format hard type prot type hard size prot size OP sender MAC address sender IP address target MAC address target IP address Encapsulated into link layer frame Data always 28 bytes hard type = hardware address type (0x0001 = Ethernet) prot type = protocol address type (0x0800 = IP) OP = operation (ARP/RARP request/reply) Nixu Ltd. 19/48 The Network Layer and the Internet Protocol
20 ARP, an Example gato tsilven 15$ arp -a jalopeno.nixu.fi ( ) at 08:00:20:74:F1:2C [ether] on eth0 fajitas.nixu.fi ( ) at 08:00:20:18:06:14 [ether] on eth0 tapas.nixu.fi ( ) at 08:00:09:6D:B6:44 [ether] on eth0 gato tsilven 16$ ping PING ( ): 56 data bytes 64 bytes from : icmp_seq=0 ttl=64 time=3.0 ms 64 bytes from : icmp_seq=1 ttl=64 time=0.7 ms ping statistics packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.7/1.8/3.0 ms gato tsilven 17$ arp -a jalopeno.nixu.fi ( ) at 08:00:20:74:F1:2C [ether] on eth0 sueno.nixu.fi ( ) at 00:60:08:54:2D:D9 [ether] on eth0 fajitas.nixu.fi ( ) at 08:00:20:18:06:14 [ether] on eth0 tapas.nixu.fi ( ) at 08:00:09:6D:B6:44 [ether] on eth0 Nixu Ltd. 20/48 The Network Layer and the Internet Protocol
21 ARP, an Example bash-2.02# tcpdump -i eth0 -n -t -q\ host tcpdump: listening on eth0 arp who-has tell arp reply is-at 0:60:8:54:2d:d > : icmp: echo request > : icmp: echo reply > : icmp: echo request > : icmp: echo reply 6 packets received by filter 0 packets dropped by kernel Nixu Ltd. 21/48 The Network Layer and the Internet Protocol
22 Bootstrapping an IP host in the LAN RARP (Reverse ARP), a host broadcasts its hardware address and receives an IP address to use as its own BOOTP (Bootstrap Protocol) is better: IP address and other information can be given Both now replaced by DHCP (Dynamic Host Configuration Protocol) Nixu Ltd. 22/48 The Network Layer and the Internet Protocol
23 DHCP DHCP (Dynamic Host Configuration Protocol) extends BOOTP: automatic assignment of (permanent) IP addresses dynamic assignment for a limited time Extends vendor-specific area from 64 to 312 bytes RFC 1531 Supports distributed configuration Message forwarding or local servers Not a trivial service to configure for large installations Nixu Ltd. 23/48 The Network Layer and the Internet Protocol
24 DHCP Messages are sent using UDP over IP Server in port 67, client in port 68 The DHCP server on the LAN segment is found using a boradcast First packet to from (client does not know its own address) Message types: DISCOVER, OFFER, REQUEST, DECLINE, ACK, NAK, RELEASE The server returns all necessary information IP address, netmask, gateway to the client DNS server s address also Address assingment for limited time or permanently The IP address can be from a pool or static Nixu Ltd. 24/48 The Network Layer and the Internet Protocol
25 DHCP Event Diagram Server1 Client Server2 DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPACK DHCPRELEASE Nixu Ltd. 25/48 The Network Layer and the Internet Protocol
26 Static Routing When host has an IP datagram to send, it checks the routing table for the correct destination When a host receives an IP datagram, it checks datagram s destination address if there is a match, IP layer deliveres the datagram to correct protocol module else the datagram is silently discarded A (Unix) system can be configured to act as a router in addition to acting as a host routers can forward IP datagrams from one of its interfaces to another Nixu Ltd. 26/48 The Network Layer and the Internet Protocol
27 Router Router is a network component, which passes traffic between networks Two or more network interfaces connected to networks or to other routers For each and every given destination address, router must be able to make routing decision Where (to what interface) I send this packet? Routing decision might also be: No such destination, cannot send This applies also to workstations and servers even though they usually have only one network interface Routing decisions are based on routing table Data structure, which contains information about possible destinations Nixu Ltd. 27/48 The Network Layer and the Internet Protocol
28 Routing Table, an Example gato tsilven 19$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Iface U 1500 eth U 3584 lo UG 1500 eth0 Nixu Ltd. 28/48 The Network Layer and the Internet Protocol
29 Routing table Can be fixed (configured by hand to each device) Static routing Common at the edges of the network, workstations, servers Not feasible on big and redundant networks Usually very robust Nixu Ltd. 29/48 The Network Layer and the Internet Protocol
30 Routing table... Can also be dynamic (configured by hand, distributed automatically) Routers exchange information using routing protocols Routing protocol events (routing updates) affect directly to routing table. This causes interesting dynamic problems Debugging can be painful Nixu Ltd. 30/48 The Network Layer and the Internet Protocol
31 Routing table contents For each destination, routing table contains Addresses for this destination Might be some kind of wild card, e.g. all destinations not mentioned elsewhere in routing table (default route) Usually expressed as network number / mask E.g / 24 (class C network, 24 network bits) Modern routing mechanisms are classless, any number of network bits allowed Old-fashioned implementations usually are more or less classbound. Next hop (where to send traffic to this destination) Additional information (cost and/or other administrative information) Nixu Ltd. 31/48 The Network Layer and the Internet Protocol
32 Routing table contents... In practice, most transit providers accept only routes with 24 or less network bits E.g. no routes smaller than class C are accepted Now backbone transit providers are moving towards allowing /16 networks Usually called superblocks (254 C classes) The routing table has usually a cost associated to each link Not a monetary cost, more like a preference (lowest preferred) Nixu Ltd. 32/48 The Network Layer and the Internet Protocol
33 Routing table... Common case: LAN connected to Internet using serial line Internet s0 R e /24 Routing table is very simple, typical case for static routing: Destination Next hop Comment /24 e0 Local LAN (Ethernet) * s0 Serial line to Internet (default route) Nixu Ltd. 33/48 The Network Layer and the Internet Protocol
34 Routing table... When amount of routers and redundant links increase to non-trivial numbers, something more flexible is needed Inet L2, 2 Mbps R1 L1, 2M bps /24 R2 L3, 64 kbps s1 e0 s0 R /24 Static routing can not handle redundant links nor link faults Except on some environments (and even there unreliable) Nixu Ltd. 34/48 The Network Layer and the Internet Protocol
35 Routing table... Routing table for router R3 Destination Next hop Cost Comment /24 e0 0 Directly connected /24 s0 1 Fastest route /24 s1 10 Backup via R2 * s0 1 Fastest route via R1 * s1 10 Slower Cost added to routing table, priorisation of redundant routes How we can know which links are up? Routing protocol again! Nixu Ltd. 35/48 The Network Layer and the Internet Protocol
36 Routing table... What if we can not have default route at all? Internet "backbone" Multihomed network Internet connections from many (> 1) ISPs In this case routing table will be very big And it changes practically all the time Practical example on Internet router ( ) prefixes (routes) Routes consume 16MB of memory Realistic minimum memory for router 64MB Nixu Ltd. 36/48 The Network Layer and the Internet Protocol
37 Routing protocols Routers can talk to other routers and find out the network topology Which paths are available to which networks Which path should be preferred Routing protocols transport information, not IP packets Routing protocols can be divided by algorithm or by area By algorithm: No routing protocol (static routes) Link state protocols (SPF) Distance vector protocols (Bellman-Ford) By area: Routing protocols used internally by one AS, Interior Gateway Protocols Routing protocols used between ASes, Exterior Gateway Protocols Nixu Ltd. 37/48 The Network Layer and the Internet Protocol
38 Distance vector protocols Also known as Bellman-Ford Routers send their entire routing table to their neighbouring routers at regular intervals The routing table is updated based on the information (costs) received from neighbour routers. Only one route to given destination is known at any given time Although changes in network topology change routing table Generally does not scale well Nixu Ltd. 38/48 The Network Layer and the Internet Protocol
39 Link state protocols Also known as SPF (Shortest Path First) Router sends link state messages to other routers in the network. These packets are flooded to all routers When a router receives link state packet it Builds a table of all routers and networks Each router knows full network topology Calculates the best route to every network Usually the shortest path Link state information originates from node, which is "responsible" for the link E.g. nodes connected to that link Nixu Ltd. 39/48 The Network Layer and the Internet Protocol
40 Internal routing protocols Internal routing is routing within one Autonomous System (AS) RIP Routing Information Protocol Old, simple and limited distance-vector protocol > 10 years old RIP-2 Addresses some shortcomings of RIP (E)IGRP (Extended) Interior Gateway Routing Protocol Newer and better distance-vector protocol Proprietary protocol of Cisco Nearly as complex as OSPF Nixu Ltd. 40/48 The Network Layer and the Internet Protocol
41 Internal routing protocols... OSPF Open Shortest Path First Complex but good link-state protocol Developed and recommended by IETF for Internet Good selection of metrics Concept of areas Nixu Ltd. 41/48 The Network Layer and the Internet Protocol
42 External routing protocols External routing is routing between Autonomous Systems Autonomous System is a set of routers and networks under the same administration. Without the concept of AS Internet-routing would become impossible: too many networks. AS3 AS1 AS2 Nixu Ltd. 42/48 The Network Layer and the Internet Protocol
43 External routing protocols... Old protocol: EGP Exterior Gateway Protocol organizes the exchange of reachability information several problems in large networks (looping etc.) New protocol: BGP Border Gateway Protocol Path-vector concept prevents looping Route filtering Usually a must because somebody will always advertise bogus routes. Nixu Ltd. 43/48 The Network Layer and the Internet Protocol
44 BGP Current version BGP-4 Used between ASes Users: ISPs, transit providers, corporations, multihomed networks Every IP address belongs to one AS For each destination, we find shortest AS path Typical implementation contains gazillion tuning options Route filtering, route advertising, route using, neighborhood,... On some occasions, supports even load balancing Nixu Ltd. 44/48 The Network Layer and the Internet Protocol
45 What routing protocols to implement? RIP Everybody speaks RIP (if anything) Suitable for small environments Simple OSPF Good features Widely used in large environments BGP The external routing protocol Nixu Ltd. 45/48 The Network Layer and the Internet Protocol
46 Special Addresses On the Internet there is an agreement that some addresses are not routed to the backbone / / /12 These addresses are called private networks and used for NAT (Network Address Translation) Nixu Ltd. 46/48 The Network Layer and the Internet Protocol
47 Common routing problems Missing default route On statically routed environments Configuration faults On many platforms, syntax of configuration commands is very hard to manage and/or confusing On some environments, route filtering is a must because some parties advertise bogus routes Routing protocols do not usually have security features Rotten software Some vendors distribute alpha-quality software Bad documentation Nixu Ltd. 47/48 The Network Layer and the Internet Protocol
48 Common routing problems... Lack of expertise Very small amount of Internet specialists actually can manage routing configurations, esp. in non-trivial cases Better documentation needed Bad performance Internet grows all the time and router manufacturers barely keep up with the developments On some environments, some router features (e.g. ACLs) can not be used because of performance issues Nixu Ltd. 48/48 The Network Layer and the Internet Protocol
IP 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 informationLecture 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 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 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 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 informationTCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline
OSI Seven Layer Model & Seminar Outline TCP/IP Fundamentals This seminar will present TCP/IP communications starting from Layer 2 up to Layer 4 (TCP/IP applications cover Layers 5-7) IP Addresses Data
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 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 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 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 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 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 informationComputer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław
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 In previous lectures We learned about layer 1
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 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 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 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 informationTroubleshooting Tools
Troubleshooting Tools An overview of the main tools for verifying network operation from a host Fulvio Risso Mario Baldi Politecnico di Torino (Technical University of Turin) see page 2 Notes n The commands/programs
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 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 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 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 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 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 informationBASIC TCP/IP NETWORKING
ch01 11/19/99 4:20 PM Page 1 CHAPTER 1 BASIC TCP/IP NETWORKING When you communicate to someone or something else, you need to be able to speak a language that the listener understands. Networking requires
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 informationRoute Discovery Protocols
Route Discovery Protocols Columbus, OH 43210 Jain@cse.ohio-State.Edu http://www.cse.ohio-state.edu/~jain/ 1 Overview Building Routing Tables Routing Information Protocol Version 1 (RIP V1) RIP V2 OSPF
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 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 informationNETWORK LAYER/INTERNET PROTOCOLS
CHAPTER 3 NETWORK LAYER/INTERNET PROTOCOLS You will learn about the following in this chapter: IP operation, fields and functions ICMP messages and meanings Fragmentation and reassembly of datagrams IP
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 informationHOST AUTO CONFIGURATION (BOOTP, DHCP)
Announcements HOST AUTO CONFIGURATION (BOOTP, DHCP) I. HW5 online today, due in week! Internet Protocols CSC / ECE 573 Fall, 2005 N. C. State University copyright 2005 Douglas S. Reeves 2 I. Auto configuration
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 informationIP Routing Features. Contents
7 IP Routing Features Contents Overview of IP Routing.......................................... 7-3 IP Interfaces................................................ 7-3 IP Tables and Caches........................................
More informationIntroduction to TCP/IP
Introduction to TCP/IP Raj Jain The Ohio State University Columbus, OH 43210 Nayna Networks Milpitas, CA 95035 Email: Jain@ACM.Org http://www.cis.ohio-state.edu/~jain/ 1 Overview! Internetworking Protocol
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 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 informationChapter 4 Network Layer
Chapter 4 Network Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete
More informationSUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com
Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com SUPPORT DE COURS Matière : Réseaux 2 Niveau : 3 ème Année Licence en Informatique Option : Réseaux et
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 informationInternet Firewall CSIS 4222. Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS 4222. net15 1. Routers can implement packet filtering
Internet Firewall CSIS 4222 A combination of hardware and software that isolates an organization s internal network from the Internet at large Ch 27: Internet Routing Ch 30: Packet filtering & firewalls
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 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 informationInternet Protocol version 4 Part I
Internet Protocol version 4 Part I Claudio Cicconetti International Master on Information Technology International Master on Communication Networks Engineering Table of Contents
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 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 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 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 informationComputer Networks. Main Functions
Computer Networks The Network Layer 1 Routing. Forwarding. Main Functions 2 Design Issues Services provided to transport layer. How to design network-layer protocols. 3 Store-and-Forward Packet Switching
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 informationApplication Protocols for TCP/IP Administration
Application Protocols for TCP/IP Administration BootP, TFTP, DHCP Agenda BootP TFTP DHCP BootP, TFTP, DHCP, v4.4 2 Page 60-1 BootP (RFC 951, 1542, 2132) BootP was developed to replace RARP capabilities
More informationRouter and Routing Basics
Router and Routing Basics Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1 Routing Protocols and Concepts CCNA2 Routing and packet forwarding Static routing Dynamic
More informationNetwork Protocol Configuration
Table of Contents Table of Contents Chapter 1 Configuring IP Addressing... 1 1.1 IP Introduction... 1 1.1.1 IP... 1 1.1.2 IP Routing Protocol... 1 1.2 Configuring IP Address Task List... 2 1.3 Configuring
More informationNetwork Layer: Address Mapping, Error Reporting, and Multicasting
CHAPTER 21 Network Layer: Address Mapping, Error Reporting, In Chapter 20 we discussed the Internet Protocol (IP) as the main protocol at the network layer. IP was designed as a best-effort delivery protocol,
More informationCS335 Sample Questions for Exam #2
CS335 Sample Questions for Exam #2.) Compare connection-oriented with connectionless protocols. What type of protocol is IP? How about TCP and UDP? Connection-oriented protocols Require a setup time to
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 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 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 informationEthernet. Ethernet. Network Devices
Ethernet Babak Kia Adjunct Professor Boston University College of Engineering ENG SC757 - Advanced Microprocessor Design Ethernet Ethernet is a term used to refer to a diverse set of frame based networking
More informationChapter 13 Internet Protocol (IP)
Chapter 13 Internet Protocol (IP) Introduction... 13-5 IP Packets... 13-5 Addressing... 13-7 Subnets... 13-8 Assigning an IP Address... 13-9 Multihoming... 13-11 Local Interfaces... 13-11 Address Resolution
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 informationA DHCP Primer. Dario Laverde, dario@mediatracker.com. 2002 Dario Laverde
A DHCP Primer Dario Laverde, dario@mediatracker.com 2002 Dario Laverde Dynamic Host Configuration Protocol DHCP Client DHCP DHCP Server Dynamic Host Configuration consists of at least an IP address in
More informationCisco Configuring Commonly Used IP ACLs
Table of Contents Configuring Commonly Used IP ACLs...1 Introduction...1 Prerequisites...2 Hardware and Software Versions...3 Configuration Examples...3 Allow a Select Host to Access the Network...3 Allow
More informationInternet Control Message Protocol (ICMP)
SFWR 4C03: Computer Networks & Computer Security Jan 31-Feb 4, 2005 Lecturer: Kartik Krishnan Lecture 13-16 Internet Control Message Protocol (ICMP) The operation of the Internet is closely monitored by
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 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 informationNetwork Layer: Network Layer and IP Protocol
1 Network Layer: Network Layer and IP Protocol Required reading: Garcia 7.3.3, 8.1, 8.2.1 CSE 3213, Winter 2010 Instructor: N. Vlajic 2 1. Introduction 2. Router Architecture 3. Network Layer Protocols
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 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 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 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 information2057-15. First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring
2057-15 First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring 7-25 September 2009 TCP/IP Networking Abhaya S. Induruwa Department
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 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 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 informationInternet Architecture and Philosophy
Internet Architecture and Philosophy Conceptually, TCP/IP provides three sets of services to the user: Application Services Reliable Transport Service Connectionless Packet Delivery Service The underlying
More informationChapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)
Chapter 3 TCP/IP Networks 3.1 Internet Protocol version 4 (IPv4) Internet Protocol version 4 is the fourth iteration of the Internet Protocol (IP) and it is the first version of the protocol to be widely
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 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 informationHomework 3 TCP/IP Network Monitoring and Management
Homework 3 TCP/IP Network Monitoring and Management Hw3 Assigned on 2013/9/13, Due 2013/9/24 Hand In Requirement Prepare a activity/laboratory report (name it Hw3_WebSys.docx) using the ECET Lab report
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 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 informationITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1
IP Routing Primer Paul C. Huang, Ph.D. ITRI / / N300 /N300; Paul Huang 1999/6/2 1 Basic Addressing / Subnetting Class A 0 Network Host Host Host 127 networks / 16,777,216 hosts Class A natural mask 255.0.0.0
More informationHow To Write A Boot(Ing) Protocol On A Microsoft Ipnet (Net) (Netnet) On A Network (Ipnet) With A Network Address) (Ip Address) On An Ip Address (Ipaddress) On Your Ip
Boot(ing) protocols From (R)ARP to BSDP dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 12, 2008 dr. C. P. J. Koymans (UvA) Boot(ing) protocols September 12, 2008 1 / 25 ARP
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 information100-101: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)
100-101: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1) Course Overview This course provides students with the knowledge and skills to implement and support a small switched and routed network.
More informationCSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics
CSC458 Lecture 6 Inter-domain Routing IP Addressing Stefan Saroiu http://www.cs.toronto.edu/syslab/courses/csc458 University of Toronto at Mississauga Homework #1 Grades Fraction of Students 100 80 60
More informationLayer 3 Routing User s Manual
User s Manual Second Edition, July 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. User s Manual The software described in this manual is furnished under a license agreement and may be used
More informationIP Routing Configuring RIP, OSPF, BGP, and PBR
13 IP Routing Configuring RIP, OSPF, BGP, and PBR Contents Overview..................................................... 13-6 Routing Protocols.......................................... 13-6 Dynamic Routing
More informationClassful IP Addressing. Classless Addressing: CIDR. Routing & Forwarding: Logical View of a Router. IP Addressing: Basics
Switching and Forwarding Switching and Forwarding Generic Router rchitecture Forwarding Tables: ridges/layer Switches; VLN Routers and Layer 3 Switches Forwarding in Layer 3 (Network Layer) Network Layer
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 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 informationRouting with OSPF. Introduction
Routing with OSPF Introduction The capabilities of an internet are largely determined by its routing protocol. An internet's scalability, its ability to quickly route around failures, and the consumption
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 informationIndian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology
Indian Institute of Technology Kharagpur TCP/IP Part I Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 3: TCP/IP Part I On completion, the student
More informationGregSowell.com. Mikrotik Routing
Mikrotik Routing Static Dynamic Routing To Be Discussed RIP Quick Discussion OSPF BGP What is Routing Wikipedia has a very lengthy explanation http://en.wikipedia.org/wiki/routing In the context of this
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 informationWorkshop on Scientific Applications for the Internet of Things (IoT) March 16-27 2015
Workshop on Scientific Applications for the Internet of Things (IoT) March 16-27 2015 IPv6 in practice with RPi Alvaro Vives - alvaro@nsrc.org Contents 1 Lab topology 2 IPv6 Configuration 2.1 Linux commands
More informationHands On Activities: TCP/IP Network Monitoring and Management
Hands On Activities: TCP/IP Network Monitoring and Management 1. TCP/IP Network Management Tasks TCP/IP network management tasks include Examine your physical and IP network address Traffic monitoring
More information