You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
179B

  1. #!/bin/sh
  2. for i in `seq 1 $1`; do
  3. ip=2001:41d0:1:569f::$(( (RANDOM % 9000) + 1 )):$(( (RANDOM % 9000) + 1 ))
  4. echo "Adding $ip ..."
  5. ip -6 addr add $ip dev eth0
  6. done