Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2204 1241_05_2000_c1
Agenda
IP, IPX Addressing Concepts Generic Routing Concepts Specific Routing Protocols Static and Defaults Routes
2204 1241_05_2000_c1
MAC Address
48 Bit Hexadecimal (Base16) Unique Layer two address
1234.5678.9ABC
First 24 bits = Manufacture Code assigned by IEEE Second 24 bits = Specific interface, assigned by Manufacture
FFFF.FFFF.FFFF
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
IP Addressing
32 Bits
Network
8 Bits 8 Bits
Host
8 Bits 8 Bits
172
2204 1241_05_2000_c1
16
. 122 . 204
5
IP Subnetting, Mask
Network IP Address Host
172
Network
16
0
Host
255
255
Network
0
Subnet
0
Host
255
255
255
IP Address Classes
Start
Class A:
End Mask
Class B:
Start
Class C:
Class D: for multicast
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
End Mask
2204 1241_05_2000_c1
UNIX Host A
1111.1111.1111 1111.1111.1111
5555.5555.5555 5555.5555.5555
2222.2222.2222 2222.2222.2222
R1
3333.3333.3333 3333.3333.3333
4444.4444.4444 4444.4444.4444
R2
Street A
Street H
10
Host Addresses
172. 16. 200.11 255.255. 0. 0 172. 16.3.10 255.255.0.0 172.16.12.12/16 IP: 172.16.2.1/16 172 .16
255.255
E0
E1
10.1.1.1/8
12 . 12
0.0
Network
2204 1241_05_2000_c1
Host
Subnet Addressing
172.16. 3 . 5 255.255.255.0 172.16.3.100/24
E0
E1
172 .16
255.255
2
.255
160 Host
.0
Network
2204 1241_05_2000_c1
Subnet
Discontiguous IP Subnet
A
Where Is 172.16.0.0? 192.168.1.4 255.255.255.252 .5 .13 172.16.50.1 172 255.255.255.0
B
172.16.40.1 172.16 255.255.255.0
2204 1241_05_2000_c1
13
B
172.16.40.1 255.255.255.0 172.16.1.X With a 255.255.255.252 mask Or /30 the 1 subnet my be broken into 64 Subnets
Conserve IP Addresses
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
14
IPX Addressing
80 Bits
Network
32 Bits
Node
48 Bits
000C 15C0
IPX Network #
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
0077.0650.2328
IPX STATION # Usulay same a MAC address
15
Address Configuration
Router (config-if) #
ip address ip-address subnet-mask
Assigns a network number Starts IPX processing on an interface Must have ipx routing configured
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
16
Agenda
IP, IPX Addressing Concepts Generic Routing Concepts Specific Routing Protocols Static and Defaults Routes
2204 1241_05_2000_c1
17
Convergence
Time required for router to identify and use an alternate path Dependent on timer values and algorithm Difficult to predict precisely
A,B,C D,E,F A,B,C D,E,F
2
B C
A,B,C D,E,F
2204 1241_05_2000_c1
4
D E
6
F
B,C D,E,F
3 A,B,C
D,E,F
Load Balancing
T1
R2
T1
N1 R1 T1 R3 T1 R4
N2
19
Load Balancing
256K
R2
768K
N1 R1 512K R3 T1 R4
N2
20
Holddown
I Will Ignore Routes to X While in Holddown
21
Packets do not get to the destination Temporary traffic surge until convergence
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
22
Split Horizon
Do not send routing data back in the direction from which it came
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
23
Split Horizon
Frame Relay Multipoint Network
Router 2,3,4 All advertise their Respective Ethernets to Router D, Router D knows all networks
PVC A PVC
2 3
B
1
S0
PVC C
2204 1241_05_2000_c1
24
Split Horizon
Frame Relay Network
Router 1 Advertises network D to routers 2,3,4
2
PVC PVC
1
S0
3 4
C
PVC
Router 1 Knows all networks but Will only advertise D out of S0 Because it learned A,B,C from S0
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
25
Metrics (Cost)
Numeric value used to choose among paths RIP/RIPv2 is hop count and ticks (IPX) OSPF/ISIS is interface cost (bandwidth) (E)IGRP is compound BGP can be complicated Path determination depends on metric
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
26
Agenda
IP, IPX Addressing Concepts Generic Routing Categories Specific Routing Protocols Static and Defaults Routes
2204 1241_05_2000_c1
27
Forwarding Table
One Forwarding Table per Router One Forwarding Table per Network Protocol
Network # Interface Next Hop Metric Age Source D O R C
198.113.181.0 Ethernet0 192.150.42.177 [170/304793] 02:03:50 198.113.178.0 Ethernet0 192.150.42.177 192.168.96.0 192.168.97.0 Ethernet0 192.150.42.177 Ethernet0 [110/9936] [120/3] 02:03:50 00:00:20
2204 1241_05_2000_c1
28
Directly connected
Routes that the router is attached to
Static
Routes are manually defined
Dynamic
Routes protocol are learned from a Protocol
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
29
Routing Protocols
I Know About: Network A Network B Network C I Know About: Network X Network Y Network Z
A B C
Routing Update
X Y
Routing protocol updates are exchanged by routers to learn about paths to other logical networks Each routing protocol offers features that can make it desirable as part of an internetwork design
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
30
Easy to configure Adapts to changes easily and quickly Does not create a lot of traffic Scales to a large size Compatible with existing hosts and routers Supports variable length subnet masks and discontiguous subnets Supports policy routing
31
IP RIP
Routing Information Protocol Widely available Hop count metric Periodic update Easy to implement One of the first available
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
RFC 1058 Simple = limited Slow convergence No VLSM No discontiguous subnets Max 15 Hops
32
RIPDistance Vector
Net A Net D
R1
E0 Net B S0 S0
R2
Net C S1 S0
R3
E0
Network Interface A E0 B S0 C S0 D S0
Network Interface B S0 C S1 A S0 D S1
Network Interface C S0 D E0 B S0 A S0
33
S 10.1.1.1 D 255.255.255.255
RIP V1
2204 1241_05_2000_c1
34
RIP Metric
1 Hop Path A R2
Hops
T1 R1 56k
T1 R3
Path B 0 Hops
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
35
RIP V2
RFC 1723 Cisco IOS 11.1 support Advertises masks Variable length subnet masks Route summarization Routing updates use multicast Authenticated updates using MD5
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
36
RIP V2
2204 1241_05_2000_c1
37
Subnet mask support Reduce broadcast load Validated updates Multivendor environment
2204 1241_05_2000_c1
38
IPX RIP
Widely available Hop count metric Ticks (1/18 sec) Periodic update Easy to implement Free on servers Tied to SAP protocol Simple = limited Slow convergence No default route Routing loops Max 15 hops
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
39
IPX RIPTicks
Ticks are used to determine server timeout Default for LAN interfaces is 1 Default for WAN interfaces is 4
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
IPXWAN calculates for its interfaces can be set via the ipx delay number interface sub command
40
IGRP
Interior Gateway Routing Protocol Cisco developed Distance vector Compound metric
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
Cisco IOS 9.21 Periodic update No VLSM Default timers produce slow convergence
41
T1
42
1.5 Mbps
64 kbps
1.5 Mbps
Bandwidth dominates short paths Delay dominates long paths Configure bandwidth on all interfaces
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
43
Enhanced IGRP
Extremely fast convergence VLSM support Discontiguous subnets Arbitrary route summarization Supports prefix and host routing
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
Best of DV and LS Low overhead Guaranteed loop-free Reliable, incremental update-based Multiprotocol: IP, IPX, AppleTalk Easy to configure
44
A B C
1 13 20
Q A B C 5 3 3
A B C
Q Z X
2 13 13
Ys Table
X
B ..
27 1 5 12 ..
Z Q X Z ..
Topology Table
Xs Table
2204 1241_05_2000_c1
EIGRP Tables
Topology table Neighbor table
Acted upon by DUAL Keeps adjacent neighbors address All routes advertised by neighbors Keeps the hold time List of neighbors for each route Routes passive or active
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
46
47
IPX EIGRP
Automatic redistribution of routes into RIP/SAP Maximum network size is 224 hops vs 15 for RIP Incremental SAPs sent, reducing bandwidth usage All other benefits of EIGRP
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
48
Very large, complex networks VLSM For fast convergence Little network design Multiprotocol support
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
49
OSPF
Xs Link State
X
IS-IS NLSP
2204 1241_05_2000_c1
50
51
OSPF
Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 1253) Designed expressly for TCP/IP Internet environment
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
Fast convergence Variable-length subnet masks Discontiguous subnets No periodic updates Route authentication Delivered two years after IGRP
52
Area 1
54
IS-IS
IS = Intermediate System Dual IS-IS Integrated IS-IS Metric is 10 bits wide All interfaces default to 10
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
56
BGP
RFC 1771 Border Gateway Protocol Many options for policy enforcement
Classless Inter Domain Routing Version 4 is current (CIDR) Exterior routing Widely used for protocol (vs. Internet backbone interior) AS=Autonomous Uses TCP for systems transport
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
57
BGP Basics
Peering
A C
AS 100
B D
AS 101
AS 102
58
2204 1241_05_2000_c1
BGP peer within the same AS Not required to be directly connected IBGP neighbors should be fully meshed Few BGP speakers in corporate network
2000, Cisco Systems, Inc.
59
AS 100
C B
AS 101
Between BGP speakers in different AS Should be directly connected Dont run an IGP between EBGP peers
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
60
61
Advertise Default Network Via IGP Use a Static Route to Provide Connectivity
62
Agenda
IP, IPX Addressing Concepts Generic Routing Categories Specific Routing Protocols Static and Defaults Routes
2204 1241_05_2000_c1
63
Static Routes
Routes configured manually Useful when few or just one route exist Can be administrative burden Frequently used for default route
2204 1241_05_2000_c1
64
Administrative Distance
The router treats different routing protocols with a different preference Route Source Connected Interface Static Route Enhanced IGRP Summary Route External BGP Internal Enhanced IGRP IGRP OSPF IS-IS RIP EGP External Enhanced IGRP Internal BGP Unknown, Discard Route
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
Default Distance 0 1 5 20 90 100 110 115 120 140 170 200 255
65
ISDN 172.16.3.1 3
172.16.1.0 C15C0
ip route 172.16.1.0 255.255.255.0 172.16.3.1 140 ipx route C15C0 3.0000.0c15.3628 floating-static
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
66
Default Routes
Route used if no match is found in forwarding table Can be carried by routing protocols Two models
Special network number: 0.0.0.0 (IP) -2 (IPX) Flagged in routing protocol
67
RIP, RIPv2: network 0.0.0.0 IGRP, EIGRP: ip default-network OSPF:ISIS default originate IPX: ipx route default default gateway is for host mode
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
68
Default IP Subnet
172.16.0.0 s0 s1 Internet
172.16.1.0
Two defaults
For unknown networks For unknown subnets
Controlled by ip classless
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
69
2204 1241_05_2000_c1
70
Proprietary Function Updates Metric No No Yes Yes No No No Interior Interior Interior Interior Interior Interior Exterior 30 Sec 30 Sec 90 Sec Trig Trig Trig Incr Hops Hops Comp Comp Cost Cost N/A
Topology/Technology Considerations
Routing and services overhead is usually not a big deal when you have a lot of bandwidth (i.e. LANs) Protect WAN bandwidth using update-based protocolsmore bandwidth and buffers for application traffic High densities of sub (interfaces) can cause hot spots and router CPU overload NBMA (Non-Broadcast Multi-Access) technologies always require good design practices
2204 1241_05_2000_c1
2000, Cisco Systems, Inc.
72
73
2204 1241_05_2000_c1
74
Thank You!
Related sessions:
2208 Deploying IGRP/EIGRP 2205 Deploying OSPF 2209 Deploying BGP 2200 Advanced IP Routing
2204 1241_05_2000_c1
75
2204 1241_05_2000_c1
76
2204 1241_05_2000_c1
77
2204 1241_05_2000_c1
78