Professional Documents
Culture Documents
Chương 4:: Định tuyến
Chương 4:: Định tuyến
1
4.1 Tổng quan về định tuyến.
2
What is Routing?
10.120.2.0 172.16.1.0
E0
S0
Connected
Learned
10.120.2.0
172.16.1.0
E0
S0
Routed Protocol:
6
4.2 Chức năng của Router.
WANs .
7
4.2 Chức năng của Router.
WANs .
8
4.2 Chức năng của Router.
WANs .
9
Routers
Cisco 2800 Series Router
16
Identifying Static and
Dynamic Routes
172.16.1.0
SO
Network A 172.16.2.2 172.16.2.1
B
B
172.16.1.0
SO
Network
10.0.0.0 A B
B
172.16.2.2 172.16.2.1
172.16.1.0
SO
Network
10.0.0.0 A BB
172.16.2.2 172.16.2.1
22
What is a Routing Protocol?
10.120.2.0 172.16.1.0
Router A Router B
RIP
Administrative
Distance=120
E
Router C Router D
Classes of Routing Protocols
B
Distance Vector
C A
Hybrid Routing
B
Link State
C A
D
Distance Vector Routing
Protocols: RIP
B
C A
Distance—How far
Vector—In which direction D
D C B A
Bandwidth
56
RIP Delay
Load
Hop count
T1 56 Reliability
IPX MTU
T1
Ticks, hop count
B
Topology
change
causes
routing
A table
update
10.4.0.0
E B X C
A
Implementing Solutions in
Multiple Routes (cont.)
Holddown
10.4.0.0
E B X C
Holddown
Holddown
Implementing Solutions in
Multiple Routes (cont.)
Holddown
Poison Reverse
D
Poison Reverse
10.4.0.0
E B X C
Holddown
Poison Reverse
Poison Reverse
A
Holddown
Implementing Solutions in
Multiple Routes (cont.)
Holddown
10.4.0.0
E B X C
Holddown
Packet for
Packet for Network 10.4.0.0
Network 10.4.0.0
A
Holddown
Implementing Solutions in
Multiple Routes (cont.)
10.4.0.0
E B C
Link up!
A
Implementing Solutions in
Multiple Routes (cont.)
10.4.0.0
E B C
Link up!
A
Link-State Routing
Protocols
B
C A
D
Link-State Packets
Topological
Database
Routing
SPF Table
Algorithm
Source
Destination
Bandwidth
Delay
Reliability
Loading
MTU
IGRP Unequal Multiple
Paths
New Route
Source
Initial
Route Destination
56
4.5 NAT_PAT
WANs .
57
4.5 NAT_PAT
NAT catergory:
-Static NAT
-Dynamic NAT
-NAT overloading (PAT=port address translation)
58
4.5 NAT_PAT
A NAT implementation
59
4.5 NAT_PAT
Address Translation
All the outgoing packets go through the NAT
router, which replaces the source address
in the packet with the global NAT address.
All incoming packets also pass through the
NAT router, which replaces the destination
address in the packet (the NAT router global
address) with the appropriate private address 60
4.5 NAT_PAT
61
4.5 NAT_PAT
Translation Table
Using One lP Address:
In its simplest form, a translation table has only two columns: the
private address and the external address (destination address of the
packet).
When the router translates the source address of the outgoing
packet, it also makes note of the destination address-where the
packet is going. When the response comes back from the
destination, the router uses the source address of the packet (as the
external address) to find the private address of the packet
62
4.5 NAT_PAT
NAT address translation
63
4.5 NAT_PAT
Using a Pool of lP Addresses:
Since the NAT router has only one global address,
only one private network host can access the same
external host. To remove this restriction, the
NAT router uses a pool of global addresses.
64
4.5 NAT_PAT
Using Both lP Addresses and Port Numbers: To
allow a many-to-many relationship between
private-network hosts and external server
programs, we need more information in the
translation table
65
4.5 NAT_PAT
WANs .
66
4.5 NAT_PAT
WANs .
67
4.5 NAT_PAT
WANs .
68
4.5 NAT_PAT
WANs .
69