8 lines
180 B
Bash
Executable file
8 lines
180 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
for addr in $(seq 1 32); do
|
|
hwaddr=$(printf "%0.2d" $addr)
|
|
sudo ip -6 neighbor add 2001:db8:42::$addr lladdr 02:53:55:4d:45:${hwaddr} dev enp2s0f1
|
|
done
|