Variable length subnetting

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "2.1.2.2.2 Variable length subnetting"

Transcription

1 Variable length subnetting Variable length subnetting or variable length subnet masks (VLSM) allocated subnets within the same network can use different subnet masks. Advantage: conserves the network addresses. An existing subnet can be split into two parts by adding another bit to the subnet portion of the subnet mask. Other subnets in the network are unaffected by the change.

2 Variable length subnetting (contin.) Exemple of a class B network division into variable length subnets. the class B network /16. the requirement to split this address range into five separate networks each with the following number of hosts: subnet 1, subnet 2, subnet 3, subnet 4, and subnet hosts each, while subnet 6 and subnet hosts each. This cannot be achieved with static subnetting. For this example, static subnetting divides the network into 6 subnets each with 8190 hosts or 14 subnets each with 4094 hosts. Using a mask of (or /19 ), the network can be divided into 6 subnets each with 8190 hosts. The sixth subnet can be further divided into two subnets each with 4094 hosts by using a mask of (or /20 ).

3 Variable length subnetting (contin.) Exemple of a class B network division into variable length subnets (contin) = /16 (class B network) = (subnets 1-5 mask, or /19 ) = /19 (subnet 1) = /19 (subnet 2) = /19 (subnet 3) = /19 (subnet 4) = /19 (subnet 5) = /19 (non-divided) = (subnets 6,7 mask, or /20 ) = /20 (subnet 6) = /20 (subnet 7)

4 2.1.3 Methods of packet delivery The majority of IP addresses refer to a single recipient, this is called a unicast address. Additionally, there are three special types of IP addresses used for addressing multiple recipients: broadcast addresses, multicast addresses, and anycast addresses.

5 Broadcasting Broadcast addresses are never valid as a source address. They must specify the destination address. The different types of broadcast addresses include: Limited broadcast address: This uses the address (all bits 1 in all parts of the IP address). It refers to all hosts on the local subnet. This is recognized by every host. The hosts do not need any IP configuration information. Routers do not forward this packet. Network-directed broadcast address: This is used in an unsubnetted environment. The network number is a valid network number and the host number is all ones (for example, ). This address refers to all hosts on the specified network. Routers should forward these broadcast messages. Subnet-directed broadcast address: If the network number is a valid network number, the subnet number is a valid subnet number, and the host number is all ones, the address refers to all hosts on the specified subnet. Because the sender's subnet and the target subnet might have a different subnet mask, the sender must somehow determine the subnet mask in use at the target. The broadcast is performed by the router that receives the datagram into the subnet.

6 Broadcasting (contin.) All-subnets-directed broadcast address: If the network number is a valid network number, the network is subnetted, and the local part is all ones (for example, ), the address refers to all hosts on all subnets in the specified network. In principle, routers can propagate broadcasts for all subnets but are not required to do so.

7 Multicasting The multiple destination transmission (multicast) method is based on the definition of destination groups. Each group is represented by a Class D IP address. For each multicast address, a set of zero or more hosts are listening for packets addressed to the address. This set of hosts is called the host group. Packets sent to a multicast address are forwarded only to the members of the corresponding host group. Multicast enables one-to-many connections.

8 Anycasting Sometimes, the same IP services are provided by different hosts. For example, a user wants to download a file using FTP and the file is available on multiple FTP servers. Hosts that implement the same service provide an anycast address to other hosts that require the service. Connections are made to the first host in the anycast address group to respond. This process is used to guarantee the service is provided by the host with the best connection to the receiver.

9 2.1.4 Intranets: Private IP addresses An approach to conserve the IP address space is to relax the rule that IP addresses must be globally unique. It reserves part of the global address space for use in networks that do not require connectivity to the Internet. Three ranges of addresses have been reserved for this purpose: : A single Class A network, through : 16 contiguous Class B networks, through : 256 contiguous Class C networks. These addresses are not globally unique they are not defined to any external routers.

