SlideShare uma empresa Scribd logo
1 de 16
Classful IP Address IP Address picture book 4 www.visualland.net ,[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
IP Address  animations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Overview: Classful IP, routing table  Animation Link 05/16/11 www.visualland.net  Goal: Use examples to show how classful IP addresses are being used by routers to forward packets. Topology:  3 computerrs are assigned class A, B, C addresses. They are connecred to a router R1.  Steps: 1) Jack ping Rose. R1 lookup network address and forwards ping to Rose 2) Rose responds by sending an Echo back to Jack. R1 forwards it to Jack. 3) Jack ping Tom in the same network as Mary. Tom is offline. Mary recevies ping and drops it.
Classful IP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Classful IP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Classful IP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Classful IP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Jack Ping Rose 05/16/11 www.visualland.net  Jack ping Rose. Ping's destiination IP address is Rose's IP address 150.1.2.3/16.  This is a class B address (150 is between 128~191). It's mask is /16.  It means that a 32 bit IP address is divided into two parts, the left 16 bits is network ID (150.1), the network ip address is 150.1.0.0; The right 16 bits is host ID (2.3). Note: See more IP address classification details in FAQ.
R1 forwards ping to Mary 05/16/11 www.visualland.net  When R1 receives ping, it reads destination IP address (150.1.2.3/16), extracts network address (150.1.0.0/16) and uses network address to lookupop its routing table. A match is found: (150.1.0.0/16, Port2). R1 forwards ping to Port2 and delivers poing to next hop. Note: See more details in FAQ for the relastionships between IP address, class, mask,  network address, routing table entry.
Rose sends Echo to Jack 05/16/11 www.visualland.net  When Rose receives Ping. It responds an Echo back to Jack. Echo's destination address is Jack's IP addtress 100.4.5.6. It's the sender's address of Ping. This is a class A address (100 is between 0~127).  Network mask is /8: The leftmost 8 bit is used for network ID, the rightmost 24 bit is used for host ID.
R1 forwards Echo to Jack 05/16/11 www.visualland.net  When R1 receives Echo, it extracts netwrok address (100.0.0.0/8) from Echo's destination address (100.4.5.6/.8) and uses network address to lookup its routing table. A mtch is found: (100.0.0.0/8, Port1). R1 forwards Echo to Port1. Ping is delviered to next hop (Jack).
Jack ping Tom 05/16/11 www.visualland.net  Jack ping Tom. Tom's IP is 222.111.44.50/24, a class C address (222 is between 192~223). When R1 receives ping, it uses Ping's  destination network address 222.111.44.0/24 to lookup its routing table. A match is found: (222.111.44.0/24, Port3). R1 forwards Ping to Port3 and deliviers it to network 222.111.44.0/8. Note: Router's job is to forwards packets to next hop. It does not know whether the target host exist or not. Note: Tom and Mary (222.111.44.33/24) have the same network address 222.111.44.0/8
Jack ping Tom 05/16/11 www.visualland.net  Jack ping Tom. Tom's IP is 222.111.44.50/24, a class C address (222 is between 192~223). When R1 receives ping, it uses Ping's  destination network address 222.111.44.0/24 to lookup its routing table. A match is found: (222.111.44.0/24, Port3). R1 forwards Ping to Port3 and deliviers it to network 222.111.44.0/8. Note: Router's job is to forwards packets to next hop. It does not know whether the target host exist or not. Note: Tom and Mary (222.111.44.33/24) have the same network address 222.111.44.0/8
Tom is offline 05/16/11 www.visualland.net  Ping  is forwarded to 222.111.44.0/24 network. This is an Ethernet Local Area network. All nodes will receive this ping. In this network, Ping reaches Mary and Tom. Mary receives this ping and drops it due to mis-match. Tom is offline and drops the ping.
FAQ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
What is Vlab visualland.net ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net

Mais conteúdo relacionado

Mais procurados

Final exam review answer(networking)
Final exam review answer(networking)Final exam review answer(networking)
Final exam review answer(networking)
welcometofacebook
 
Subnetting
SubnettingSubnetting
Subnetting
swascher
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
cbtvid
 

Mais procurados (20)

Day 5.5 subnetting
Day 5.5 subnettingDay 5.5 subnetting
Day 5.5 subnetting
 
Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
About ip address
About ip addressAbout ip address
About ip address
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
Exercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With SolutionsExercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With Solutions
 
Subnitting
SubnittingSubnitting
Subnitting
 
Final exam review answer(networking)
Final exam review answer(networking)Final exam review answer(networking)
Final exam review answer(networking)
 
Subnetting
SubnettingSubnetting
Subnetting
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
CyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingCyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & Subnetting
 
IP and MAC addressing
IP and MAC addressingIP and MAC addressing
IP and MAC addressing
 
Ip and mac address
Ip and mac address Ip and mac address
Ip and mac address
 
