Lines Matching refs:vid1
514 local vid1=10
531 h2_mac1=$(ip -n h2 -j -p link show eth0.$vid1 | jq -r '.[]["address"]')
533 run_cmd "bridge -n sw1 fdb replace $h2_mac1 dev vx0 master static vlan $vid1"
535 run_cmd "ip -n sw1 neigh replace $tip1 lladdr $h2_mac1 nud permanent dev br0.$vid1"
544 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
545 log_test $? 0 "arping (VLAN $vid1)"
550 log_test $? 0 "ARP suppression (VLAN $vid1)"
556 run_cmd "bridge -n sw1 vlan set vid $vid1 dev vx0 neigh_suppress on"
557 run_cmd "bridge -n sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress on\""
558 log_test $? 0 "\"neigh_suppress\" is on (VLAN $vid1)"
562 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
563 log_test $? 0 "arping (VLAN $vid1)"
568 log_test $? 0 "ARP suppression (VLAN $vid1)"
578 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
579 log_test $? 0 "arping (VLAN $vid1)"
584 log_test $? 0 "ARP suppression (VLAN $vid1)"
594 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
595 log_test $? 0 "arping (VLAN $vid1)"
600 log_test $? 0 "ARP suppression (VLAN $vid1)"
606 run_cmd "bridge -n sw1 vlan set vid $vid1 dev vx0 neigh_suppress off"
607 run_cmd "bridge -n sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress off\""
608 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid1)"
610 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
611 log_test $? 0 "arping (VLAN $vid1)"
616 log_test $? 0 "ARP suppression (VLAN $vid1)"
631 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
632 log_test $? 0 "arping (VLAN $vid1)"
637 log_test $? 0 "ARP suppression (VLAN $vid1)"
644 local vid1=10
662 h2_mac1=$(ip -n h2 -j -p link show eth0.$vid1 | jq -r '.[]["address"]')
664 run_cmd "bridge -n sw1 fdb replace $h2_mac1 dev vx0 master static vlan $vid1"
666 run_cmd "ip -n sw1 neigh replace $daddr1 lladdr $h2_mac1 nud permanent dev br0.$vid1"
675 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
676 log_test $? 0 "ndisc6 (VLAN $vid1)"
681 log_test $? 0 "NS suppression (VLAN $vid1)"
687 run_cmd "bridge -n sw1 vlan set vid $vid1 dev vx0 neigh_suppress on"
688 run_cmd "bridge -n sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress on\""
689 log_test $? 0 "\"neigh_suppress\" is on (VLAN $vid1)"
693 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
694 log_test $? 0 "ndisc6 (VLAN $vid1)"
699 log_test $? 0 "NS suppression (VLAN $vid1)"
709 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
710 log_test $? 0 "ndisc6 (VLAN $vid1)"
715 log_test $? 0 "NS suppression (VLAN $vid1)"
725 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
726 log_test $? 0 "ndisc6 (VLAN $vid1)"
731 log_test $? 0 "NS suppression (VLAN $vid1)"
737 run_cmd "bridge -n sw1 vlan set vid $vid1 dev vx0 neigh_suppress off"
738 run_cmd "bridge -n sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress off\""
739 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid1)"
741 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
742 log_test $? 0 "ndisc6 (VLAN $vid1)"
747 log_test $? 0 "NS suppression (VLAN $vid1)"
762 run_cmd "ip netns exec h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
763 log_test $? 0 "ndisc6 (VLAN $vid1)"
768 log_test $? 0 "NS suppression (VLAN $vid1)"