need to identify sl# interface used by a particular instance of slattach (not subscribed to LKML)
From: Kent Dorfman <hidden>
Date: 2020-02-18 19:22:22
Hey gents. As is usually the case, engineering decisions were made before I came on-board, and now I'm stuck dealing with plans that I had no input into. Anyway, company advertised to external customers that they could connect their widgets to our system using plain ole uncompressed SLIP over RS422 serial (four wire, no flow control, 115200bps) Problem, as you may have guessed, is that since the lines are statically allocated I need to be able to assign static IPs based on the tty port they are using. I haven't used a SLIP dialup since mid-90s and from what I remember, the sl# link is dynamically allocated based on the "next available" when the slattach command handshakes with the other end. This leaves me without knowing what sl# interface to assign the IP number to. The common use case was always a single sl link over a dialup line, not 16+ different statically allocated slip connections on a single server (with no end user authentication to define the IP on a per-port basis) What is my work-around? How can I know which sl interface to configure based on a particular tty serial link? I'm not a LKML subscriber, so please CC me directly.