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:

  1. 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". 😭
  2. Search for first ELAN which matches in type of emulated LAN, maximum frame size and ATM address of the LEC.
  3. If matching ELAN was not found, return default ELAN definitions.
  4. 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 πŸ‘‹
  • -l listen_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 πŸ“£)
  • -f configuration_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