Hi All
I am trying to generate a series of IPv6 using a shell script
#!/bin/sh
FROM=1 TO=ff
FORMAT="%0${#FROM}X"
FROM=$(printf '%d' 0x$FROM) TO=$(printf '%d' 0x$TO)
while [ $FROM -le $TO ]
do
IFROM=$1 ITO=$2
IFROM=$(printf '%d' 0x$IFROM) ITO=$(printf '%d' 0x$ITO)
FORMAT2="%0${#IFROM}X"
while [ $IFROM -le $ITO ]
do
printf 'FF'
printf $FORMAT $FROM
printf '::'
printf $FORMAT2 $IFROM
printf '\n'
IFROM=$((IFROM+1))
done
FROM=$((FROM+1))
done
printf '\n'
this works fine I get
FF1:1
FF1:2
.
.
.
FFFF::FF
what i am trying to do is run a bunch of VLC commandline sessions streaming to multicast groups ff15::1 works but ff1::1 or (ff01::1) dont seem to work what are valid multicast address for IPv6?