Subnetting
SubnettingSubnetting
Subnetting
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Chapter 19: Logical Addressing
Chapter 19: Logical AddressingChapter 19: Logical Addressing
Chapter 19: Logical Addressing
 
IP Subnetting
IP SubnettingIP Subnetting
IP Subnetting
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 

Destaque (12)

Dynamic Vs Static
Dynamic Vs StaticDynamic Vs Static
Dynamic Vs Static
 
Dynamic vs static
Dynamic vs staticDynamic vs static
Dynamic vs static
 
Dynamic vs static stretching
Dynamic vs static stretchingDynamic vs static stretching
Dynamic vs static stretching
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
Configuring dynamic and static routing
Configuring dynamic and static routingConfiguring dynamic and static routing
Configuring dynamic and static routing
 
Shortest path algorithm
Shortest  path algorithmShortest  path algorithm
Shortest path algorithm
 
IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnetting
 
Discrete Mathematics Presentation
Discrete Mathematics PresentationDiscrete Mathematics Presentation
Discrete Mathematics Presentation
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Classful and classless addressing
Classful and classless addressingClassful and classless addressing
Classful and classless addressing
 
Slideshare Powerpoint presentation
Slideshare Powerpoint presentationSlideshare Powerpoint presentation
Slideshare Powerpoint presentation
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Semelhante a Classful ip address (ip address picture book 4 from visual land animations)

IP Address & Its Classes .pdf
IP    Address   &   Its    Classes  .pdfIP    Address   &   Its    Classes  .pdf
IP Address & Its Classes .pdf
nandiaditi2010
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
Jayaprasanna4
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
MelkamtseganewTigabi1
 
Lesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docxLesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docx
smile790243
 
Routing and switching
Routing and switchingRouting and switching
Routing and switching
neclinux
 

Semelhante a Classful ip address (ip address picture book 4 from visual land animations) (20)

IP Address & Its Classes .pdf
IP    Address   &   Its    Classes  .pdfIP    Address   &   Its    Classes  .pdf
IP Address & Its Classes .pdf
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2
 
-LAB 3-IP Addressing and Subnettinncgbg.pdf
-LAB 3-IP Addressing and Subnettinncgbg.pdf-LAB 3-IP Addressing and Subnettinncgbg.pdf
-LAB 3-IP Addressing and Subnettinncgbg.pdf
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
Ip and mac addressing
Ip and mac addressingIp and mac addressing
Ip and mac addressing
 
Lecture 3 network layer
Lecture 3 network layerLecture 3 network layer
Lecture 3 network layer
 
IP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.pptIP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.ppt
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
 
Lesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docxLesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docx
 
15 3
15 315 3
15 3
 
IP and MAC Address
IP and MAC AddressIP and MAC Address
IP and MAC Address
 
Routing and switching
Routing and switchingRouting and switching
Routing and switching
 
IP Address
IP AddressIP Address
IP Address
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
6 ccna (fundamentals of i pv4 addressing and routing)
6  ccna (fundamentals of i pv4 addressing and routing)6  ccna (fundamentals of i pv4 addressing and routing)
6 ccna (fundamentals of i pv4 addressing and routing)
 

Classful ip address (ip address picture book 4 from visual land animations)

  • 1.
  • 2.
  • 3. Overview: Classful IP, routing table Animation Link 05/16/11 www.visualland.net Goal: Use examples to show how classful IP addresses are being used by routers to forward packets. Topology: 3 computerrs are assigned class A, B, C addresses. They are connecred to a router R1. Steps: 1) Jack ping Rose. R1 lookup network address and forwards ping to Rose 2) Rose responds by sending an Echo back to Jack. R1 forwards it to Jack. 3) Jack ping Tom in the same network as Mary. Tom is offline. Mary recevies ping and drops it.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Jack Ping Rose 05/16/11 www.visualland.net Jack ping Rose. Ping's destiination IP address is Rose's IP address 150.1.2.3/16. This is a class B address (150 is between 128~191). It's mask is /16. It means that a 32 bit IP address is divided into two parts, the left 16 bits is network ID (150.1), the network ip address is 150.1.0.0; The right 16 bits is host ID (2.3). Note: See more IP address classification details in FAQ.
  • 9. R1 forwards ping to Mary 05/16/11 www.visualland.net When R1 receives ping, it reads destination IP address (150.1.2.3/16), extracts network address (150.1.0.0/16) and uses network address to lookupop its routing table. A match is found: (150.1.0.0/16, Port2). R1 forwards ping to Port2 and delivers poing to next hop. Note: See more details in FAQ for the relastionships between IP address, class, mask, network address, routing table entry.
  • 10. Rose sends Echo to Jack 05/16/11 www.visualland.net When Rose receives Ping. It responds an Echo back to Jack. Echo's destination address is Jack's IP addtress 100.4.5.6. It's the sender's address of Ping. This is a class A address (100 is between 0~127). Network mask is /8: The leftmost 8 bit is used for network ID, the rightmost 24 bit is used for host ID.
  • 11. R1 forwards Echo to Jack 05/16/11 www.visualland.net When R1 receives Echo, it extracts netwrok address (100.0.0.0/8) from Echo's destination address (100.4.5.6/.8) and uses network address to lookup its routing table. A mtch is found: (100.0.0.0/8, Port1). R1 forwards Echo to Port1. Ping is delviered to next hop (Jack).
  • 12. Jack ping Tom 05/16/11 www.visualland.net Jack ping Tom. Tom's IP is 222.111.44.50/24, a class C address (222 is between 192~223). When R1 receives ping, it uses Ping's destination network address 222.111.44.0/24 to lookup its routing table. A match is found: (222.111.44.0/24, Port3). R1 forwards Ping to Port3 and deliviers it to network 222.111.44.0/8. Note: Router's job is to forwards packets to next hop. It does not know whether the target host exist or not. Note: Tom and Mary (222.111.44.33/24) have the same network address 222.111.44.0/8
  • 13. Jack ping Tom 05/16/11 www.visualland.net Jack ping Tom. Tom's IP is 222.111.44.50/24, a class C address (222 is between 192~223). When R1 receives ping, it uses Ping's destination network address 222.111.44.0/24 to lookup its routing table. A match is found: (222.111.44.0/24, Port3). R1 forwards Ping to Port3 and deliviers it to network 222.111.44.0/8. Note: Router's job is to forwards packets to next hop. It does not know whether the target host exist or not. Note: Tom and Mary (222.111.44.33/24) have the same network address 222.111.44.0/8
  • 14. Tom is offline 05/16/11 www.visualland.net Ping is forwarded to 222.111.44.0/24 network. This is an Ethernet Local Area network. All nodes will receive this ping. In this network, Ping reaches Mary and Tom. Mary receives this ping and drops it due to mis-match. Tom is offline and drops the ping.
  • 15.
  • 16.

