Frame Relay is a multiplexed interface to packet switched network.
Frame Relay is a simplified form of Packet Switching similar in principle to X.25
in which synchronous frames of data are routed to different destinations depending on header information.
Frame Relay uses the synchronous HDLC frame format.
Topics covered in this manual:
To use Frame Relay interface you must have already working synchronous interface.
You can read how to set up synchronous boards supported by Mikrotik RouterOS v2.4: The “framerelay-2.4.x.npk”(32KB) package is required. The package can be downloaded from MikroTik’s web page www.mikrotik.com. To install this package, please upload it to the router with ftp and reboot. You may check to see if the package is installed with the command: Line seven shows that required package "framerelay-2.4.5.npk" is installed. Package enables Frame Relay PVC (Permanent Virtual Circuit) interface,
which acts as a logical network interface where endpoints and class of service are
defined by network management. This logical interface is using one of supported Moxa
or Cyclades synchronous adapters as a physical interface.
To configure frame relay, you should first set up the synchronous interface,
and then the PVC interface.
Argument description:
Argument description:
To add a PVC interface, use the /interface pvc add command.
For example, for a Cyclades interface and DLCI equal to 42, we should use the command:
Argument description:
Let us consider the following network setup with MikroTik Router with Cyclades PC300
interface connected to a leased line with baseband modems and a CISCO router at the other end. PVC and Cyclades interface configuration Cyclades PVC CISCO router setup CISCO# show running-config Building configuration... Current configuration... Send ping to MikroTik router
Let us consider the following network setup with MikroTik Router with MOXA C101 synchronous
interface connected to a leased line with baseband modems and a CISCO router at the other end.
PVC and Moxa interface configuration Moxa PVC CISCO router setup CISCO# show running-config Building configuration... Current configuration... Send ping to MikroTik router
Frame Relay Installation on the MikroTik RouterOS v2.4
Cyclades PC300 PCI Adapters
Moxa C101 Synchronous interface
[MikroTik] > system package print
# NAME VERSION BUILD-TIME UNINSTALL
0 routing 2.4.5 dec/04/2001 14:54:29 no
1 snmp 2.4.5 dec/04/2001 14:54:41 no
2 ppp 2.4.5 dec/04/2001 14:55:36 no
3 pppoe 2.4.5 dec/04/2001 14:56:30 no
4 ssh 2.4.5 dec/04/2001 14:58:22 no
5 pptp 2.4.5 dec/04/2001 14:55:54 no
6 cyclades 2.4.5 dec/04/2001 14:58:39 no
7 framerelay 2.4.5 dec/04/2001 15:07:21 no
8 system 2.4.5 dec/04/2001 14:53:19 no
[MikroTik] >
Configuring Frame Relay Interface
Cyclades PC300 interface
[MikroTik] > interface cyclades print
Flags: X - disabled
0 name=cyclades1 mtu=1600 media-type=V35 line-code=B8ZS framing-mode=ESF line-build-out=0dB rx-sensitivity=short-haul
line-protocol=frame-relay frame-relay-type=ansi frame-relay-dce=no speed=0 active-channels=FFFFFFFF
[MikroTik] >
MOXA C101 interface
[MikroTik] > interface synchronous print
Flags: X - disabled
0 name=sync1 mtu=1600 speed=76 rx-clock-source=rxc-line tx-clock-source=rxc-clock ignore-dcd=no line-protocol=cisco-hdlc
frame-relay-type=ansi frame-relay-dce=no
[MikroTik] >
Frame Relay PVC interface
[MikroTik] > interface pvc add dlci=42 interface=cyclades1
[MikroTik] > interface pvc print
Flags: X - disabled
# NAME MTU DLCI INTERFACE
0 pvc1 1590 42 cyclades1
[MikroTik] >
Frame Relay Configuration Example with Cyclades Interface
[MikroTik] ip address> add interface=pvc1 address=1.1.1.1 netmask=255.255.255.0
[MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 1.1.1.1/24 1.1.1.0 1.1.1.255 pvc1
[MikroTik] ip address>
[MikroTik] interface cyclades> print
Flags: X - disabled
0 name=cyclades1 mtu=1600 media-type=V35 line-code=B8ZS framing-mode=ESF line-build-out=0dB rx-sensitivity=short-haul
line-protocol=frame-relay frame-relay-type=ansi frame-relay-dce=no speed=0 active-channels=FFFFFFFF
[MikroTik] interface cyclades>
[MikroTik] interface pvc> print
Flags: X - disabled
# NAME MTU DLCI INTERFACE
0 pvc1 1590 42 cyclades1
[MikroTik] interface pvc>
...
!
ip subnet-zero
no ip domain-lookup
frame-relay switching
!
interface Ethernet0
description connected to EthernetLAN
ip address 10.0.0.254 255.255.255.0
!
interface Serial0
description connected to Internet
no ip address
encapsulation frame-relay IETF
serial restart-delay 1
frame-relay lmi-type ansi
frame-relay intf-type dce
!
interface Serial0.1 point-to-point
ip address 1.1.1.2 255.255.255.0
no arp frame-relay
frame-relay interface-dlci 42
!
...
end.
CISCO#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
CISCO#
Frame Relay Configuration Example with MOXA Interface
[MikroTik] ip address> add interface=pvc1 address=1.1.1.1 netmask=255.255.255.0
[MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 1.1.1.1/24 1.1.1.0 1.1.1.255 pvc1
[MikroTik] ip address>
[MikroTik] interface sync1> print
Flags: X - disabled
0 name=sync1 mtu=1600 speed=76 rx-clock-source=rxc-line tx-clock-source=rxc-clock ignore-dcd=no line-protocol=frame-relay
frame-relay-type=ansi frame-relay-dce=no
[MikroTik] interface sync1>
[MikroTik] interface pvc> print
Flags: X - disabled
# NAME MTU DLCI INTERFACE
0 pvc1 1590 42 sync1
[MikroTik] interface pvc>
...
!
ip subnet-zero
no ip domain-lookup
frame-relay switching
!
interface Ethernet0
description connected to EthernetLAN
ip address 10.0.0.254 255.255.255.0
!
interface Serial0
description connected to Internet
no ip address
encapsulation frame-relay IETF
serial restart-delay 1
frame-relay lmi-type ansi
frame-relay intf-type dce
!
interface Serial0.1 point-to-point
ip address 1.1.1.2 255.255.255.0
no arp frame-relay
frame-relay interface-dlci 42
!
...
end.
CISCO#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
CISCO#
FrameRelay does not support address resolving and IETF encapsulation should be used.
Please check the configuration on the Cisco router.
© Copyright 1999-2001, MikroTik