10 2.1.4 Intranets: Private IP addresses (contin.) Routers in an organization using private addresses are expected to limit all references to private addresses to internal links. They should neither externally advertise routes to private addresses nor forward IP datagrams containing private addresses to external routers. Hosts having only a private IP address do not have direct IP layer connectivity to the Internet. All connectivity to external Internet hosts must be provided with application gateways. An example of such an application gateway = NAT (Network Address Translation).

11 2.1.5 Network Address Translation (NAT) Versions of NAT (Network Address Translation): basic NAT, Network Address Port Translation (NAPT). NAT provides a mapping between internal IP addresses and officially assigned external addresses.

12 NAT Principle The idea of Traditional NAT (hereafter referred to as NAT) is based on the fact that only a small number of the hosts in a private network are communicating outside of that network. If each host is assigned an IP address from the official IP address pool only when they need to communicate, only a small number of official addresses are required.

13 Basic NAT Consider an internal network that is based on the private IP address space, and the users want to use an application protocol for which there is no application gateway. The only option: to establish IP-level connectivity between hosts in the internal network and hosts on the Internet. Because the routers in the Internet would not know how to route IP packets back to a private IP address, there is no point in sending IP packets with private IP addresses as source IP addresses through a router into the Internet. Basic NAT takes the IP address of an outgoing packet and dynamically translates it to an officially assigned global address. For incoming packets, it translates the assigned address to an internal address.

14 Basic NAT (contin.)

15 Basic NAT translation mechanism For each outgoing IP packet, the source address is checked by the NAT configuration rules. If a rule matches the source address, the address is translated to a global address from the address pool. For each incoming packet, the destination address is checked if it is used by NAT. When this is true, the address is translated to the original internal address. The assigned addresses need to be reserved in a pool in order to use them when needed. If connections are established from the internal network, NAT can just pick the next free public address in the NAT pool and assign that to the requesting internal host. The NAT service keeps track of which internal IP addresses are mapped to which external IP addresses at any given point in time, so it will be able to map a response it receives from the external network into the corresponding secure IP address.

16 Basic NAT translation mechanism (contin.) When the NAT service assigns IP addresses on a demand basis, it needs to know when to return the external IP address to the pool of available IP addresses. Network administrators also need to instruct NAT whether all the internal hosts are allowed to use NAT or not.

17 Network Address Port Translation (NAPT) The difference between Basic NAT and NAPT is that Basic NAT is limited to only translating IP addresses, while NAPT is extended to include IP address and transport identifier (such as TCP/UDP port). NAPT maps private addresses to a single globally unique address. Therefore, the binding is from the private address and private port to the assigned external address and assigned port. NAPT permits multiple nodes in a local network to simultaneously access remote networks using the single IP address assigned to their router.

18 NAT limitations NAT is computing intensive even with the assistance of a sophisticated checksum adjustment algorithm, because each data packet is subject to NAT lookup and modifications.

19 2.1.6 Classless Inter-Domain Routing (CIDR) Standard IP routing understands only class A, B, and C network addresses. Within each of these networks, subnetting can be used to provide better granularity. However, there is no way to specify that multiple class C networks are related. The result of this is termed the routing table explosion problem. The solution to this problem is called Classless Inter-Domain Routing (CIDR). CIDR does not route according to the class of the network number (thus the term classless). It is based solely on the high order bits of the IP address. These bits are called the IP prefix. Each CIDR routing table entry contains a 32-bit IP address and a 32-bit network mask, which together give the length and value of the IP prefix. This is represented as the tuple <IP_address, network_mask>.

20 2.1.6 Classless Inter-Domain Routing (contin.) For example, to address a block of eight class C addresses with one single routing table entry, the following representation suffices: < >. This process of combining multiple networks into a single entry is referred to as supernetting. Routing is based on network masks that are shorter than the natural network mask of an IP address. This contrasts with subnetting where the subnet masks are longer than the natural network mask = (class C address) AND = (network mask) = (IP prefix) = (class C address) AND = (network mask) = (same IP prefix)

Internet Protocol version 4 Part I

Internet 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 information

Internet Protocol version 4

Internet Protocol version 4 Internet Protocol version 4 Claudio Cicconetti International Master on Communication Networks Engineering 2006/2007 Table of Contents IP Addressing Class-based IP addresses

More information

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface IP addressing 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

More information

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Scaling 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 information

IP Subnetting and Addressing

IP Subnetting and Addressing Indian Institute of Technology Kharagpur IP Subnetting and Addressing Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 6: IP Subnetting and Addressing

More information

Network Address Translation (NAT)

Network Address Translation (NAT) Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT. Taken from http://www.cs.virginia.edu/~itlab/ book/slides/module17-nat.ppt 1 Private Network Private IP network

More information

IP 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 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 information

Objectives. Explain the different classes of IP addresses Configure IP addresses Subdivide an IP network

Objectives. Explain the different classes of IP addresses Configure IP addresses Subdivide an IP network IP Addressing Objectives Explain the different classes of IP addresses Configure IP addresses Subdivide an IP network CCNA Guide to Cisco Networking Fundamentals, Fourth Edition 2 Objectives (continued)

More information

Data & Computer Communications. Lecture 8. Network Layer: Logical addressing. In this lecture we will cover the following topics:

Data & Computer Communications. Lecture 8. Network Layer: Logical addressing. In this lecture we will cover the following topics: Data & Computer Communications MSCEG 425 Lecture 8 Network Layer: Logical addressing Fall 2007 1 0. Overview In this lecture we will cover the following topics: 14.Network Layer: Logical addressing 14.1

More information

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing CE363 Data Communications & Networking Chapter 6 Network Layer: Logical Addressing TCP/IP and OSI model APPLICATION APPLICATION PRESENTATION SESSION TRANSPORT NETWORK Host-Network TRANSPORT NETWORK DATA

More information

Savera Tanwir. Internet Protocol

Savera Tanwir. Internet Protocol Savera Tanwir Internet Protocol The IP Protocol The IPv4 (Internet Protocol) header. IP Packet Details Header and payload Header itself has a fixed part and variable part Version IPv4, IPv5 or IPv6 IHL,

More information

Planning the Addressing Structure

Planning the Addressing Structure Planning the Addressing Structure Working at a Small-to-Medium Business or ISP Chapter 4 Copyleft 2012 Vincenzo Bruno (www.vincenzobruno.it) Released under Crative Commons License 3.0 By-Sa Cisco name,

More information

ICS 351: Today's plan

ICS 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 information

8.2 The Internet Protocol

8.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 information

IP Addressing and Routing

IP Addressing and Routing IP Addressing and Routing 1 Basic IP Addressing Each host connected to the Internet is identified by a unique IP address. An IP address is a 32-bit quantity. Expressed as a dotted-decimal notation W.X.Y.Z.

More information

Objectives. Introduction. Classful IP Addressing. IPv4 Classful Addressing Structure (RFC 790)

Objectives. Introduction. Classful IP Addressing. IPv4 Classful Addressing Structure (RFC 790) 1 Objectives VLSM and CIDR Routing Protocols and Concepts Chapters 6 and 7 Compare and contrast classful and classless IP addressing. Review VLSM and explain the benefits of classless IP addressing. Describe

More information

Chapter 19 Network Layer: Logical Addressing 19.1

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

More information

Networking IP and Convergence: Advanced TCP

Networking IP and Convergence: Advanced TCP coursemonster.com/me Networking IP and Convergence: Advanced TCP View training dates» Overview This is an in depth technical course that covers the TCPIP protocols in more detail than the Introduction

More information

Internet Protocol Address

Internet 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 information

21.4 Network Address Translation (NAT) 21.4.1 NAT concept

21.4 Network Address Translation (NAT) 21.4.1 NAT concept 21.4 Network Address Translation (NAT) This section explains Network Address Translation (NAT). NAT is also known as IP masquerading. It provides a mapping between internal IP addresses and officially

More information

Autumn Oct 21, Oct 21, 2004 CS573: Network Protocols and Standards 1 Oct 21, 2004 CS573: Network Protocols and Standards 2

Autumn Oct 21, Oct 21, 2004 CS573: Network Protocols and Standards 1 Oct 21, 2004 CS573: Network Protocols and Standards 2 IPv4 IP: Addressing, ARP, Routing Protocols and Standards Autumn 2004-2005 IP Datagram Format IPv4 Addressing ARP and RARP IP Routing Basics Subnetting and Supernetting ICMP Address Translation (NAT) Dynamic

More information

Network layer: Overview. Network layer functions IP Routing and forwarding

Network 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 information

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction Introduction Internet Address Depletion and A subnet is a subset of class A, B, or C networks IP addresses are formed of a network and host portions network mask used to separate the information Introduction

More information

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

SUBNETS, CIDR, AND CLASSLESS ADDRESSING Announcements SUBNETS, CIDR, AND CLASSLESS ADDRESSING Internet Protocols CSC / ECE 573 Fall, 005 No office hours tomorrow (Wednesday) out of town No class on Thursday Fall break! Midterm exam next Tuesday!

More information

3 IP Addressing. Version 2.1 T.O.P. BusinessInteractive GmbH Page 1 of 25

3 IP Addressing. Version 2.1 T.O.P. BusinessInteractive GmbH Page 1 of 25 3 IP Addressing Version 2.1 T.O.P. BusinessInteractive GmbH Page 1 of 25 3 IP Addressing...1 3.1 The IP Address (1/4)...3 3.1 The IP Address (2/4)...3 3.1 The IP Address (3/4)...5 3.1 The IP Address (4/4)...6

More information

IP : Internet Protocol. Introduction

IP : Internet Protocol. Introduction IP : Internet Protocol Chapters 18,19 Introduction One key aspect of virtual network is single, uniform address format Can't use hardware addresses because different technologies have different address

More information

Migrating to an IPv6 Internet while preserving IPv4 addresses

Migrating to an IPv6 Internet while preserving IPv4 addresses A Silicon Valley Insider Migrating to an IPv6 Internet while preserving IPv4 addresses Technology White Paper Serge-Paul Carrasco Abstract The Internet is running out of addresses! Depending on how long

More information

Chapter 12 Supporting Network Address Translation (NAT)

Chapter 12 Supporting Network Address Translation (NAT) [Previous] [Next] Chapter 12 Supporting Network Address Translation (NAT) About This Chapter Network address translation (NAT) is a protocol that allows a network with private addresses to access information

More information

The notation w.x.y.z is used when referring to a generalized IP address and shown in Figure 3.

