כתובות IP.

Slides:



Advertisements
Similar presentations
Marwan Al-Namari Week 7. A network address consists of two parts: (i) Address of the LAN and (ii)Device or host address on that LAN compare with a house.
Advertisements

Classifying Network Addressing
Chapter 9a Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain why routing is necessary for hosts on different.
IP Subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
OUR SUBNET PLANNING MISSION: We have been assigned an address of Assume 20 subnets are needed, with 5 hosts per subnet. Our mission is to.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Semester 1, Chapter 10 (Supplement) Creating Subnets or How to Have Fun Without Knowing It!
IP Subnetting (Week 4, Wednesday 1/31/2007) © Abdou Illia, Spring 2007.
IP Addressing – Dotted-Decimal Notation –An IP address is 32 bits in size –Every IP address is grouped into four 8-bit octets –Octets are separated by.
Introduction to Networking (Yarnfield) Classful subnetting.
IP Addressing and Subnetting
1 © 2003, Cisco Systems, Inc. All rights reserved. IP Basics 1.1 st Octet Values for Class A, B, C, D, & E 2.HOB (High Order Bits) in the 1 st Octet 3.Format.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 subnetting.
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
Information & Communication Technology
Page 1 - © Richard L. Goldman IP Address ©Richard L. Goldman January 10, 2002.
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Network Basics Introduction Instructor: Ataur Rahman
Why create a subnet mask? Tells device which part of an address is the network # including the subnet and which part is the host Filters the node IP address.
IPv4 Addresssing An IP address is four bytes (octets). Each contains eight bits (total of 32 bits in length). IP addresses are given as dotted decimal.
21-IP addressing Dr. John P. Abraham Professor UTPA.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addressing.
1 Chapter 24 TCP/IP. 2 An Internet According to TCP/IP.
LECTURE # 20 IP ADDRESSING 1. Binary 2  All digital electronics use a binary method for communication.  Binary can be expressed using only two values:
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
Classes of IP. host must have an IP address that identifies not only the host address (like a house number) but also identifies the network address (like.
1 IP Addressing: Classful 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
1  You are given an IP address for a host /20  What is/are the  Subnet address?  Broadcast address?  The number of useable hosts available.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
Binary Lesson 5 Usable Addresses Class A, B, and C.
Binary Lesson 5.5 Usable Addresses Class A, B, and C.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
Network Addressing. Internet Protocol Address An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
Module 10 - Subnetting For Fun and Profit
Cisco Discovery Semester 1 Chapter 5 JEOPADY Q&A by R. Prensky, Template by K. Martin.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
Binary Lesson 6.1 Classful Subnetting 2
Classful Internet Addresses Chapter 4. Universal Identifiers Designers of TCP/IP determined that each host on the internet would have a 32-bit identifier.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
Objective 1.Understand Network 2.Understand IP Addressing (IPv4 and IPv6) 3.Understand Subnetting 4.Examples 5.IP addressing and Vlan’s in TIFR 6.TIFR.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
If we don’t subnet and use as our subnet mask then we use all of our IP addresses on one network. This is not an efficient use of our Class.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing.
Subnetting Divide a network to smaller networks (subnets) Reasons
Internet Architecture
Dotted Decimal Notation
IP Address Quiz (Animated Presentation)
Networking for Home and Small Businesses – Chapter 5
Binary Lesson 4 Classful IP Addresses
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
Binary Lesson 5.5 Usable Addresses Class A, B, and C
IP Addresses: Classful Addressing
IP Address.
Cases in Subnetting.
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Binary Lesson 6 Classful Subnetting
Dr. John P. Abraham Professor UTRGV
Binary Lesson 6 Classful Subnetting
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Networking for Home and Small Businesses – Chapter 5
Dr. John P. Abraham Professor UTPA
Presentation transcript:

כתובות IP

מהלך השיעור מבנה כתובות IP. מנגנון ה-SUBNETTING.

כתובות IP 133.120.75.8 86 131.107.0.0 131.107.3.27 133.120.0.0 129.102.12.7 129.102.0.0 129.102.16.2 90 94 MARIA AVE

כתובות IP כתובת IP הנה כתובת ברמת הרשת המונה 32 סיביות ומורכבת מ – 2 חלקים: 1. כתובת הרשת NetId. 2. כתובת תחנה .HostId Network ID Host ID 32 Bits w. x. y. z. 131.107.3.24

כתובות IP כתובות IP מצוינות כקבוצה של ארבעה מספרים כאשר כל אחד מהם הנו הערך הדצימלי של 8 סיביות, יכול להגיע עד 255, לדוגמא : 195.205.133.234.

כתובות IP המרה מקוד בינארי לקוד עשרוני 1 128 64 32 16 8 4 2 8 Bits 255 Decimal Value

סוגי כתובות IP

כתובות IP את הכתובות ניתן לחלק למספר סוגים.כל כתובת מייצגת רשת מסוימת ולכל רשת כמות מסוימת של תחנות. ברגע שהרשת קטנה נקצה לה סוג מסוים של כתובות ולרשת גדולה סוג אחר.

חלוקה לקבוצות   Class A – מיועד לרשתות גדולות מאוד, מתחיל בסיבית "0". 7 סיביות מוקצות ל – NetId ו- 24 סיביות ל- HostId. כתובות הרשת הן מ- 127-000 (דצימלי), ובכל רשת יכולים להימצא עד 16.7 מיליון מחשבים.

     Class B – מיועד לרשתות בינוניות, מתחיל בסיבית "10". כתובות הרשת הן מ- 191.255-128.0 (דצימלי). Class C – מיועד לרשתות קטנות, מתחיל בסיבית "110". כתובות הרשת הן מ- 223.255.255-192.0.0 (דצימלי).

Network IDs (First Octet) השוואה בין קבוצות Number of Networks 126 16,384 2,097,152 Number of Hosts per Network 16,777,214 65,534 254 Class A Class B Class C Range of Network IDs (First Octet) 1 – 126 128 – 191 192 – 223

כתובות שמורות כתובת רשת שכולה 0-ים הרשת הנוכחית, הסגמנט הנוכחי. כתובת רשת שכולה 1-יםמפורש כ- "כל הרשתות" כתובת 127.0.0.1 שמורה לצורך בדיקות Loopback. כתובת זו מציינת את התחנה המקומית, ומאפשרת לה לשלוח לעצמה מנת בדיקה. (ללא השפעה על התעבורה ברשת).

כתובות שמורות כתובת תחנה שכולה 0-ים מפורשת כ- "כתובת הרשת" או כל תחנה על הרשת המצוינת (באוקטטות האחרות) כתובת תחנה שכולה 1-יםמפורשת כ- "כל התחנות" ברשת המצוינת , למשל 10.255.255.255 כל התחנות ברשת 10.0.0.0 על פי Class A.

כתובות שמורות כתובת IP שכולה 0-ים (0.0.0.0)משמש את הנתב של Cisco לציין ניתוב ברירת מחדל (יוסבר בהמשך). בנוסף מפורש כ- "כל רשת" כתובת IP שכולה 1-ים (255.255.255.255) כתובת Broadcast כלומר כל התחנות ברשת.

הגדרת כתובות רשת Router 1 2 3 124.x.y.z 192.121.73.z 131.107.y.z

כתובות פרטיות – Private IP Address במידה והרשת אינה מחוברת לרשת ציבורית כלשהיא כגון רשת האינטרנט, ניתן להקצות את הכתובות כאוות נפשנו. במידה והרשת מחוברת לרשת האינטרנט יש צורך לקנות כתובות ציבוריות מחברת IANA. את הכתובות ברשת שלנו נייצג באמצעות כתובות פרטיות.

כתובות פרטיות – Private IP Address טווח הכתובות הפרטיות: Class A - 10.0.0.0 – 10.255.255.255 Class B - 172.16.0.0 – 172.31.255.255 Class C - 192.168.0.0 – 192.168.255.255

הגדרת כתובות תחנה 1 2 3 Router 124.0.0.27 124.0.0.28 124.0.0.29 131.107.0.27 131.107.0.28 131.107.0.29 192.121.73.1 124.0.0.1 192.121.73.2 131.107.0.1 124.x.y.z 192.121.73.z 131.107.0.z 1 2 3

NETWORK MASK

NETWORK MASK על מנת שציודי התקשורת יוכלו לזהות את ה- Class לו שייכת כתובת ה- IP, קיימת "מסיכת רשת", (Network Mask), המוגדרת באופן הבא : Address Class Bits Used for Subnet Mask Dotted Decimal Notation Class A Class B Class C 11111111 00000000 00000000 00000000 11111111 11111111 00000000 00000000 11111111 11111111 11111111 00000000 255.0.0.0 255.255.0.0 255.255.255.0

NETWORK MASK יוצר הפרדה בין הסיביות המוקצות לטובת רשת לאלו המוקצות לתחנה. משמש לציין האם המשתמש הוא מקומי או נמצא ברשת מרוחקת. Class B Example IP Address 16.200 131.107. 0.0 255.255. Subnet Mask Network ID 131.107. y.z Host ID w.x. 16.200

חישוב כתובת יעד ע”י ביצוע פעולת AND ניתן למצוא את כתובת הרשת Other combinations = 0 אם תוצאת פעולת ה- AND של היעד והמקור תואמים. הם נמצאים על אותה רשת 10011111 11100000 00000111 11111111 11111111 00000000 10011111 11100000 00000000 IP Address Subnet Mask Result

SUBNETTING במצב בו דרושות לנו 30 כתובות (30 תחנות). במצב בו דרושות לנו 30 כתובות (30 תחנות). נבחר כמובן MASK מ-CLASS C , אך יש לנו 224 כתובות אשר "מתבזבזות". איך נפתור את הבעיה?

SUBNETTING כדי לפתור בעיה זאת נשתמש במנגנון ה-SUBNETTING, מנגנון זה מאפשר לנו להקצות סיביות אשר שייכות ל-HOST לטובת ה-NETS. לדוגמה הכתובת 27/ 129.12.4.18 תציין כי 27 סיביות מוקצות לטובת ה-NET. 5 הסיביות הנותרות מוקצות לטובת ה-HOST.

SUBNETTING על ידי הנוסחה הבאה ניתן להגיע לחישוב כמות התחנות: n -מציין את מספר הסיביות המוקצות לhost-.

SUBNETTING ישנן שתי כתובות שמוקצות עבור א. כתובת רשת ב. כתובת BROADCAST על פי הנוסחה ניתן יוצא כי יש לנו 30 תחנות (אין בזבוז).

תרגילים נתונה הכתובת – 192.168.10 כתובת ה- Subnet Mask – 255.255.255.224 (27/) כתובת הרשת – 172.16.0.0 Subnet Mask – 255.255.192.0 נתונה הכתובת 10.0.0.0 נדרש לבצע חישוב Subnetting, כאשר כתובת ה- Subnet Mask היא: 255.255.0.0 (/16).

סוף