master-thesis/netpfga/set_ipv6_neighbour.sh

8 lines
143 B
Bash
Raw Normal View History

#!/bin/sh
set -x
for addr in $(seq 1 8); do
sudo ip -6 neighbor add 2001:db8:42::$addr lladdr 02:53:55:4d:45:0${addr} dev enp2s0f1
done