HC110110003 IP Addressing
HC110110003 IP Addressing
age 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Describe the fields and characteristics contained within IP.
Distinguish between public, private and special IP address ranges.
Successfully implement VLSM addressing.
Explain the function of an IP gateway.
age 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Next Header Processing
IP 0x0800
The next set of instructions for processing are referenced in the type field o
f the frame header.
age 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Packet Header
20-60 Bytes
IP Data
0 16 31
Header DS Field Total Length
Version
Length
Destination IP Address
IP Options
age 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Addressing
Network Host
192.168.1 .1
11000000.10101000.00000001 .00000001
age 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Addressing
Network Address
192.168.1 .0
11000000.10101000.00000001 .00000000
Broadcast Address
192.168.1 .255
11000000.10101000.00000001 11111111
The upper and lower most host address values are reserved.
age 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Decimal, Binary and Hexadecimal
Binary 0—1 2
Decimal 0—9 10
Hexadecimal 0—F 16
age 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Binary vs. Decimal Conversion
Bit Order 1 1 1 1 1 1 1 1
Binary
Power
27 26 25 24 23 22 21 20
Binary 128 64 32 16 8 4 2 1
age 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Binary Conversion
Network Host
27+26 27+25+23 20 20
age 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Address Classes
1.0.0.0~126.255.255.255
128.1.0.0~191.254.255.255
192.0.1.0~223.255.254.255
Class C
110 Network (24bit) Host (8bit)
224.0.0.0~239.255.255.255
Class D 1110 Multicast
240.0.0.0~255.255.255.254
age 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Address Types
Special Addresses
Diagnostic 127.0.0.0 ~ 127.255.255.255
Any Network 0.0.0.0
Network
255.255.255.255
Broadcast
The IP network address range has been divided, and certain addresses and
ranges assigned special functions in the network.
age 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Communication
Host A Host B
192.168.1.1 192.168.2.1
192.168.1.2 192.168.2.2
Host C Host D
Network Host
192 168 1 0
192 168 2 0
age 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Subnet Mask
Network Host
192.168.1 0
11000000.10101000.000000001 00000000
Subnet
255.255.255 0
11111111.11111111.11111111 00000000
Subnet masks distinguish between the binary values that represent each (s
ub)network and those that represent each host.
age 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Default Subnet Mask
Class A 255 0 0 0
age 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Address Planning
IP Address 192 168 1 7
Network Address
(Binary) 11000000 10101000 00000001 00000000
age 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Case Scenario
IP Address 172 16 1 7
Network Address ? ? ? ?
Host Addresses: 2n ?
Valid Hosts: 2n - 2 ?
Determine the network for the given IP address, and the number of actual,
and valid host addresses in the network.
age 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Addressing Limitations
192.168.2.0/24
192.168.1.0/24 20 Hosts
30 Hosts 192.168.3.0/24
10 Hosts
Network design using the default subnet mask results in address wastage.
age 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
VLSM Calculation
IP Address 192 168 1 7
age 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
VLSM Case Scenario
20 Hosts
30 Hosts
10 Hosts
Using only the network 192.168.1.0/24, implement VLSM for the given num
ber of hosts in each network segment.
age 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Classless Inter-Domain Routing
10.24.0.0/24
10.24.1.0/24
Announce route
10.24.0.0/22
10.24.2.0/24
10.24.3.0/24
age 21 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Gateways
Host A L3 Host B
L2 L2
Host A Host B
L3 L3
192.168.1.1 L2 192.168.2.1
age 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IP Fragmentation
Host A Host B
L3
L2 L2
Source IP Address
Destination IP Address
IP Options
age 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Time To Live
Host A Host B
Source IP Address
Destination IP Address
IP Options
age 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Protocol Field
IP Data
0x06/0x11 TCP/UDP
0x01 ICMP
Source IP Address
Destination IP Address
IP Options
age 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
What is the IP subnet mask used for?
What is the purpose of the TTL field in the IP header?
How are gateways used in an IP network?
age 26 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com