Tema 6. Static Routing
Tema 6. Static Routing
192.168.3.22/24
192.168.2.0/24
192.168.1.0/24 192.168.3.0/24
More secure since they are not advertised over the network.
More efficient since they use less bandwidth than dynamic routing
protocols.
No CPU cycles are used to calculate and communicate routes.
Predictable as the path a static route uses to send data always the
Static Routing
Disadvantages
Initial configuration and
maintenance is time-
consuming.
Configuration is error-
prone, especially in large
networks.
Administrator
intervention is required
to maintain changing
route information.
Does not scale well with
growing networks;
maintenance becomes
cumbersome.
Requires complete
knowledge of the whole
network for proper
implementation.
Static Routing Versus
Dynamic Routing
Dynamic Routing Static Routing
Configuration Generally independent of the
Increases with network size
Complexity network size
.2
No need to use a dynamic
.1 routing protocol with R1 to
reach 172.16.3.0/24.
.2
.1
Default Static Route
Example
.2 R1
172.22.0.0/16
172.23.0.0/16
R1
Private WAN
172.16.1.0 /30
172.16.1.0 /30
S0/0/0 S0/0/0
.2 .1
10.0.0.0 /8
Branch UIO
S0/0/1 S0/0/1
.242 .226
.241 .225
ISP
Private WAN
172.16.1.0 /30
172.16.1.0 /30
S0/0/0 S0/0/0
.2 .1
10.0.0.0 /8
Branch HQ
S0/0/1 S0/0/1
.242 .226
.241 .225
ISP
int gi0/0/2
description ConexionFibraOptica
ip add 192.168.1.1 255.255.255.0
no shutdown
exit
R2 Config – IP
Address
enable
configure terminal
hostname R2
int gi0/0/0
description ConexionLAN
ip add 192.168.12.1 255.255.255.0
no shutdown
exit
int gi0/0/2
description ConexiónFibraOptica
ip add 192.168.1.2 255.255.255.0
no shutdown
exit
R3 Config – IP
Address
enable
configure terminal
hostname R1
int gi0/0/0
description ConexionLAN
ip add 192.168.15.1 255.255.255.0
no shutdown
exit
int gi0/0/1
description Conexión-R1
ip add 192.168.2.2 255.255.255.0
no shutdown
exit
Configure Static Route on
R1,R2 & R3
R1
ip route 192.168.12.0 255.255.255.0 192.168.1.2
ip route 192.168.15.0 255.255.255.0 192.168.2.2
R2
ip route 192.168.10.0 255.255.255.0 192.168.1.1
ip route 192.168.15.0 255.255.255.0 192.168.1.1
R3
ip route 192.168.10.0 255.255.255.0 192.168.2.1
ip route 192.168.12.0 255.255.255.0 192.168.2.1
WAN Connections
• Cable Modem (38 Mbps)
• DSL (9 Mbps)
• Serial (54 Mbps)
• HDLC or PPP
• Frame Relay
Lab 2 Static Routes – Cable
Modem
WAN Connections – Cable
Modem
R1 Config – IP
Address
enable
configure terminal
hostname R1
int gi0/0/0
description ConexionFibraOptica
ip add 192.168.1.3 255.255.255.0
no shutdown
exit
int gi0/0
ip add 192.168.11.1 255.255.255.0
no shutdown
exit
R2 Config – IP
Address
enable
configure terminal
hostname R2
int gi0/0
description ConexionCableModem
ip add 192.168.1.1 255.255.255.0
no shutdown
exit
int gi0/1
ip add 192.168.10.1 255.255.255.0
no shutdown
exit
R3 Config – IP
Address
enable
configure terminal
hostname R3
int gi0/0
description ConexionCableModem
ip add 192.168.1.2 255.255.255.0
no shutdown
exit
int gi0/0
ip add 192.168.12.1 255.255.255.0
no shutdown
exit
Display IP Address
Configure Static Route on
R1,R2 & R3
R1
ip route 192.168.10.0 255.255.255.0 192.168.1.1
ip route 192.168.12.0 255.255.255.0 192.168.1.2
R2
ip route 192.168.11.0 255.255.255.0 192.168.1.3
ip route 192.168.12.0 255.255.255.0 192.168.1.3
R3
ip route 192.168.10.0 255.255.255.0 192.168.1.3
ip route 192.168.11.0 255.255.255.0 192.168.1.3
Display Routing
Table
PC2 – Ping to PC1 & PC3
WAN Connections HDLC& PPP
• HDLC&PPP are protocols of the data link layer of the OSI
model that are used in WAN connections point to point.
WAN Connections HDLC& PPP
WAN Connections HDLC& PPP
WAN Connections HDLC&
PPP
WAN Connections
Frame Relay
Frame Relay is a protocol standard of data link layer, for WAN
internetworking which provides a fast and efficient method of
transmitting packets through the network.
• traffic between users is transmitted through permanent virtual
circuits (PVC).
• PVCs are identified by a DLCI that can be between 16 to 1007.
• Control of communication between the frame relay cloud and
routers is performed by a protocol called LMI (cisco, ansi, q933).
SPOKE-1
HUB
SPOKE-2
WAN Connections
Frame Relay
Int IN DLCI Int OUT DLCI IPv4 Add
Ser0 102 Ser1 201 192.168.1.0/24
Ser0 103 Ser2 301 192.168.2.0/24
Ser1 203 Ser2 301 192.168.3.0/24
Cloud
Frame Relay
1. Configure DLCI on Serial 0
Cloud
Frame Relay
2. Configure DLCI on Serial 1
Cloud
Frame Relay
3. Configure DLCI on Serial 2
Cloud
Frame Relay
4. Configure Mapping of connections Frame Relay
Frame Relay
Routers
5. Configure R1
Frame Relay
Routers
6. Configure R2
Frame Relay
Routers
7. Configure R3