Closed blackbit42 closed 1 month ago
The configuration statement:-
0E42 LCS -e SNA -m 02:00:00:23:43:01 tap2
says that the LCS should use a preconfigured interface named tap2, in which case the -m option is ignored. Ideally, the configuration statement should have been rejected, and in a future it will be.
Use the ip link and ip tuntap commands you illustrated above to preconfigure the tap interface (with another ip link command to bring the tap up) before starting Hercules. To use SNA the tap interface will almost certainly have to be bridged, which generally mandates the use of a preconfigured tap interface. And preconfiguring the interface(s) means you don't have to start Hercules as root.
Changing the configuration statement to:-
0E42 LCS -e SNA -m 02:00:00:23:43:01 -x tap2
and doing nothing else may also work. LCS should create a tap interface named tap2, and use the -m option to set the MAC address.
Thanks for the response.
0E42 LCS -e SNA -m 02:00:00:23:43:01 -x tap2
leads to:
HHC00916E 0:0E42 LCS: Option TAP device name value tap2 invalid
HHC00007I Previous message from function 'ParseArgs' at ctc_lcs.c(3512)
HHC01463E 0:0E42 device initialization failed
HHC00007I Previous message from function 'attach_device' at config.c(1354)
I want to use a LCS device for SNA communication and set a particular MAC address.
Unfortunately, that leads to:
Even though the message ID is different, I think the following is the relevant documentation:
By the way, I start hercules as root.
Manually, i can set a MAC address for a tap interface just fine though:
What am I doing wrong here?