FrameRelay over E1
FrameRelay-over-E1 Daemon (FRED)
Intro
- Gateway software to run on on-site E1 connection (see artice E1/T1 Interface)
- Bridges IP packets between Linux kernel and FrameRelay over E1
- Suitable to connect Motorola EBTS (can be used instead of Cisco routers with E1 card installed)
- Supports FRF.12-inner fragmentation for incoming traffic on IP bridges (Frame Relay -> Linux)
- Implements basic DCE-PVC LMI with support of Q.933-A, ANSI T1.617-D, GOF (automatic detection)
- Debian 12 arm64 or amd64, tested on Raspberry CM4
Configuration
Default configuration file is /opt/FRED/default.env
#
# Parameters for FRED binary
#
# E1D interface and line in format <interface number>.<line number>
FRED_LINE=0.0
# E1 slot list in format <first slot>-<last slot>
FRED_SLOT_LIST=1-15
# FrameRelay feature list in format <option>[,...]
# FRF.12-OUTER - outer frame sequence counting and fragmentation (not supported yet)
FRED_FEATURE_LIST=
# DLCI list in format <DLCI>:<type>[,...]
# LMI-DCE-PVC
# IP - IPv4 bridge
FRED_DLCI_LIST=0:LMI-DCE-PVC,16:IP,17:IP
# Path to configuration script to manage IP interface configuration on up and down
FRED_SCRIPT=./dimetra.sh
#
# Parameters for dimetra.sh
#
# Zone ID
DIMETRA_ZONE=2
# Local Site ID
DIMETRA_SITE=26
# FrameRelay DLCIs
DIMETRA_DLCI_PRIMARY=16
DIMETRA_DLCI_SECONDARY=17
# When set, routes will be added to FRR's OSPF prefix list
FRR_PREFIX_LIST=dimetra
dimetra.sh
dimetra.sh is a network auto configuration script, that FRED can run when TUN interfaces up and down. It requires following packages:
apt install php-cli frr
Multiple instances
You can have several separated systems connected to a local Linux system. For such case you need to have several .env files for each configuration. useĀ sudo ./setup.sh install to register all instances.
Also it's possible to run FRED in command line - sudo ./run.sh <configuration.env>