Network+ Guide to Networks

Similar documents
1/18/13. Network+ Guide to Networks 5 th Edition. Objectives. Chapter 10 In-Depth TCP/IP Networking

Network+ Guide to Networks 5 th Edition. Chapter 10 In-Depth TCP/IP Networking

Network+ Guide to Networks 6 th Edition. Chapter 9 In-Depth TCP/IP Networking

IP Addressing and Subnetting

Module 4. Planning the Addressing Structure

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or

TCP /IP Fundamentals Mr. Cantu

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

Chapter 9: Subnetting IP Networks

Chapter Motivation For Internetworking

VLSM and CIDR. Routing Protocols and Concepts Chapter 6. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Full file at

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

Lecture 8 Network Layer: Logical addressing

Internet Addresses (You should read Chapter 4 in Forouzan)

TCP/IP. Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6

Configuring IPv4 Addresses

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

Top-Down Network Design

Addressing the Network IPv4

Communication at the network layer is host-to-host Length of address. Total number of addresses used by the protocol. IPv4 & IPv6

Lab Calculating IPv4 Subnets

Lab Calculating IPv4 Subnets

Network Protocols - Revision

Module 7: Configuring and Supporting TCP/IP

Network Layer PREPARED BY AHMED ABDEL-RAOUF

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials

Introduction to TCP/IP

Linux System Administration

5. Providing a narrower address space is the primary design goal for IPv6.

IP addresses and Subnetting

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office

Address Class (Exercise) B A

Network Layer/IP Protocols

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

NETWORK LAYER: IP Addressing

Subnetting. This Hour. Subnetting. Hour 5

CS118 Discussion, Week 6. Taqi

Chapter 6 Addressing the Network- IPv4

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

TCP/IP Protocol Suite and IP Addressing

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

5.7 K E Y TE R M S 5.8 SUM M A R Y

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

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

Interconnecting Cisco Networking Devices Part 1

R (2) Write a program to demonstrate Subneting & find the Subnet Mask.

TCP/IP and the OSI Model

Chapter 2: Configuring Network Protocols

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

IP Address Assignment

Network layer: Overview. Network Layer Functions

Vorlesung Kommunikationsnetze

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 12.4

Chapter 8: Subnetting IP Networks CCENT Routing and Switching Introduction to Networks v6.0

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

x.x.x :: Notes: 128 binary bits

Figure 11 Two-level addressing in classful addressing

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

IP: Addressing, ARP, Routing

IP Addressing: IPv4 Addressing Configuration Guide, Cisco IOS Release 15S

CCNA 1 Chapter 9 v5.0 Exam Answers 2013

Addressing & Subnetting

Network Layer: Logical Addressing

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

CTS2134 Introduction to Networking. Module Network Implementation

Chapter 06 IP Address

Computer Networks Lecture -5- IPv4 Addresses. Dr. Abbas Abdulazeez

CCENT Study Guide. Chapter 4 Easy Subnetting

Chapter 18. Introduction to Network Layer

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

Lab 8 (IP Addressing)

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

IP Addressing - Subnetting

1 Connectionless Routing

Networks: Communicating and Sharing Resources

ICND1 v2.0 Interconnecting Cisco Networking Devices Part 1 CCENT & Part of CCNA Rout/Switch

Lecture 8. Network Layer (cont d) Network Layer 1-1

Objectives. Note: An IP address is a 32-bit address. The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

IP Addresses. IP Addresses

NUMERIC SYSTEMS USED IN NETWORKING

COSC 6377 Mid-Term #2 Fall 2000

Subnetting Questions with Detailed Answers: Subnetting Questions with Detailed Answers:

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Chapter 2 Advanced TCP/IP

Chapter 5. Subnetting/Supernetting and Classless Addressing

OSI Model with Protocols. Layer Name PDU Address Protocols Device

LECTURE -4 IP ADDRESSES. IP Addresses: Classful Addressing

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

Chapter 8: Subnetting IP Networks

Network Basic v0.1. Network Basic v0.1. Chapter 3 Internet Protocol. Chapter 3. Internet Protocol

Hands-On TCP/IP Networking

Computer Networks and Data Systems

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

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Chapter 4 Network Layer: The Data Plane

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Transcription:

Yarmouk University Providing Fundamental ICT Skills for Syrian Refugees (PFISR) Network+ Guide to Networks Dr. Mohammad A. Al-Jarrah jarrah@yu.edu.jo

In-Depth TCP/IP Networking Understand methods of network design unique to TCP/IP networks, including subnetting, CIDR, and address translation Explain the differences between public and private TCP/IP networks Describe protocols used between mail clients and mail servers, including SMTP, POP3, and IMAP4 Employ multiple TCP/IP utilities for network discovery and troubleshooting

Designing TCP/IP-Based Networks TCP/IP protocol suite use Public Internet connectivity Private connection data transmission TCP/IP fundamentals IP: routable protocol Interfaces requires unique IP address Node may use multiple IP addresses Two IP versions: IPv4 and IPv6 IPv4: older; more common

Designing TCP/IP-Based Networks (cont d.) IPv4 addresses Four 8-bit octets Binary or dotted decimal Network host name assignment Dynamic using DHCP Static Network classes: A, B, C, D, E Class D, E addresses reserved Node s network class provides information about segment network node belongs to

Subnetting Separates network Multiple logically defined segments (subnets) Geographic locations, departmental boundaries, technology types Subnet traffic separated from other subnet traffic Reasons to separate traffic Enhance security Improve performance Simplify troubleshooting

IPv4 Addressing (cont d.) Figure 4-8 IP addresses and their classes First, simplest IPv4 addressing type Adheres to network class distinctions Recognizes Class A, B, C addresses

