ICND210S08_VPN
ICND210S08_VPN
ICND210S08_VPN
Solutions
LAN Extension into a WAN
What Is a VPN?
Cost
Security
Scalability
Site-to-Site VPNs
(legacy)
What Is IPsec?
Confidentiality
Data integrity
Authentication
Antireplay protection
Confidentiality (Encryption)
Encryption Algorithms
Encryption algorithms:
DES 3DES
AES RSA
DH Key Exchange
Diffie-Hellman algorithms:
DH1
DH2
DH5
Data Integrity
Hashing algorithms:
HMAC-MD5
HMAC-SHA-1
Authentication
PPP can carry packets from several protocol suites using NCP.
PPP controls the setup of several link options using LCP.
PPP Session Establishment
PPP is a common Layer 2 protocol for the WAN. There are two
components of PPP: LCP negotiates the connection and NCP
encapsulates traffic.
You can configure PPP to use PAP or CHAP. PAP sends
everything in plaintext. CHAP uses an MD5 hash.
Common PPP verification commands include show interface to
verify PPP encapsulation and debug ppp negotiation to verify
the LCP handshake.
WAN Connection with
Frame Relay
34
Overview
Identify the components of a Frame Relay network
Explain the scope and purpose of Frame Relay
Discuss the technology of Frame Relay
Compare point-to-point and point-to-multipoint topologies
Examine the topology of a Frame Relay network
Configure a Frame Relay Permanent Virtual Circuit (PVC)
Create a Frame Relay Map on a remote network
Explain the issues of a non-broadcast multi-access network
Describe the need for sub interfaces and how to configure
them
Verify and troubleshoot a Frame Relay connection
35
Introducing Frame Relay
Frame Relay is a connection
oriented packet-switched WAN
service and is also an industry
standart.
It operates at the data link layer (L2)
of the OSI reference model.
Typical speeds range from 56 kbps
up to 2 Mbps, although higher
speeds are possible. (Up to 44.736
Mbps)
Frame Relay does not define the Frames carry data,voice,video
way the data is transmitted within between user devices called data
the service provider’s Frame terminal equipment (DTE), and the
Relay cloud. data communications equipment
This is ATM in many cases!
(DCE) at the edge of the WAN.
36
Frame Relay vs. X.25
Frame Relay is not a reliable protocol which
does not have the sequencing, windowing,
and retransmission mechanisms that are
used by X.25.
Because it was designed to operate on high-
quality digital lines, Frame Relay provides no
error recovery mechanism.
If there is an error in a frame it is discarded
without notification.
Frame Relay uses a subset of the high-level
data link control (HDLC) protocol called Link
Access Procedure for Frame Relay (LAPF).
37
Introducing Frame Relay
Access Circuits
or
Access Link
38
DTE – Data Terminal Equipment
39
DCE – Data Communications
Equipment
UNI NNI
FR switch
DCEs are usually carrier-owned internetworking devices.
The purpose of DCE equipment is to provide clocking and
switching services in a network.
In most cases, these are packet switches, which are the devices that
actually transmit data through the WAN.
The connection between the customer and the service provider is
known as the User-to-Network Interface (UNI).
The Network-to-Network Interface (NNI) is used to describe how
networks from different providers connect to each other.
NOTE: Cisco router has abilitiy to act as DCE also Frame
40
Relay Switch (DCE). We will use it in our labs.
Virtual Circuits ( VCs)
VC
FR, ATM, X.25 etc
VC
VC is a logical connection between two devices,
that acts as if direct connection. Even though it may physically
be indirect. In this case, the two hosts can communicate as if
they have a dedicated connection.
In order for any two Frame Relay sites to communicate, the
service provider must set up a virtual circuit between these
sites within the Frame Relay network.
Service providers will typically charge for each virtual circuit.
Virtual circuits can be either permanent (PVCs)
or temporary (SVCs). 41
Frame Relay Terminology
SVCs PVCs
Per Session Path Always same Path.
may change.
The connection through the Frame Relay network between two DTEs is
called a virtual circuit (VC).
Switched Virtual Circuits (SVCs) Virtual circuits may be established
dynamically by sending signaling messages to the network.
However, SVCs are not very common.
Permanent Virtual Circuits (PVCs) are more common.
PVC are VCs that have been preconfigured (static) by the carrier are
used.
The switching information for a VC is stored in the memory of
42 the switch.
DLCI NUMBERS
DLCI 400
DLCI 400
PVC’s use : Local DLCI
numbers
DLCI 100
Cisco’s
Extra 2 byte
47
More about FR encapsulation Type
FR CLOUD
Encapsulation
Bc Bc Bc Bc
Tc Tc Tc Tc
1 second
Bc Bc Bc Bc
CIR
Next slide as a example
Main Formula CIR= Bc x (1/Tc) 50
Bc and CIR and Tc
!!!!!!! CIR =Bc x (1/Tc) !!!!!!!
Bc = 16000 bit
16000 bit 16000 bit 16000 bit 16000 bit
16000 x 4= 64000 bps
CIR Tc 1sec
Access
EIR=32kpbs
PIR Rate
CIR=64kpbs Be
Tc = 250ms
(Be x 1/Tc)= EIR = 32kbps
Be = 8000 bit Bc
EIR + CIR= Peak Information Rate
Tc
Excess burst (Be) – This is the maximum number of un-committed (extra) bits that are still
accepted by the Frame Relay switch for each VC, during Tc. But are marked as eligible to be
discarded (next slide)
Excessive Burst (Be) is dependent on the service offerings available from your vendor, but it is
typically limited to the port speed of the local access loop.
Excess Information Rate (EIR) This defines the extra bandwidth available to the customer
for each VC, which is derived from Tc and Be.
For our example Tc=250ms, Be=8000bits
You can reach PIR value just for one interval. You can not reach PIR value constantly.
Think Be value as a piggy bank 52
Frame Relay Bandwidth and Flow control
DE bit
Traffic Flow
Discard eligibility (DE) bit – When the router or switch detects network
congestion, it can mark the packet "Discard Eligible".
The DE bit is set on the traffic that was received after the CIR was
met.
These packets are normally delivered.
However, in periods of congestion, the Frame Relay switch will drop
packets with the DE bit set first.
53
Frame Relay Bandwidth and Flow control
DE bit
E1 1024kbps
2.048Mbps 1024kbps
Several factors determine the rate at which a customer can send data on a
Frame Relay network.
Foremost in limiting the maximum transmission rate is the capacity of the
local loop (access rate) to the provider.
– If the access rate is a E1, no more than 2.408 Mbps can be sent.
– In Frame Relay terminology, the speed of the local loop is called the local
access rate.
Providers use the CIR and EIR parameter to provision network resources
and regulate usage.
– For example, a company with a E1 connection to the packet-switched network
(PSN) may agree to a CIR of 1024 Kbps.
– This means that the provider guarantees 1024 Kbps of bandwidth to the
55
customer’s link at all times.
Frame Relay Bandwidth
E1 1024kbps
2.048Mbps 1024kbps
Typically, the higher the CIR,EIR the higher the cost of service.
Customers can choose the CIR,EIR that is most appropriate to their
bandwidth needs, as long as the CIR+EIR=PIR is less than or equal to
the local Access Rate.
If the CIR of the customer is less than the local access rate, the
customer and provider agree on whether bursting above the CIR is
allowed.(EIR)
If the local access rate is E1 or 2.048 Mbps, and the CIR is 1024 Kbps,
half of the potential bandwidth (as determined by the local access rate)
remains available.
56
Frame Relay Bandwidth
E1 1024kbps
2.048Mbps 1024kbps
57
TT FR, ATM başvuru formu
Frame Relay Bandwidth and
Oversubscription
CIR 1 Mbps
S0
CIR 1 Mbps
CIR 1 Mbps
S0= 2.048 Mbps
CIR =1024kbps per VC
CIR =1024kbps per VC
CIR =1024kbps per VC
Data forwarded
Tc= 500ms t
CIR=128kbps + EIR=64kbps = PIR= 192kbps
Can we know whether Frame Relay switch congested?
Coming soon 59
Frame Relay Bandwidth and
Congestion-Control Mechanisms BECN & FECN bits
Traffic Flow
LMI
LMI status inquiry
LMI status
LMI is a signaling standard between the DTE and the Frame Relay
switch.
LMI is responsible for managing the connection and maintaining the
status between FR Switch and Router.
LMI includes:
A keepalive mechanism, which verifies that data is flowing
A status mechanism, which provides an current status on the
PVC’s known to the switch (active,inactive etc.). coming soon
The multicast addressing, Allows a sender to transmit a single
frame but have it delivered by the network to multiple recipients (not
common) 61
LMI
LMI
The LMI type must match between the provider Frame Relay switch and the
customer DTE device. 62
LMI Autosensing
Before IOS 11.2, the Frame Relay interface must be manually
configured to use the correct LMI type, which is furnished by the
service provider.
If using Cisco IOS Release 11.2 or later, the router attempts to
automatically detect the type of LMI used by the provider switch.
This automatic detection process is called LMI autosensing.
No matter which LMI type is used, when LMI autosense is active, it
sends out a full status request to the provider switch.
LMI Yippee!!!
I don’t have to
configure LMI
63
LMI Status Messages
The Frame Relay switch uses LMI to
report the status of configured PVCs.
The three possible PVC states are as
follows:
Active state: Indicates that the connection
is active and that routers can exchange data.
Inactive state: Indicates that the local
connection to the Frame Relay switch is
working, but the remote router connection to
the Frame Relay switch is not working.
Deleted state: Indicates that no LMI is
being received from the Frame Relay switch,
or that there is no service between the CPE
router and Frame Relay switch.
Static
Administrators use a frame relay map statement, by using IOS command
Dynamic
• Inverse Address Resolution Protocol (IARP) provides a given DLCI and
requests next-hop protocol addresses for a specific connection.
• The router then updates its mapping table and uses the information in the
table to forward packets on the correct route. 65
• How works IARP? next slide
Inverse ARP (dynamic)
Needs remote IP for each PVC
FR CLOUD
Inverse Address Resolution Protocol
(Inverse ARP) was developed to
provide a mechanism for dynamic Inverse ARP request
DLCI to Layer 3 address maps
Inverse ARP reply
Inverse ARP works much the same way Address Resolution Protocol (ARP)
works on a LAN.
However, with ARP, the device knows the Layer 3 IP address and needs to know
the remote data link MAC address. (L3 to L2)
With Inverse ARP, the router knows the Layer 2 address which is the DLCI, but
needs to know the remote Router’s Layer 3 IP address.(L2 to L3)
66
Inverse ARP (dynamic)
Knows DLCI, needs remote IP
1
2 3 My IP is 1.1.1.1
Your IP ?
4 My IP is 1.1.1.2
1- Once the router learns from the switch about available PVCs and their
corresponding DLCIs, the
2- Router sends an Inverse ARP request for each DLCI. (unless statically
mapped)
3- In effect, the Inverse ARP request asks the remote station for its IP address.
At the same time, it provides the remote system with the IP address of the local
system.
4 -The return information from the Inverse ARP is then used to build the Frame
Relay map.
67
Configuring Cisco Router as a Frame Relay Switch
Frame-relay switching
interface Serial0/0
no ip address
clock rate 128000
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 102 interface Serial0/1 201
frame-relay route 103 interface Serial1/0 301
frame-relay route 104 interface Serial1/1 401
!
interface Serial0/1
no ip address
clock rate 128000
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 201 interface Serial0/0 102
68
Configuring Frame Relay LMI
It is important to remember that the Frame Relay service provider maps the
virtual circuit within the Frame Relay network connecting the two remote
customer premises equipment (CPE) devices that are typically routers.
Once the CPE device, or router, and the Frame Relay switch are exchanging
LMI information, the Frame Relay network has everything it needs to create the
virtual circuit with the other remote router.
The Frame Relay network is not like the Internet where any two devices
connected to the Internet can communicate.
FR CLOUD
Encapsulation
S0 S0
172.16.1.1/24
FRAME RELAY 172.16.1.2/24
Hub Spoke1
DLCI 102 CLOUD
DLCI 201
71
How it works: Next slide
Minimum Frame Relay Configuration
S0 S0
172.16.1.1/24 172.16.1.2/24
Hub FRAME RELAY
Spoke1
DLCI 102 CLOUD DLCI 201
S0 S0
172.16.1.1/24 172.16.1.2/24
Hub FRAME RELAY
Spoke1
DLCI 102 CLOUD DLCI 201
• dynamic refers to the router learning the IP address via Inverse ARP
• The DLCI 102 is configured on the Frame Relay Switch by the provider.
• Dynamic address mapping is enabled by default for all protocols
enabled on a physical interface 73
Configuring Frame Relay maps
Router(config-if)# frame-relay map protocol protocol-address
dlci [broadcast] [ietf | cisco]
74
Configuring Frame Relay maps
By default, PVC
cisco is the
default
encapsulation
Also used when the remote router does not support Inverse
ARP
Note: Broadcast keyword is optional (but recommended)
76
Broadcast Handling
192.168.1.2
CI 100
DL 192.168.1.1
DLCI120
Broadcast
255.255.255.255 DLCI
90
interface serial 0
frame-relay map ip 192.168.1.2 100 broadcast 192.168.1.3
frame-relay map ip 192.168.1.1 120 broadcast
frame-relay map ip 192.168.1.3 90
If the equipment at the destination is Cisco and non-Cisco, configure the Cisco encapsulation on the
interface and selectively configure IETF encapsulation per DLCI, or vice versa.
These commands configure the Cisco Frame Relay encapsulation for all PVCs on the serial interface.
Except for the PVC corresponding to DLCI 49, which is explicitly configured to use the IETF
encapsulation. configured on a serial interface, then by default, that encapsulation applies to all VCs o
78
Verifying Frame Relay interface
configuration
Router#
Router# sh
sh interfaces
interfaces s0 s0
Serial0
Serial0 is up, line protocol is
is up, line protocol is up
up
Hardware is PowerQUICC Serial
Hardware is PowerQUICC Serial
MTU
MTU 1500
1500 bytes,
bytes, BWBW 512
512 Kbit,
Kbit, DLY
DLY 20000
20000 usec,
usec,
reliability
reliability 255/255, txload 1/255, rxload 1/255
255/255, txload 1/255, rxload 1/255
Encapsulation FRAME-RELAY IETF, loopback
Encapsulation FRAME-RELAY IETF, loopback not set not set
Keepalive
Keepalive set
set (10
(10 sec)
sec)
LMI
LMI enq sent 22086, LMI
enq sent 22086, LMI stat
stat recvd
recvd 22087,
22087, LMI
LMI upd
upd recvd
recvd 0,
0, DTE
DTE LMI
LMI up
up
LMI enq recvd 0, LMI stat sent 0, LMI upd
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0 sent 0
LMI
LMI DLCI
DLCI 00 LMI
LMI type
type is
is ANSI
ANSI Annex
Annex DD frame
frame relay
relay DTE
DTE
79
Verifying PVC Status
show frame-relay pvc
Router#
Router# show
show frame-relay
frame-relay pvc
pvc 106
106
PVC
PVC Statistics
Statistics forfor interface
interface Serial0
Serial0 (Frame
(Frame Relay
Relay DTE)
DTE)
DLCI
DLCI = 106, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE
= 106, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE == Serial0.1
Serial0.1
input pkts 1270482
input pkts 1270482 output pkts 1306186
output pkts 1306186 in bytes 1050308258
in bytes 1050308258
out bytes 215117180
out bytes 215117180 dropped pkts
dropped pkts 0 0 in
in FECN
FECN pkts
pkts 451508
451508
in BECN pkts
in BECN pkts 0 0 out FECN pkts
out FECN pkts 0 0 out
out BECN pkts 00
BECN pkts
in
in DE
DE pkts
pkts 00 out
out DE
DE pkts
pkts 00
out
out bcast
bcast pkts
pkts 3601
3601 out
out bcast
bcast bytes
bytes 1206326
1206326
55 minute input rate 1000 bits/sec, 2 packets/sec
minute input rate 1000 bits/sec, 2 packets/sec
55 minute
minute output
output rate
rate 00 bits/sec,
bits/sec, 00 packets/sec
packets/sec
pvc
pvc create time 2d13h, last time pvc status
create time 2d13h, last time pvc status changed
changed 04:55:38
04:55:38
show frame-relay pvc; command displays the status of each configured connection, as well as
traffic statistics.
This command is also useful for viewing the number of Backward Explicit Congestion Notification
(BECN) and Forward Explicit Congestion Notification (FECN) packets received by the router.
If a single PVC is specified, only the status of that PVC is shown.
80
Verifying Mapping
show frame-relay map
Router#
Router# show
show frame-relay
frame-relay map
map
Serial0.1
Serial0.1 (up):
(up): point-to-point
point-to-point dlci,
dlci,
dlci
dlci 106(0x6A,0x18A0),
106(0x6A,0x18A0), broadcast
broadcast
status
status defined,
defined, active
active
81
Verify LMI Status
show frame-relay lmi
Router#
Router# show
show frame-relay
frame-relay lmi
lmi
LMI
LMI Statistics
Statistics for
for interface
interface Serial0
Serial0 (Frame
(Frame Relay
Relay DTE)
DTE) LMI
LMI TYPE
TYPE == ANSI
ANSI
Invalid
Invalid Unnumbered
Unnumbered info
info 00 Invalid
Invalid Prot
Prot Disc
Disc 00
Invalid
Invalid dummy
dummy Call
Call Ref
Ref 00 Invalid
Invalid Msg
Msg Type
Type 00
Invalid
Invalid Status
Status Message
Message 00 Invalid
Invalid Lock
Lock Shift
Shift 00
Invalid
Invalid Information
Information IDID 00 Invalid
Invalid Report
Report IE
IE Len
Len 00
Invalid
Invalid Report
Report Request
Request 00 Invalid
Invalid Keep
Keep IE
IE Len
Len 00
Num
Num Status
Status Enq.
Enq. Sent
Sent 22191
22191 Num
Num Status
Status msgs
msgs Rcvd
Rcvd 22191
22191
Num
Num Update Status Rcvd 00
Update Status Rcvd Num Status Timeouts
Num Status Timeouts 5 5
Full Mesh
84
NBMA – Non Broadcast Multiple
Access Networks
-Frames between two routers are
only seen by those two devices
(non broadcast).
- Similar to a LAN, multiple device
have access to the same network
and potentially to each other
(multiple access).
85
Star Topology (Hub and Spokes)
Spoke
Spoke
HUB
Spoke
A star topology, also known as a hub and spokes configuration, is the
most popular Frame Relay network topology because it is the most
cost-effective.
In this topology, remote sites are connected to a central site that
generally provides a service or application.
This is the least expensive topology because it requires the fewest
PVCs.
In this example, the central router provides a multipoint connection,
because it is typically using a single interface to interconnect multiple
86
PVCs.
Full Mesh Topology
Full Mesh Topology
Number of Number
nodes of PVCs
2 1
4 6
5 10
6 15
8 28
In a full mesh topology, all routers have PVCs to all other destinations.
This method, although more costly than hub and spoke, provides direct
connections from each site to all other sites and allows for redundancy.
For example, when one link goes down, a router at site Brussels can reroute traffic
through site Paris.
As the number of nodes in the full mesh topology increases, the topology becomes
increasingly more expensive.
The formula to calculate the total number of PVCs with a fully meshed WAN
is [n . (n - 1)] /2, where n is the number of nodes.
87
A Frame-Relay Configuration Supporting Multiple Sites
Hub and Spoke
Topology
with Multipoint
• This is known as a Hub interface HUB
and Spoke Topology, S0 172.16.1.1/24
dlci 102 dlci 103
where the Hub router
relays information
between the Spoke
routers. PVC FR Cloud PVC
• Limits the number of
PVCs needed as in a full-
mesh topology (coming). dlci 301
dlci 201
S0 S0
All interfaces member of 172.16.1.2/24 172.16.1.3/24
the same network
SPOKE1 SPOKE2
172.16.1.0/24
Point-to-Multipoint Configuration
using Inverse ARP
Hub
interface Serial0
ip address 172.16.1.1 255.255.255.0
encapsulation frame-relay
Spoke1
interface Serial0
ip address 172.16.1.2 255.255.255.0
encapsulation frame-relay
Spoke2
interface Serial0
ip address 172.16.1.3 255.255.255.0
encapsulation frame-relay
89
Verifying Dynamic mapping (IARP)
Hub# show frame-relay map
Serial0 (up): ip 172.16.1.2 dlci 102,
dynamic, broadcast, status defined,
active
One subnet
90
Verifying Dynamic mapping (IARP)
Hub#
Hub# show
show frame-relay
frame-relay map
map
Serial0
Serial0 (up): ip 172.16.1.2 dlci
(up): ip 172.16.1.2 dlci 102,
102, dynamic,
dynamic, broadcast,
broadcast, status
status defined,
defined,
active
active
Serial0
Serial0 (up):
(up): ip
ip 172.16.1.3
172.16.1.3 dlci
dlci 103,
103, dynamic,
dynamic, broadcast,
broadcast, status
status defined,
defined,
active
active
Spoke1#
Spoke1# show
show frame-relay
frame-relay map
map
Serial0
Serial0 (up): ip 172.16.1.1 dlci
(up): ip 172.16.1.1 dlci 201,
201, dynamic,
dynamic, broadcast,
broadcast, status
status defined,
defined,
active
active
Spoke2#
Spoke2# show
show frame-relay
frame-relay map
map
Serial0
Serial0 (up):
(up): ip
ip 172.16.1.1
172.16.1.1 dlci
dlci 301,
301, dynamic,
dynamic, broadcast,
broadcast, status
status defined,
defined,
active
active
Inverse ARP resolved the ip addresses for Hub for both Spoke1 and Spoke2
Inverse ARP resolved the ip addresses for Spoke1 for Hub
Inverse ARP resolved the ip addresses for Spoke2 for Hub
What about between Spoke1 and Spoke2 ???
91
Inverse ARP Limitations
Can Hub ping both Spoke1 and Spoke2? Yes!
Can Spoke1 and Spoke2 ping to Hub? Yes!
Can Spoke1 and Spoke2 ping each other? No!
92
Frame-Relay Map Statements
Hub
interface Serial0
ip address 172.16.1.1 255.255.255.0
encapsulation frame-relay
!!(Inverse-ARP still works here)
Spoke1
interface Serial0
ip address 172.16.1.2 255.255.255.0
encapsulation frame-relay
frame-relay map ip 172.16.1.3 201
Spoke2
interface Serial0
ip address 172.16.1.3 255.255.255.0
encapsulation frame-relay
frame-relay map ip 172.16.1.2 301
93
Reachability issues with routing
updates
Frame Relay is an NBMA Network
An NBMA network is a multiaccess network,
which means more than two nodes can
connect to the network.
Ethernet is another example of a multiaccess
architecture.
In an Ethernet LAN, all nodes see all
broadcast and multicast frames.
However, in a nonbroadcast network such as
Frame Relay, nodes cannot see broadcasts of
other nodes unless they are directly
connected by a virtual circuit.
This means that Spoke2 cannot directly see
the broadcasts from Spoke1, because they
are connected using a hub and spoke
topology. 94
Reachability issues with routing
updates
Net
Split Horizon prohibits routing wor
kX
updates received on an interface
from exiting that same interface.
The Central router must receive the broadcast from Branch A and then
send its own broadcast to Branch B.
In this example, there are problems with routing protocols because of
the split horizon rule.
A full mesh topology with virtual circuits between every site would
solve this problem, but having additional virtual circuits is so costly and
does not scale well.
95
Reachability issues with routing
updates
Net
wor
Split Horizon prohibits routing kX
updates received on an interface
from exiting that same interface.
Split horizon rule reduces the chance of a routing loop with distance vector
routing protocols.
It prevents a routing update received on an interface from being forwarded
through the same interface.
If the Central router learns about Network X from Branch A, that update is
learned via S0/0.
According to the split horizon rule, Central could not update Branch B or Branch
C about Network X.
96
1. Solution; Disable Split Horizon
Router(config-if)# no ip split-horizon
Router(config-if)#ip split-horizon
Split horizon is only an issue with distance vector routing protocols like
RIP, IGRP and EIGRP.
It has no effect on link state routing protocols like OSPF and IS-IS.
97
2. Solution; Subinterfaces
- Subinterfaces are logical subdivisions
of a physical interface (logically similar
seperate interfaces)
• To enable the forwarding of broadcast
routing updates in a Frame Relay
network, configure the router with
subinterfaces.
• In split-horizon routing environments,
routing updates received on one
subinterface can be sent out on another
subinterface.
Multipoint subint.
Point-to-point subint.
A key reason for using subinterfaces is to allow distance vector routing protocols to perform properly
in an environment in which split horizon is activated.
There are two types of Frame Relay subinterfaces.
Point-to-point
Multipoint
99
Frame Relay Subinterfaces
100
Configuring Frame Relay
Subinterfaces
RTA(config)# interface s0/0
RTA(config-if)# encapsulation frame-relay
RTA(config-if)# no shut
Router(config-if)#interface serial S0/0.1{multipoint|point-to-point}
Router(config-subif)# frame-relay interface-dlci dlci-number
Subinterface can be configured after the physical interface has been configured for Frame Relay
encapsulation
Subinterface numbers can be specified in interface configuration mode or global configuration mode.
Subinterface number can be between 1 and 4294967295.
At this point in the subinterface configuration, either configure a static Frame Relay map or use the
frame-relay interface-dlci command.
The frame-relay interface-dlci command associates the selected subinterface with a DLCI.
101
Configuring Frame Relay Subinterfaces
103
Point-to-point Subinterfaces
104
Point-to-point Subinterfaces
frame-relay interface-dlci
Rules:
1. No Frame-Relay map statements can be used with point-to-point
subinterfaces.
2. One and only one DLCI can be associated with a each point-to-point
subinterface
By the way, encapsulation is must be done only at the physical interface:
105
Point-to-Point Subinterfaces at the
Hub and Spokes
Interface Serial0 (for all routers)
encapsulation frame-relay
no ip address
no shut
HUB
S0.102 S0.103
Hub 172.16.2.1/24 172.16.1.1/24
interface Serial0.102 point-to-point
ip address 172.16.2.1 255.255.255.0 dlci 102 dlci 103
frame-relay interface-dlci 102
!
interface Serial0.103 point-to-point
ip address 172.16.1.1 255.255.255.0 PVC PVC
frame-relay interface-dlci 103 FR Cloud
Spoke1
interface Serial0.201 point-to-point
ip address 172.16.2.2 255.255.255.0 dlci 201 dlci 301
frame-relay interface-dlci 201 S0.301
S0.201 172.16.1.2/24
172.16.2.2/24
Spoke2
interface Serial0.301 point-to-point SPOKE2
ip address 172.16.1.2 255.255.255.0 SPOKE1
frame-relay interface-dlci 301 TWO subnets
106
Multipoint Subinterfaces
Multiple PVC
S0.1 S0.1= 1.1.1.0/24
S0.2
S0 S0.2=2.2.2.0/24
Multiple PVC
107
Multipoint subinterface at the Hub and
Point-to-Point Subinterfaces at the one Spoke