Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Networking ›
How to configure frame relay in Cisco Packet Tracer

How to configure frame relay in Cisco Packet Tracer

December 4, 2011 Networking Jesin A 12 Comments

networking category thumbnail

This article will explain frame relay configuration in Cisco Packet Tracer. Frame relay is a WAN technology. Read the Wikipedia article to learn more about Frame Relay. You can also try this on live routers and other network simulators, but the frame relay switch configuration varies. The setup here will use the hub and spoke configuration, Router0 is the hub, Router1 and Router2 are the spokes. Point-to-Point subinterfaces are created and PVCs (Permanent Virtual Circuits) are established between Router0 and Router1 and Router0 and Router2. So the Spoke routers communicate via Router0.

The topology of this lab is shown below

cisco frame relay topology

The DCE end of the serial cable should be connected to the frame relay switch.

Frame Relay Switch Configuration

Configure the serial interfaces of the Frame Relay switch as follows

Serial0

DLCI Name
102 R0-R1
103 R0-R2

Serial1

DLCI Name
201 R1-R0

Serial2

DLCI Name
301 R2-R0

Select the frame relay tab and create the following links

From Port Sublink To Port Sublink
Serial0 R0-R1 Serial1 R1-R0
Serial0 R0-R2 Serial2 R2-R0

Configure the routers

The configuration of each router is shown below

Router0 (Hub)

R0>enable
R0#configure terminal
R0(config)#interface Serial 2/0
R0(config-if)#no shutdown
R0(config-if)#encapsulation frame-relay
R0(config-if)#exit
R0(config)#interface Serial 2/0.102 point-to-point
R0(config-subif)#ip address 1.1.1.1 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 102
R0(config-subif)#exit
R0(config)#interface Serial 2/0.103 point-to-point
R0(config-subif)#ip address 1.1.1.5 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 103

Router1 (Spoke)

R1>enable
R1#configure terminal
R1(config)#interface Serial 2/0
R1(config-if)#no shutdown
R1(config-if)#encapsulation frame-relay
R1(config-if)#exit
R1(config)#interface Serial 2/0.201 point-to-point
R1(config-subif)#ip address 1.1.1.2 255.255.255.252
R1(config-subif)#frame-relay interface
R1(config-subif)#frame-relay interface-dlci 201

Router2 (Spoke)

R2>enable
R2#configure terminal
R2(config)#interface Serial 2/0
R2(config-if)#no shutdown
R2(config-if)#encapsulation frame-relay
R2(config-if)#exit
R2(config)#interface Serial 2/0.301 point-to-point
R2(config-subif)#ip address 1.1.1.6 255.255.255.252
R2(config-subif)#frame-relay interface-dlci 301

Configure routing on the spoke routers

Unless routing is configured the spoke routers cannot communicate among themselves. You can use any routing protocols. For this tutorial I will use static routing

Router1

R1(config)#ip route 1.1.1.4 255.255.255.252 1.1.1.1

Router2

R2(config)#ip route 1.1.1.0 255.255.255.252 1.1.1.5

Ping the routers to test connectivity among themselves.

Related posts:

networking category thumbnailHow to Configure a Cisco router as a Frame Relay Switch networking category thumbnailConfigure Inter-VLAN routing on Cisco Router networking category thumbnailHow to connect GNS3 to the Internet networking category thumbnailHow to Configure PPP in Cisco Routers networking category thumbnailAnswers for CCNP TSHOOT Demo Exam

Tags: cisco, frame relay

Comments

  1. hardeep says

    April 27, 2014 at 7:54 pm

    Thank you……

    Reply
  2. Teqsmidt says

    July 7, 2014 at 2:47 am

    Hi Jesin,

    I found your tutorial really easy to understand .
    However as I am a noob I am not able to create subinterfaces using the interface serial 0/0/1 command on R0 as hub and am using packet tracer .

    Here is output of show run config>>

    !
    interface Serial0/0/0
     no ip address
     shutdown
    !
    interface Serial0/0/1
     no ip address
     encapsulation frame-relay
    !
    interface Vlan1
     no ip address
     shutdown
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    !
    line aux 0
    !
    line vty 0 4
     login
    !

    as soon as i try to create subinterface an error msg pops up
    %cannot create subinterfaces on Se 0/0/1

    Please help me out

    Reply
    • Jesin A says

      July 10, 2014 at 1:06 am

      Hi Sagar,

      I think you missed out the keyword “point-to-point” in the interface command.

      It should be

      int s0/0/1.102 point-to-point

      Let me know if it works.

      Reply
    • Ayo says

      July 15, 2018 at 1:28 am

      You need to exit the interface config mode before executing the sub-into command. Command should be executed at the global config mode. Hope this helps.
      However, the doing exactly what is done here, there is no connectivity between any of the routers via the frame relay network. Ping to the hub or the other spoke from either spoke isn’t reachable.

      Reply
  3. Nomsa says

    October 1, 2014 at 3:23 pm

    hi Jesin

    Im trying to configure R0, the serial interface and i get % Invalid input detected at ‘^’ marker please help

    Reply
    • Jesin A says

      October 3, 2014 at 6:27 pm

      Hi Nomsa,

      Are you trying this on Packet Tracer, GNS3 or real hardware? Please post the commands.

      Reply
  4. Billie says

    November 5, 2014 at 6:33 pm

    HI Jesin,

    thx for your tutorial btw.
    i wan to ask is there any difference in doing in real hardware?

    Reply
  5. Valentina says

    March 27, 2016 at 1:21 pm

    HI Jesin!
    I tried to do all like in the the tutorial, but ping is not working.
    I did my lab in PT.

    R0# sh ip route
    C 1.1.1.0 is directly connected, Serial2/0.102
    C 1.1.1.4 is directly connected, Serial2/0.103

    R0#sh run config
    interface Serial2/0
    no ip address
    encapsulation frame-relay
    !
    interface Serial2/0.102 point-to-point
    ip address 1.1.1.1 255.255.255.252
    frame-relay interface-dlci 102
    !
    interface Serial2/0.103 point-to-point
    ip address 1.1.1.5 255.255.255.252
    frame-relay interface-dlci 103

    R1#sh ip route
    C 1.1.1.0 is directly connected, Serial2/0.201
    S 1.1.1.4 [1/0] via 1.1.1.1

    R1#sh run
    interface Serial2/0
    no ip address
    encapsulation frame-relay

    interface Serial2/0.201 point-to-point
    ip address 1.1.1.2 255.255.255.252
    frame-relay interface-dlci 201

    R0#ping 1.1.1.2

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
    …..
    Success rate is 0 percent (0/5)

    Thank you very much!

    Reply
    • Jesin A says

      March 28, 2016 at 2:37 am

      Hi Valentina,

      The problem could be with the configuration of the Cloud device. Please check the settings in the “Frame Relay” and Interface sections of the cloud.

      If everything is correct and it still doesn’t work share the PKT file over Dropbox (or another service) and I’ll have a look.

      Reply
  6. Hashim says

    January 30, 2017 at 2:29 am

    Hi brothers as I configured the above codes it doesn’t ping, and I didn’t understand what is 2/0.102 things. I am making just 0/0/0. Can anyone help me.

    Reply
    • Je12emy says

      November 7, 2019 at 12:41 pm

      .102 is a (logical) subinterface

      Reply

Trackbacks

  1. Demystifying EIGRP message types with Wireshark | Jesin's Blog says:
    June 25, 2013 at 12:33 am

    […] multicasted by default but if neighbors are configured statically on a non broadcast medium like Frame Relay they are […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.