Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.
-
Upload
amelia-cornfield -
Category
Documents
-
view
213 -
download
1
Transcript of Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.
![Page 1: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/1.jpg)
Introduction• Hector Macleod
– CCNA student– Systems Integration Engineer
• Subject - IP addressing
![Page 2: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/2.jpg)
Topics• What is an IP address ?
• Types of IP addressing
• Classes of IP address
• Networks & subnetworks
• IP addresses and routing
![Page 3: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/3.jpg)
What is an IP address?
• IP (Internet Protocol) address– device used by routers, to select best path from source
to destination, across networks and internetworks– network layer address, consisting of NETWORK
portion, and HOST portion – logical address,assigned in software by network
administrator– part of a hierarchical ‘numbering scheme’ - unique, for
reliable routing– may be assigned to a host pc, or router port
![Page 4: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/4.jpg)
Types of IP address
• Static address
• Dynamic address
![Page 5: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/5.jpg)
Types of IP address
• Static IP address– manually input by network administrator– manageable for small networks– requires careful checks to avoid duplication
![Page 6: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/6.jpg)
Types of IP address
• Dynamic IP address
• examples - BOOTP, DHCP– assigned by server when host boots– derived automatically from a range of
addresses– duration of ‘lease’ negotiated, then address
released back to server
![Page 7: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/7.jpg)
Class A IP address
• 1st octet = network address, octets 2-4 = host address
• 1st bits of 1st octet set to 0
• up to (2^24 - 2) host addresses (16.8M)
![Page 8: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/8.jpg)
Class A IP address
124.224.224.100
01111100 11100000 11100000 01100100
![Page 9: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/9.jpg)
Class B IP address
• 1st 2 octets = network address, octets 3-4 = host address
• 1st 2 bits of 1st octet set to 10
• up to (2^16 - 2) host addresses (65534)
![Page 10: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/10.jpg)
Class B IP address
129.224.224.100
10000001 11100000 11100000 01100100
![Page 11: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/11.jpg)
Class C IP address
• 1st 3 octets = network address, octet 4 = host address
• 1st 3 bits of 1st octet set to 110
• up to (2^8 - 2) host addresses (254)
![Page 12: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/12.jpg)
Class C IP address
193.224.224.100
11000001 11100000 11100000 01100100
![Page 13: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/13.jpg)
IP addresses and routing
• routing tables
• identifying source and destination
• IP packet routing
![Page 14: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/14.jpg)
IP addresses and routing -Routing tables
– created by router, held in memory, constantly updated
• based on cross-referencing – IP packet source address, and port on which
received
![Page 15: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/15.jpg)
IP addresses and routing Identifying source and destination
– as part of a layer 3 packet, IP header contains source and destination address
– each address is 32 bits long, and unique to device or port
– router reads destination IP address, checks against routing tables
![Page 16: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/16.jpg)
IP addresses and routing - IP packet routing
– if destination address not on the same segment as receive port, router sends packet to correct port for routing to destination
– if destination on same segment as receive port, packet not forwarded
![Page 17: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/17.jpg)
Networks and subnets
• why subnet
• subnet mask
• restrictions on ‘borrowed’ bits
![Page 18: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/18.jpg)
why subnet
– reduce broadcast domain, improve network efficiency
![Page 19: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/19.jpg)
subnet masks
– extend NETWORK portion, borrow from HOST portion
– allow external networks to route packets direct to subnet
![Page 20: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/20.jpg)
restrictions on borrowed bits
• reserved addresses– all 0’s= network address, all 1’s broadcast
address
• minimum of 2 bits borrowed from host portion
• minimum of 2 bits left for host portion
![Page 21: Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.](https://reader034.fdocuments.us/reader034/viewer/2022051819/551a7ff555034643688b566c/html5/thumbnails/21.jpg)
Phew !