More Related Content
Similar to Week5 f2017(1)
Similar to Week5 f2017(1) (20)
Week5 f2017(1)
- 1. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE I Chapter 6 1
Addressing in an
Enterprise Network
- 2. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 2
Objectives
Analyze the features and benefits of a hierarchical IP
addressing structure.
Plan and implement a VLSM IP addressing scheme.
Plan a network using classless routing and CIDR.
Configure and verify both static and dynamic NAT.
- 3. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 3
Features & Benefits of a Hierarchical IP
Addressing Structure
Flat networks with a single broadcast domain lose
efficiency as hosts are added
Two solutions:
Create VLANs
Use routers in a hierarchical network design
- 4. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 4
Features & Benefits of a Hierarchical IP
Addressing Structure
Classful network address in the Core Layer
Successively smaller subnets in the Distribution and
Access Layers
- 5. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 5
Features & Benefits of a Hierarchical IP
Addressing Structure
Use subnetting to subdivide a network based on:
Physical location or logical grouping
Application and security requirements
Broadcast containment
Hierarchical network design
- 6. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 6
Plan / Implement a VLSM (Variable Length
Subnet Mask) Addressing Scheme
Subnet mask: 32-bit value
Distinguishes between network and host bits
Can vary in length to accommodate number of hosts on
LAN segment
- 7. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 7
Plan / Implement a VLSM Addressing Scheme
Boolean ANDing compares bits in host address to bits
in subnet mask
1 and 1 = 1
1 or 0 and 0 = 0
Resulting value is network address
- 8. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 8
Plan / Implement a VLSM Addressing Scheme
Steps in basic subnetting:
Borrow bits from the host side
Add them to the network side
Change mask to reflect additional bits
- 9. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 9
Plan / Implement a VLSM Addressing Scheme
Elements of an addressing scheme:
Subnet number
Network address
Host range
Broadcast address
- 10. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 10
Plan / Implement a VLSM Addressing Scheme
Benefits of Variable Length Subnet Masks (VLSM):
Flexibility
Efficient use of address space
Ability to use route summarization
- 11. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 11
Plan / Implement a VLSM Addressing Scheme
Apply masks from largest group to smallest
Avoid assigning addresses that are already
allocated
Allow for some growth in numbers of hosts on each
subnet
- 12. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 12
Discussion (15 min)
Do you see CIDR
notation? Is that the
same as VLSM?
How many subnets?
What are the network
addresses in these
subnets? What are the
valid host addresses in
these subnets?
Is there any problem in
the current addressing
scheme?
192.168.10.0 = Network
255.255.255.240 (/28) = Mask
Source: Chapter 5, Todd Lammle. CCNA Routing and Switching Study
Guide: Exams 100-101, 200-101, and 200-120. Sybex. 2013
- 13. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 13
A VLSM addressing scheme
What’s
changed?
Source: Chapter 5, Todd Lammle. CCNA Routing and Switching Study
Guide: Exams 100-101, 200-101, and 200-120. Sybex. 2013
- 14. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 14
Exercise (15 min)
Fill in the blanks with the IP addresses shown on the
right.
- 15. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 15
Solution
- 16. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 16
Plan a Network Using Classless Routing
and CIDR
Classful routing
Default subnet masks
Class determined by first
octet
No subnet mask
information exchanged in
routing updates
Classless routing
Network prefix
Slash (/) mask
Subnet mask information
exchanged in routing
updates
- 17. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 17
Plan a Network Using Classless Routing
and CIDR
Classless Inter-Domain Routing (CIDR)
Uses address space efficiently
Used for network address aggregation or summarizing
- 18. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 18
Route summarization (note: it was in a previous lecture):
Use single address to represent group of contiguous subnets
Occurs at network boundary
Smaller routing table, faster lookups
Plan a Network Using Classless Routing
and CIDR
How this actually works?
- 19. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 20
Plan a Network Using Classless Routing
and CIDR
Use routing protocols that support VLSM (e.g., RIPv2,
OSPF, EIGRP, etc.)
Plan subnetting to complement hierarchical design
Disable auto-summarization if necessary
Update router IOS
Allow for future growth
- 20. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 21
Configure and Verify Static and Dynamic
NAT
RFC 1918: private IP address space
Routed internally, never on the Internet
“Hides” internal addresses from other networks
- 21. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 22
Configure and Verify Static and Dynamic
NAT
Network Address Translation (NAT)
NAT translates internal private addresses into one or
more public addresses
Use on boundary routers
- 22. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 23
Configure and Verify Static and Dynamic
NAT
Static NAT: map single inside local address to single
public address
Dynamic NAT: use a pool of public addresses to
assign as needed
- 23. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 24
Configure and Verify Static and Dynamic
NAT
Port Address Translation (PAT)
Dynamically translate multiple inside local addresses to
one public address
- 25. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 26
Set up a network, make physical connections, and
configure addressing info on hosts and routers
Set up the static routes on Router0 and Router1
Use command like: ip route 0.0.0.0 0.0.0.0 172.16.10.2 (setting a default
route on a router)
Set up NAT pool and rules (an access list 1 needs to be
created first)
Steps
- 26. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 27
Steps (cont’)
Execute ping command from PC0 to 172.16.10.2
At the same time, check the packets received on
Router1
Enable debug ip packet and you can see the info as follows
(showing the source is IP 172.16.10.1, not 192.168.10.2!) :
- 27. © 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 28
Summary
Hierarchical network design groups users into subnets
VLSM enables different masks for each subnet
VLSM requires classless routing protocols
CIDR network addresses are determined by prefix
length
Route summarization, route aggregation, or
supernetting, is done on a boundary router
NAT translates private addresses into public addresses
that route over the Internet
PAT translates multiple local addresses into a single
public address