README - Added commands to check IPv6 multicast traffic
This commit is contained in:
@@ -78,10 +78,21 @@ iperf3 -s # Setup server on host 10.1.1.2
|
|||||||
iperf3 -c 10.1.1.2 # Check TCP downlink from 10.1.1.2
|
iperf3 -c 10.1.1.2 # Check TCP downlink from 10.1.1.2
|
||||||
iperf3 -c 10.1.1.2 -u # Check UDP downlink from 10.1.1.2
|
iperf3 -c 10.1.1.2 -u # Check UDP downlink from 10.1.1.2
|
||||||
|
|
||||||
|
# IPv4 Multicast
|
||||||
# Test multicast connectivity (with iperf)
|
# Test multicast connectivity (with iperf)
|
||||||
iperf -s -u -B 224.0.67.67 -i 1 # Setup multicast receiver
|
iperf -s -u -B 224.0.67.67 -i 1 # Setup multicast receiver
|
||||||
iperf -c 224.0.67.67 -u --ttl 5 -t 10 -b 1M # Send for 10 seconds at 1 MBit/s
|
iperf -c 224.0.67.67 -u --ttl 5 -t 10 -b 1M # Send for 10 seconds at 1 MBit/s
|
||||||
# Test multicast connectivity (with socat)
|
# Test multicast connectivity (with socat)
|
||||||
seq 50 | xargs -Iz echo "Hello World" | pv -qL 2 | socat -u - UDP4-DATAGRAM:239.255.10.10:5000,ip-multicast-ttl=1 # Sender
|
seq 50 | xargs -Iz echo "Hello World" | pv -qL 2 | socat -u - UDP4-DATAGRAM:239.255.10.10:5000,ip-multicast-ttl=1 # Sender
|
||||||
socat -u UDP4-RECV:5000,ip-add-membership=239.255.10.10:0.0.0.0 - # Receiver
|
socat -u UDP4-RECV:5000,ip-add-membership=239.255.10.10:0.0.0.0 - # Receiver
|
||||||
|
|
||||||
|
# IPv6 Multicast
|
||||||
|
# Test multicast connectivity (with iperf)
|
||||||
|
iperf -s -u -V -B ff15::6767 -i 1 # Setup IPv6 multicast receiver
|
||||||
|
iperf -c ff15::6767 -u -V --ttl 5 -t 10 -b 1M # Send for 10 seconds at 1 MBit/s
|
||||||
|
# Test multicast connectivity (with socat)
|
||||||
|
seq 50 | xargs -Iz echo "Hello World" | pv -qL 2 | socat -u - UDP6-DATAGRAM:[ff15::101]:5000 # Sender
|
||||||
|
seq 50 | xargs -Iz echo "Hello World" | pv -qL 2 | socat -u - UDP6-DATAGRAM:[ff15::101]:5000,so-bindtodevice=eth0,setsockopt-int=41:18:5 # Sender, TTL=5
|
||||||
|
socat -u UDP6-RECV:5000,ipv6-join-group=[ff15::101]:eth0 - # Receiver
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user