Classful Addressing in IPv4 (cont d.) Network information (network ID) First 8 bits in Class A address First 16 bits in Class B address First 24 bits in a Class C address Host information Last 24 bits in Class A address Last 16 bits in Class B address Last 8 bits in Class C address

Classful Addressing in IPv4 (cont d.) Figure 10-1 Example IPv4 addresses with classful addressing

Classful Addressing in IPv4 (cont d.) Drawbacks Fixed network ID size limits number of network hosts Difficult to separate traffic from various parts of a network

IPv4 Subnet Masks Identifies how network subdivided Indicates where network information located Subnet mask bits 1: corresponding IPv4 address bits contain network information 0: corresponding IPv4 address bits contain host information

IPv4 Subnet Masks (cont d.) Class Subnet Mask in Binary Subnet Mask in Decimal A 11111111 00000000 00000000 00000000 255 0 0 0 B 11111111 11111111 00000000 00000000 255 255 0 0 C 11111111 11111111 11111111 00000000 255 255 255 0 # Network Bits CIDR Notation 8 /8 16 /16 24 /24 Network class Associated with subnet mask

IPv4 Subnet Masks (cont d.) Table 10-2 ANDing ANDing Combining bits Bit value of 1 AND another bit value of 1 results in 1 Bit value of 0 AND any other bit results in 0 ANDing logic 1: true, 0: false

IPv4 Subnet Masks (cont d.) Figure 10-2 Example of calculating a host s network ID ANDing example Address s fourth octet Any combination of 1s and 0s Results in network ID fourth octet of 0s

Reserved Addresses Cannot be assigned to node network interface; used as subnet masks Network ID Bits available for host information set to 0 Classful IPv4 addressing network ID ends with 0 octet Subnetting allows network ID with other decimal values in last octet(s) Broadcast address Octet(s) representing host information equal all 1s Decimal notation: 255 (for class C)

IPv4 Subnetting Techniques Subnetting breaks classful IPv4 addressing rules IP address bits representing host information change to represent network information Reduce usable host addresses per subnet Hosts, subnets available after subnetting related to host information bits borrowed

Subnetting a Class C Address Subnet Mask in Binary Subnet Mask in Decimal 11111111 11111111 11111111 10000000 255 255 255 128 11111111 11111111 11111111 11000000 255 255 255 192 11111111 11111111 11111111 11100000 255 255 255 224 11111111 11111111 11111111 11110000 255 255 255 240 11111111 11111111 11111111 11111000 255 255 255 248 11111111 11111111 11111111 11111100 255 255 255 252 # Usable Addr CIDR Notation 254 /25 62 /26 30 /27 14 /28 6 /29 2 /30

Calculating IPv4 Subnets Formula: # Usable Addresses = 2 n 2 n: number of subnet mask bits that are zero Example Class C network Network ID: 199.34.89.0 Want to divide into six subnets

CIDR (Classless Interdomain Routing) Also called classless routing or supernetting Not exclusive of subnetting Provides additional ways of arranging network and host information in an IP address Conventional network class distinctions do not exist Example: subdividing Class C network into six subnets of 30 addressable hosts each Supernet Subnet created by moving subnet boundary left

Subnet and Supernet Masks Suppose you are starting with a class C address like 192.168.0.0/24 This would be a subnet: Subnet Address: 192.168.0.0 / 26 Subnet Mask: 11111111 11111111 11111111 11000000 255 255 255 192 Usable address range: 192.168.0.1-192.168.0.62 This would be a supernet: Subnet Address: 192.168.0.0 / 22 Subnet Mask: 11111111 11111111 11111100 00000000 255 255 252 0 Usable address range: 192.168.0.1-192.168.3.254

CIDR (cont d.) Figure 10-5 Calculating a host s network ID on a supernetted network Example: class C range of IPv4 addresses sharing network ID 199.34.89.0 Need to greatly increase number of default host addresses

CIDR (cont d.) CIDR notation (or slash notation) Shorthand denoting subnet boundary position Form Network ID followed by forward slash ( / ), followed by number of bits used for network portion of the address Like 147.144.51.0/24

Internet Gateways Gateway A device that connects two networks or subnets Default gateway Sends LAN traffic to other subnets, such as the Internet Usually a router Network nodes Have one default gateway address Assigned manually or automatically (DHCP)

Internet Gateways (cont d.) Figure 10-6 The use of default gateways

Address Translation Public network Any user may access Little or no restrictions Private network Access restricted Clients, machines with proper credentials Hiding IP addresses Provides more flexibility in assigning addresses NAT (Network Address Translation) Gateway replaces client s private IP address with Internet-recognized IP address

Private IP Addresses 10.0.0.0 to 10.255.255.255 172.16.0.0 to 172.31.255.25 192.168.0.0 to 192.168.255.255

Address Translation (cont d.) Reasons for using address translation Overcome IPv4 address quantity limitations Add marginal security to private network when connected to public network Develop network addressing scheme SNAT (Static Network Address Translation) Client associated with one private IP address, one public IP address Never changes Useful when operating mail server

Address Translation (cont d.) Figure 10-7 SNAT (Static Network Address Translation)

Address Translation (cont d.) DNAT (Dynamic Network Address Translation) Also called IP masquerading Internet-valid IP address might be assigned to any client s outgoing transmission PAT (Port Address Translation) Each client session with server on Internet assigned separate TCP port number Client server request datagram contains port number Internet server responds with datagram s destination address including same port number

Address Translation (cont d.) Figure 10-8 PAT (Port Address Translation)

Address Translation (cont d.) NAT Separates private, public transmissions on TCP/IP network Gateways conduct network translation Most networks use router Gateway might operate on network host Windows operating systems ICS (Internet Connection Sharing)

Questions