Lines Matching refs:vid2
500 local vid2=20
517 h2_mac2=$(ip -n $h2 -j -p link show eth0.$vid2 | jq -r '.[]["address"]')
519 run_cmd "bridge -n $sw1 fdb replace $h2_mac2 dev vx0 master static vlan $vid2"
521 run_cmd "ip -n $sw1 neigh replace $tip2 lladdr $h2_mac2 nud permanent dev br0.$vid2"
531 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
532 log_test $? 0 "arping (VLAN $vid2)"
537 log_test $? 0 "ARP suppression (VLAN $vid2)"
544 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid2 | grep \"neigh_suppress off\""
545 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid2)"
549 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
550 log_test $? 0 "arping (VLAN $vid2)"
555 log_test $? 0 "ARP suppression (VLAN $vid2)"
565 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
566 log_test $? 0 "arping (VLAN $vid2)"
571 log_test $? 0 "ARP suppression (VLAN $vid2)"
581 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
582 log_test $? 0 "arping (VLAN $vid2)"
587 log_test $? 0 "ARP suppression (VLAN $vid2)"
597 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
598 log_test $? 0 "arping (VLAN $vid2)"
603 log_test $? 0 "ARP suppression (VLAN $vid2)"
618 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip2 -I eth0.$vid2 $tip2"
619 log_test $? 0 "arping (VLAN $vid2)"
624 log_test $? 0 "ARP suppression (VLAN $vid2)"
630 local vid2=20
648 h2_mac2=$(ip -n $h2 -j -p link show eth0.$vid2 | jq -r '.[]["address"]')
650 run_cmd "bridge -n $sw1 fdb replace $h2_mac2 dev vx0 master static vlan $vid2"
652 run_cmd "ip -n $sw1 neigh replace $daddr2 lladdr $h2_mac2 nud permanent dev br0.$vid2"
662 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
663 log_test $? 0 "ndisc6 (VLAN $vid2)"
668 log_test $? 0 "NS suppression (VLAN $vid2)"
675 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid2 | grep \"neigh_suppress off\""
676 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid2)"
680 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
681 log_test $? 0 "ndisc6 (VLAN $vid2)"
686 log_test $? 0 "NS suppression (VLAN $vid2)"
696 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
697 log_test $? 0 "ndisc6 (VLAN $vid2)"
702 log_test $? 0 "NS suppression (VLAN $vid2)"
712 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
713 log_test $? 0 "ndisc6 (VLAN $vid2)"
718 log_test $? 0 "NS suppression (VLAN $vid2)"
728 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
729 log_test $? 0 "ndisc6 (VLAN $vid2)"
734 log_test $? 0 "NS suppression (VLAN $vid2)"
749 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr2 -w 5000 $daddr2 eth0.$vid2"
750 log_test $? 0 "ndisc6 (VLAN $vid2)"
755 log_test $? 0 "NS suppression (VLAN $vid2)"