Notas do Editor

  1. Q1. What is IP address classes? A 32-bit IP address is divided into network ID and host ID. It is classified into 5 classes: A, B, C, D, E. The division is based on network mask, a fixed length of leftmost bits assigned to network ID. Q2. How to classify IP address? IP address has 32 bits (4 bytes) and is often represented as 4 decimal numbers a.b.c.d, one number per byte. Each number's value is between 0~255. They are classified as follows: Class A: "a" is 0~127. Network ID is "a" (the leftmost digit). Host ID is "b.c.d " (right 3 digits) Class B: "a" is 128~191. Network ID is "a.b" (the left 2 digits). Host ID is "c.d " (the right 2 digits) Class C: "a" is 192~223. Network ID is "a.b.c" (the leftmost 3 digits). Host ID is "d " (the rightmost digit) Class D, E: "a" is 224~255. Class D addresses are used for multicasting. Class E addresses are reserved for scientific research. Q3. How many host IDs and network IDs for class A, B, C addresses? The number of host/network IDs is determined by the number of bytes allocated for each class. Class Host-IDs Network-IDs Usage A 16,777,216 256 Very large networks B 65,536 65,536 Large networks C 256 16,777,216 Small networks. Each contains no more than 256 computers. Note: In each class, two host IDs are reserved and cannot be assigned to hosts: all 0 bits, all 1 bits. Q4. How to determine classes when IP addresses are presented in binary? We can just look at the first byte (leftmost 3 bits) Number of left- Leftmost byte a.b.c.d Class most bits, value in binary (4-decimals) A 1 bit: 0 0xxxxxxx a is 0~127 B 2 bit: 10 10xxxxxx a is 128~191 C 3 bit: 110 110xxxxx a is 192~223 Note: The relationship between classful address and routing table destination network is more clear when playing the companion simulation. Q5. How well does classful address work? It worked well in the early stage of Internet when there were not too many computers connected to Internet. However, classifying IP addresses by fixed length of bit does not scale well when the number of networks increases. For example, how to assign a network address for a group of 1000 computers? One class C network is not enough. If allocate a class B address space for this group, there are 64,536 host IDs unused. It's a big waste. To solve this problem, computer scientists designed classless IP address (or subnetting) to further divide a classful address space into smaller networks. This way, a group of 1000 computers can fit into a network address that contains 1024 hosts. To learn classless IP address, see next simulation: IP subnetting.
  2. ARP 动画特色 可视化。观察 ARP 包在不同的拓扑上如何被洪泛、转发, ARP 表怎么被更新,数据包怎么用 ARP 表封装报头。 说白。把协议的要点、关键细节相结合,用白话说明 . 用漫画气泡表达节点间的互动性、协议的因果关系。 辅助教材。一般的网络书籍用 3-5 页严谨精确说明 ARP 知识点,这套动画用实例要点说明 ARP 及其它设备、协议、应用的关系。可以作为辅助教材,配合教科书。 Visualland.ney ( 北冰洋软件 ) 有两种动画、 理论动画的数据是作者编辑的,动画的数据、状态以示意为主,适合初学者。 实验动画的数据是从路由器采集,可以用 pcap 检查原始数据包。