You can use the lltconfig command to add or remove LLT links when LLT is running.
See the lltconfig(1M) manual page for more details.
To add LLT links
Depending on the LLT link type, run the following command to add an LLT link:
For ether link type:
# lltconfig -t devtag -d device [-b ether ] [-s SAP] [-m mtu] [-I] [-Q]
For UDP link type:
# lltconfig -t devtag -d device -b udp [-s port] [-m mtu] -I IPaddr -B bcast
For UDP6 link type:
# lltconfig -t devtag -d device -b udp6 [-s port] [-m mtu] -I IPaddr [-B mcast]
For RDMA link type:
# lltconfig -t devtag -d device -b rdma -s port [-m mtu] -I IPaddr -B bcast
For example:
For ether link type:
# lltconfig -t eth4 -d eth4 -s 0xcafe -m 1500
For UDP link type:
# lltconfig -t link1 -d udp -b udp -s 50010 -I 192.168.1.1 -B 192.168.1.255
For UDP6 link type:
# lltconfig -t link1 -d udp6 -b udp6 -s 50010 -I 2000::1
For RDMA link:
# lltconfig -t link1 -d udp -b rdma -s 50010 -I 192.168.1.1 -B 192.168.1.255