The notation w.x.y.z is used when referring to a generalized IP address and shown in Figure 3. IP Addressing Each TCP/IP host is identified by a logical IP address. The IP address is a network layer address and has no dependence on the data link layer address (such as a MAC address of a network

More information

Internetworking and Internet-1. Global Addresses

Internetworking 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 information

Classful IP Addressing (cont.)

Classful IP Addressing (cont.) Classful IP Addressing (cont.) 1 Address Prefix aka Net ID defines the network Address Suffix aka Host ID defines the node In Classful addressing, prefix is of fixed length (1, 2, or 3 bytes)! Classful

More information

Network Address Translation (NAT)

Network Address Translation (NAT) Network Translation () Relates to Lab 7. Module about private networks and. 1 Network IP network is an IP network that is not directly connected to the Internet IP addresses in a private network can be

More information

TCP/IP Basis. OSI Model

TCP/IP Basis. OSI Model TCP/IP Basis 高 雄 大 學 資 訊 工 程 學 系 嚴 力 行 Source OSI Model Destination Application Presentation Session Transport Network Data-Link Physical ENCAPSULATION DATA SEGMENT PACKET FRAME BITS 0101010101010101010

More information

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming ------ IP routing

Internet 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 information

Ch.9 Classless And Subnet Address Extensions (CIDR)

Ch.9 Classless And Subnet Address Extensions (CIDR) CSC521 Communication Protocols 網 路 通 訊 協 定 Ch.9 Classless And Subnet Address Extensions (CIDR) 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Outline 1. Introduction 2. Review Of Relevant Facts 3. Minimizing Network Numbers

More information

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Efficient 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 information

Computer 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 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 information

CS 348: Computer Networks. - IP addressing; 21 st Aug 2012. Instructor: Sridhar Iyer IIT Bombay

CS 348: Computer Networks. - IP addressing; 21 st Aug 2012. Instructor: Sridhar Iyer IIT Bombay CS 348: Computer Networks - IP addressing; 21 st Aug 2012 Instructor: Sridhar Iyer IIT Bombay Think-Pair-Share: IP addressing What is the need for IP addresses? Why not have only MAC addresses? Given that

More information

IPv6 - The Next Generation Internet

IPv6 - The Next Generation Internet IPv6 - The Next Generation Internet Subnetting and Classless Inter-domain Routing (CIDR) improve utilization of IP address space and slow growth of routing information, but at some point, they will not

More information

IP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31

IP 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 information

COMP9332 Network Routing & Switching

COMP9332 Network Routing & Switching COMP9332 Network Routing & Switching IPv4 Addressing http://www.cse.unsw.edu.au/~cs9332/ 1 Lecture overview Key concepts Classful addressing Network mask Subnetting Supernetting Classless addressing Reference:

More information

COMP3331/COMP9331 Computer Networks and Applications IPv4. Lecture overview. IP addressing basics. Key concepts

COMP3331/COMP9331 Computer Networks and Applications IPv4. Lecture overview. IP addressing basics.  Key concepts COMP3331/COMP9331 Computer Networks and Applications IPv4 http://www.cse.unsw.edu.au/~cs3331/ 1 Lecture overview Key concepts Classful addressing Network mask Subnetting Supernetting Classless addressing

More information

(Refer Slide Time: 02:17)

(Refer Slide Time: 02:17) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #06 IP Subnetting and Addressing (Not audible: (00:46)) Now,

More information

Introduction to IP v6

Introduction to IP v6 IP v 1-3: defined and replaced Introduction to IP v6 IP v4 - current version; 20 years old IP v5 - streams protocol IP v6 - replacement for IP v4 During developments it was called IPng - Next Generation

More information

From the previous lecture

From the previous lecture CS 640: Introduction to Computer Networks Aditya Akella Lecture 7 - IP: Addressing and Forwarding From the previous lecture We will cover spanning tree from the last lecture 2 Spanning Tree Bridges More

More information

IP Addressing. TomBrett.ie

IP Addressing. TomBrett.ie IP Addressing An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network. An IP address is a 32 bit binary number usually represented as 4 decimal values, each

More information

IP Addressing IP Addressing Tópicos Avançados de Redes

IP Addressing IP Addressing Tópicos Avançados de Redes IP Addressing 1 IP Addresses Structure of an IP address Classful IP addresses Limitations and problems with classful IP addresses Subnetting CIDR IP Version 6 addresses 2 IP Addresses 32 bits version (4

More information

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University Computer Network Foundation Chun-Jen (James) Chung 1 Outline Network Addressing Subnetting Classless Inter-Domain Routing (CIDR) Route Aggregation Network Addressing How does the network decide where to

More information

LESSON Networking Fundamentals. Understand IPv4

LESSON Networking Fundamentals. Understand IPv4 Understand IPv4 Lesson Overview In this lesson, you will learn about: APIPA addressing classful IP addressing and classless IP addressing gateway IPv4 local loopback IP NAT network classes reserved address

More information

Chapter 5 IPv4 Addresses

Chapter 5 IPv4 Addresses Chapter 5 IPv4 Addresses مترجم : دکتر محمد حسین یغمایی 1 TCP/IP Protocol Suite INTRODUCTION مترجم : دکتر محمد حسین یغمایی 2 TCP/IP Protocol Suite An IP address is a 32-bit address. مترجم : دکتر محمد حسین

More information

04 Internet Protocol (IP)

04 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 information

IP Addressing A Simplified Tutorial

IP 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 information

Future Internet Technologies

Future 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 information

Chapter 4. IP Addresses: Classful Addressing

Chapter 4. IP Addresses: Classful Addressing Chapter 4 IP Addresses: Classful Addressing Outlines Introduction Classfuladdressing Other issues Subnetting and supernetting 4.1 INTRODUCTION Introduction IP address, or Internet Address 32-bit binary

More information

Implementing IP Addressing Services

Implementing IP Addressing Services Implementing IP Addressing Services Accessing the WAN Chapter 7 Version 4.0 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectives Configure DHCP in an enterprise branch network Configure

More information

Internet Addresses (You should read Chapter 4 in Forouzan)

Internet 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 information

IPv4 Address Classes

IPv4 Address Classes Cabrillo College Ch. 2 IP Addressing CCNP - Advanced Routing Rick Graziani, Instructor (Modified presentation originally created by Mark McGregor at Los Medanos College) Feb 5, 2002 1 IPv4 Address Classes

More information

We Are HERE! Subne\ng

We Are HERE! Subne\ng TELE 302 Network Design Lecture 21 Addressing Strategies Source: McCabe 12.1 ~ 12.4 Jeremiah Deng TELE Programme, University of Otago, 2013 We Are HERE! Requirements analysis Flow Analysis Logical Design

More information

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; 1 Given the network address of 112.44.0.0 and the network mask of 255.255.0.0 Would the two stations with addresses 112.44.22.19/16 and 112.44.23.2/16

More information

Module 1. IP/MAC Addresses and TCP/IP Suite

Module 1. IP/MAC Addresses and TCP/IP Suite Module 1 IP/MAC Addresses and TCP/IP Suite Dr. Associate Professor of Computer Science Jackson State University E-mail: natarajan.meghanathan@jsums.edu Module 1 Topics 1.1 MAC Address 1.2 Class-based IP

More information

We Are HERE! Dividing Up the Space. Addressing Background. Addressing Strategies. Requirements analysis Flow Analysis Logical Design

We Are HERE! Dividing Up the Space. Addressing Background. Addressing Strategies. Requirements analysis Flow Analysis Logical Design We Are HERE! TELE 302 Network Design Lecture 21 Addressing Strategies Source: McCabe 12.1 ~ 12.4 Jeremiah Deng TELE Programme / Info Sci University of Otago, 21/9/2015 Requirements analysis Flow Analysis

More information

2. IP Networks, IP Hosts and IP Ports

2. 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 information

The Internet/Network Layer

The Internet/Network Layer IP Addresses and Routing Tables Destination Gateway Genmask Flags MSS Window Irtt Iface 138.38.96.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo default 138.38.103.254 0.0.0.0

More information

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know WHITE PAPER Understanding IP Addressing: Everything You Ever Wanted To Know Understanding IP Addressing: Everything You Ever Wanted To Know CONTENTS Internet Scaling Problems 1 Classful IP Addressing 3

More information

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Guide 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 information

Introduction to Local and Wide Area Networks

Introduction to Local and Wide Area Networks Introduction to Local and Wide Area Networks Lecturers Amnach Khawne Jirasak Sittigorn Chapter 1 1 Routing Protocols and Concepts Chapter 6 : VLSM and CIDR Chapter 7 : RIPv2 Chapter 1 2 VLSM and CIDR Routing

More information

Computer 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ũ 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 information

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Outline TCP/IP Protocol Suite 2 5-1 INTRODUCTION The

More information

A is represented by (or 41h) etc. The networking address is no different to any other information stored on the computer.

A is represented by (or 41h) etc. The networking address is no different to any other information stored on the computer. extracted from www.kccommunications.com IPv4 -- Tech Note GeneralDataComm Training Notes Sept 1998 BASIC SUMMARY IP Addressing Reminder Notes Remember. The computer thinks in BINARY for example When you

More information

Network Layer: Logical Addressing

Network Layer: Logical Addressing CHAPTER 19 Network Layer: Logical As we discussed in Chapter 2, communication at the network layer is host-to-host (computer-to-computer); a computer somewhere in the world needs to communicate with another

More information

Implementing Network Address Translation and Port Redirection in epipe

Implementing Network Address Translation and Port Redirection in epipe Implementing Network Address Translation and Port Redirection in epipe Contents 1 Introduction... 2 2 Network Address Translation... 2 2.1 What is NAT?... 2 2.2 NAT Redirection... 3 2.3 Bimap... 4 2.4

More information

Subnetting/Supernetting and Classless Addressing

Subnetting/Supernetting and Classless Addressing Chapter 5 Subnetting/Supernetting and Classless Addressing SUBNETTING SUPERNETTING CLASSLESS ADDRSSING The McGraw-Hill Companies, Inc., 2000 1 5.1 SUBNETTING The McGraw-Hill Companies, Inc., 2000 2 A network

More information

Network Layer (3): Subnetting

Network Layer (3): Subnetting 1 Network Layer (3): Subnetting Required reading: Kurose 4.4.2 CSE 3214, Winter 2016 Instructor: N. Vlajic 1. Introduction 2. Network Layer Protocols in the Internet 2.1 IPv4 2.2 IP Addressing and Subnetting

More information

VLSM and CIDR Malin Bornhager Halmstad University

VLSM and CIDR Malin Bornhager Halmstad University VLSM and CIDR Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1 Objectives Classless routing VLSM Example of a VLSM calculation 2 Classless routing CIDR (Classless

More information

IP Addressing. IP Addresses. Introductory material.

IP Addressing. IP Addresses. Introductory material. IP Addressing Introductory material. An entire module devoted to IP addresses. IP Addresses Structure of an IP address Classful IP addresses Limitations and problems with classful IP addresses Subnetting

More information

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics Guide to TCP/IP, Third Edition Chapter 2: IP Addressing and Related Topics Objectives Understand IP addressing, anatomy and structures, and addresses from a computer s point of view Recognize and describe

More information

IP Addressing Introductory material.

IP 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 information

Chapter 3: IP Addressing and VLSM

Chapter 3: IP Addressing and VLSM Chapter 3: IP Addressing and VLSM QUESTION 54 What is the principle reason to use a private IP address on an internal network? A. Subnet strategy for private companies. B. Manage and scale the growth of

More information

Lecture 15: Addressing and Routing Architecture

Lecture 15: Addressing and Routing Architecture Lecture 15: Addressing and Routing Architecture Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4185 15-1 Addressing & Routing Addressing is assigning identifiers

More information

Lecture Computer Networks

Lecture Computer Networks Prof. Dr. H. P. Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau Sommersemester 2012 Institut für Organisation und Management von Informationssystemen Thomas Nau, kiz Lecture Computer Networks

More information

Networking Basics. Version: 447. Copyright 2007-2010 ImageStream Internet Solutions, Inc., All rights Reserved.

Networking Basics. Version: 447. Copyright 2007-2010 ImageStream Internet Solutions, Inc., All rights Reserved. Version: 447 Copyright 2007-2010 ImageStream Internet Solutions, Inc., All rights Reserved. Table of Contents Networking Basics...1 Networking Basics...1 Introduction...1 Network Addressing...1 IP Addressing...1

More information

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall 2014. How to Deal With Heterogeneity & Scale?

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall 2014. How to Deal With Heterogeneity & Scale? COMP 631: COMPUTER NETWORKS IP Addressing Jasleen Kaur Fall 2014 1 How to Deal With Heterogeneity & Scale? Requirements from IP addressing: Should be globally unique Should facilitate easy mapping to link-layer

More information

Internet Protocols Fall 2004. Outline

Internet Protocols Fall 2004. Outline Internet Protocols Fall 2004 Lecture 7 Andreas Terzis 9/29/04 Outline Internet Protocol CIDR Forwarding CS 449/Fall 04 2 1 Classless Interdomain Routing (CIDR) Addressing The IP address space is broken

More information

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on 16 10 2010

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on 16 10 2010 IPv4 Addressing There are several non-profit organizations in the world that have the authority for assigning IP addresses to institutions that need access to the Internet. These organizations are (for

More information

Architecting Large Networks

Architecting Large Networks MIT 6.02 DRAFT Lecture Notes Spring 2010 (Last update: May 4, 2010) Comments, questions or bug reports? Please contact 6.02-staff@mit.edu LECTURE 24 Architecting Large Networks The network layer mechanisms

More information

5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부

5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부 5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부 1 Introduction In the original IP addressing scheme, each physical network is assigned a unique network address Individual sites can have the

More information

CHAPTER 2 BACKGROUND OF INTERNET PROTOCOL

CHAPTER 2 BACKGROUND OF INTERNET PROTOCOL CHAPTER 2 BACKGROUND OF INTERNET PROTOCOL This chapter presents the background and the using of Internet Protocol version 4 (IPv4). The IPv4 addresses have some problems and limitations. Several solutions

More information

ASIST Administração de Sistemas

ASIST Administração de Sistemas ASIST Administração de Sistemas Aula 1 9 de Outubro de 2006 Alexandre Bragança Bibliografia: IBM Redbook: TCP/IP Tutorial and Technical Overview, Adolfo Rodriguez, John Gatrell, John Karas, Roland Peschke

More information

Network layer. Data Link Layer Network Interface Card TCP 1 TCP 2 UDP. TCP IP Interface UDP IP Interface RSVP ARP ICMP

Network layer. Data Link Layer Network Interface Card TCP 1 TCP 2 UDP. TCP IP Interface UDP IP Interface RSVP ARP ICMP Network layer The Network Layer ( layer 3 ) is made of IP and a large number of auxiliary protocols. Some of the auxiliary protocols do not fit very well into the OSI stack structure. Application Application

More information

CCNA Tutorial Series SUBNETTING

CCNA Tutorial Series SUBNETTING CCNA Tutorial Series This document contains the Course Map For The Interactive flash tutorial at: http://www.semsim.com/ccna/tutorial/subnetting/subnetting.html HOME PAGE Course Objectives Pre-test By

More information

Implementing DHCPv6 on an IPv6 network

Implementing DHCPv6 on an IPv6 network Implementing DHCPv6 on an IPv6 network Benjamin Long benlong@iol.unh.edu 8-11-2009 Implementing DHCPv6 on an IPv6 network 2 Table of Contents DHCPv6 Overview...3 Terms used by DHCPv6...3 DHCPv6 Message

More information

PART IV. Network Layer

PART IV. Network Layer PART IV Network Layer Position of network layer Network layer duties Internetworking : heterogeneous Physical Networks To look Like a single network to he upper layers The address at Network layer must

More information

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011 IPv4 Addressing Simplified by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011 The concept of IP Addressing is foundational to overall routing in general. Without

More information

CS335 Sample Questions for Exam #2

CS335 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 information

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. APPENDIX B IP Subnetting IP Addressing Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. IP Classes An IP address is

More information

Chapter 19. Logical Addressing

Chapter 19. Logical Addressing Chapter 19 Network Layer: Logical Addressing 19-11 IPv4 ADDRESSES An IPv4 address is a 32-bit address at uniquely and universally defines e connection of a device (for example, a computer or arouter) to

More information

Lecture 12: Addressing and Aggregation. CSE 123: Computer Networks Stefan Savage

Lecture 12: Addressing and Aggregation. CSE 123: Computer Networks Stefan Savage Lecture 12: Addressing and Aggregation CSE 123: Computer Networks Stefan Savage Lecture 12 Overview Finish up addressing Class-based addressing Subnetting Classless addressing Address allocation CSE 123

More information

Naming and Addressing. An Engineering Approach to Computer Networking

Naming and Addressing. An Engineering Approach to Computer Networking Naming and Addressing An Engineering Approach to Computer Networking Outline Names and addresses Hierarchical naming Addressing Addressing in the telephone network Addressing in the Internet ATM addresses

More information

IP Addressing. and Routing. Prepared by : Swapan Purkait Director. Nettech Private Ltd. swapan@nettech.in + 91 93315 90003

IP Addressing. and Routing. Prepared by : Swapan Purkait Director. Nettech Private Ltd. swapan@nettech.in + 91 93315 90003 For Summer Training on Computer Networking visit IP Addressing Prepared by : Swapan Purkait Director Nettech Private Limited swapan@nettech.in + 91 93315 90003 and Routing IP Addresses Basic IP Addressing

More information

William Stallings Data and Computer Communications. Chapter 15 Internetwork Protocols

William Stallings Data and Computer Communications. Chapter 15 Internetwork Protocols William Stallings Data and Computer Communications Chapter 15 Internetwork Protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection

More information