LES(8)
π LES(8) β Maintenance Commands π
ok so bestie, this one lives in the Maintenance Commands corner of your manual, and it's all about the ATM LAN Emulation service demons. grab a strawberry π, we're going in.
β¨ NAME β¨
les, bus β ATM LAN Emulation service demons π
πΈ SYNOPSIS πΈ
lecs [-l listen_address] [-f configuration_file] [-d ]
(yes the space before that last ] is real, leave it alone, it's part of the vibe π
)
π¦ DESCRIPTION π¦
The LE Service is made of three components, and they're a little trio, a lil found family:
- the LAN Emulation Configuration Server (
lecs) - the LAN Emulation Server (
les(8)) - and the Broadcast and Unknown Server (
bus(8))
Lecs handles the distribution of LECs to different emulated LANs. How? By handing different LAN Emulation Server ATM addresses to LECs. That distribution is based on lecs's configuration database and on the info the LE client hands over. Important: it is not required that a lecs exists for all emulated LANs. You can totally bypass this whole configuration phase by just directly telling the ATM address of the les(8) to the LEC. shortcut era β¨
Here's a configuration file example for lecs:
# Our ATM address (should be included to differentiate us from
# e.g. LEC)
# Must be before ELAN definitions
470023000000030300010002010020ea000ae905
# ELAN name is inside brackets.
# Parameters below are for Ethernet type LE (Linux & almost all
# other LE clients)
[tut-lane1]
# Address of the LES
LES:=470023000000030300010002010020ea000ae901
# 802_3 or 802_5 (802_3 = Ethernet)
Type:=802_3
# 1515, 4544, 9234 or 18190 (1516= Ethernet)
Max_Frame:=1516
# ATM address for hosts that are guided to this ELAN.
# Wildcard is x or X.
470023000000030300010002010020ea0005aax0
470023000000030000010002010020ea0005bx00
47.002300000003030001000201.00603E2FDX23.00
470023000000030300010002010020ea000Xxx00
DEFAULT
# Another ELAN, which has empty name
[asdf]
# This directive sets this elan as the default i.e. it will be
# included if LEC's configure request could not be matched to
# other ELANs
#DEFAULT
LES= 470023000000030300010002010020ea000ae902
Type=Ethernet
π how we find ELAN definitions π
The rules for finding ELAN definitions, using the info provided in LE_CONFIGURE_REQUEST and the configuration file, are as follows:
- Find an entry where ELAN-NAME matches exactly and an ATM address of the LEC is found in ELAN definition. These are to match exactly with the information given in
LE_CONFIGURE_REQUEST. If ELAN-NAME is found, but ATM address doesn't match then reject with reason "Permission denied". π - Search for first ELAN which matches in type of emulated LAN, maximum frame size and ATM address of the LEC.
- If matching ELAN was not found, return default ELAN definitions.
- No match, so request is rejected with reason "No Configuration". π
SIGHUP restarts the server. that's it, that's the whole power move π«Ά
π OPTIONS π
-dβ Reads the configuration file, dumps its contents and exits. peek then yeet π-llisten_address β Use the listen_address to where wait connections. (yes, "to where wait connections", the manpage said what it said, we don't edit, we just report π£)-fconfiguration_file β Use the specified configuration file instead of.lecs_conf.
π FILES π
.lecs_confβ configuration file
π BUGS π
Undocumented. that's the whole bug section. iconic, honestly. not me wanting more lore π
π AUTHOR π
Marko Kiiskila, TUT <carnil@cs.tut.fi> β thank you king, we appreciate you π«Ά
π SEE ALSO π
les(8), atmsigd(8), zeppelin(8)
ok bestie that's the whole page, go forth and emulate those LANs β¨
this came to you straight from Linux, dated Sep 11, 1996 β vintage but make it slay ππ
π¦ where this page comes from
- arch rolling: linux-atm 2.5.2-9 Β· GPL-2.0-only
- debian bookworm: atm-tools 1:2.5.1-4+b2
- debian trixie: atm-tools 1:2.5.1-7
- fedora 43: linux-atm 2.5.1-45.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: linux-atm 2.5.1-46.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: linux-atm 2.5.2-160000.3.2 Β· BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: linux-atm 2.5.2-160000.3.2 Β· BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: linux-atm 2.5.2-160000.3.2 Β· BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: linux-atm 2.5.2-160000.3.2 Β· BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: atm-tools 1:2.5.1-4build2
- ubuntu noble: atm-tools 1:2.5.1-5.1build1
- ubuntu resolute: atm-tools 1:2.5.1-9
- ubuntu stonking: atm-tools 1:2.5.1-9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms