Thursday, 25 October 2018

Network commands

              Mutlicast - Mutlicast Teset using iperf
                    STA DUT
                           - mcsctl -s br-lan route flood
                           - echo 0 > /sys/devices/virtual/net/br-lan/bridge/multicast_snooping
                    STA back end - run iperf server
                           - route print
                           - route add 224.0.0.0 MASK 240.0.0.0 IF <if id> <ifterface ip(192.168.1.40>
                           - route add 225.0.0.0 MASK 255.0.0.0 IF <if id> <ifterface ip(192.168.1.40>
                           - make sure above routes are added using 'route print'
                           - iperf -s -u -i 1 -B <mcast group add(225.0.0.10)>
                    AP Back end - run iperf client
                           -  Enable mcast enhancement:
                               - iwpriv ath0 mcastenhance 5
                           -  From AP Dut console check that mcast group ip(225.0.0.100) is updated.
                               - mcsctl -g br-lan mdbtbl 20
                           -  iperf -c <multicast group ip(225.0.0.10)> -u -i 1 -t 100 -B <interface ip(192.168.1.55> -b 5M
                           -  Make sure server is receiving the traffic.

Ethernet Header:

6 bytes: Dest mac address
6 bytes: src mac address
2 bytes: Type

IP Header:


No comments:

Post a Comment