Professional Documents
Culture Documents
Oppenheimer
2
O BJECTIVES
2016/2017
U SING A STRUCTURED MODEL
4 FOR NETWORK LAYER
ADDRESSING
2016/2017
5 P ROBLEMS WITH NO MODEL
2016/2017
6
A DMINISTERING ADDRESSES
BY A CENTRAL AUTHORITY
2016/2017
7 IP ADDRESS
2016/2017
8 P UBLIC IP A DDRESSES
Managed by the Internet Assigned Numbers Authority
(IANA)
Users are assigned IP addresses by Internet service
providers (ISPs).
ISPs obtain allocations of IP addresses from their
appropriate Regional Internet Registry (RIR):
• APNIC (Asia Pacific Network Information Centre) – Asia/Pacific
Region
• ARIN (American Registry for Internet Numbers) – North America and
Sub-Sahara Africa
• LACNIC (Regional Latin-American and Caribbean IP Address Registry)
– Latin America and some Caribbean Islands
• RIPE NCC (Réseaux IP Européens) – Europe, the Middle East, Central
Asia, and African countries located north of the equator
2016/2017
9 P UBLIC VS P RIVATE -IP ADDRESS
Early in address designing process: designer need to
answer the following questions
Are public, private or both address type required?
2016/2017
13 D HCP - CONTINUE ..
2016/2017
15 P RIVATE A DDRESSING
2016/2017
16 P RIVATE NETWORK NUMBER
Advantage: security
The number is private!!! – it is not advertised to Internet.
2016/2017
19 NAT- HOW IT WORK ?
2016/2017
21
U SING A HIERARCHICAL MODEL FOR
ASSIGNING ADDRESSES
Hierarchical addressing is a model for applying structure to
addresses so that numbers in the left part of an address
refer to large blocks of network/nodes and numbers in the
right part of an address refer to individual networks/nodes.
2016/2017
22
T HE T WO PARTS OF AN IP
A DDRESS
32 Bits
Prefix Host
Prefix Length
2016/2017
23 C LASSFULL ADDRESSING
2016/2017
24 D OTTED – DECIMAL NOTATION
It divides the 32 bit internet address into four 8 fields
and specifies the value of each field independently as
a decimal number.
2016/2017
25 C ONTINUE ..
2016/2017
26 E XAMPLE OF NETWORK
2016/2017
27 SUBNETTING
2016/2017
28 C ONTINUE ..
2016/2017
29 S UBNET M ASK
32 bits long
Specifies which part of an IP address is the network/subnet field
and which part is the host field
The network/subnet portion of the mask is all 1s in binary.
The host portion of the mask is all 0s in binary.
Convert the binary expression back to dotted-decimal
notation for entering into configurations.
Alternative
Use slash notation (for example /24)
Specifies the number of 1s
2016/2017
30 S UBNET M ASK E XAMPLE
Solve:
2016/2017
32
D ESIGNING N ETWORKS WITH
H OST
2016/2017
33 P RACTICE
Network is 172.16.0.0
Network is 172.16.0.0
2016/2017
35 O NE M ORE
Network is 192.168.55.0
You want to divide the network into subnets.
You will have approximately 25 nodes per subnet.
What subnet mask should you use?
What is the address of the last node on the last
subnet?
What address would this node use to send to all
devices on its subnet?
2016/2017
36 C LASSLESS IP A DDRESSING
2016/2017
37
VARIABLE LENGTH SUBNET
MASK (VLSM)
Example in class.
2016/2017
39
VLSM DESIGN
CONSIDERATIONS
How many total subnets will this level need in the future?
2016/2017
40 VLSM - CONTINUE
At each level, the design team must ensure that they have
enough extra bits to support the required number of sub entities
in the next levels of recursion.
At the bottom level, they must make sure that the leaf subnets
are large enough to support the required number of hosts.
2016/2017
41
R EQUIREMENTS FOR
DEPLOYING VLSM
2016/2017
• T H E R O UT IN G P R O TO C O LS M US T C A R RY E X T E N D E D
N E T W O R K P R E F IX IN F O R M AT IO N W IT H E A C H R O UT E
42
A D V E RT IS E M E N T.
Marketing = 30 hosts
Finance = 10 hosts
Bits 128 64 32 16 8 4 2 1
Value
BB 1 2 3 4 5 6 7 8
SM 128 192 224 240 248 252 254 255
SP /25 /26 /27 /28 /29 /30
Sales = 50 hosts, using the table, we Marketing =30 hosts, using the
are borrowing 2 bits = 64. (64 is the table, we are borrowing 3 bits =32.
closest to 50 host!!) (32 is the closest to 30 host!!)
Only 62 can be used Only 30 can be used
Network address: 192.168.1.0/26 Network address: 192.168.1.64/27
Subnet mask:
Subnet mask:
255.255.255.192(128+64) 255.255.255.224(128+64+32)
First usable address :
First usable address :
192.168.1.65/27
192.168.1.1/26
Last usable address: 192.168.1.94
Last usable address: 192.168.1.62 /26
/26
Broadcast address :192.168.1.95
Broadcast address :192.168.1.63
47 VLSM EXAMPLE
Finance =10 hosts, using the table, • Assigned the IP for biggest
we are borrowing 4 bits =16. (16 is host first then followed by the
the closest to 10 host!!) second biggest etc.
Purchase = 20 hosts
Accounts = 5 hosts
Management = 10 hosts
2016/2017
50
C LASSLESS INTERDOMAIN
ROUTING (CIDR)
2016/2017
51 CIDR
Example:
172.16.0.0
172.17.0.0
172.18.0.0
Branch-Office Router
172.19.0.0