Lines Matching refs:vid1
499 local vid1=10
516 h2_mac1=$(ip -n $h2 -j -p link show eth0.$vid1 | jq -r '.[]["address"]')
518 run_cmd "bridge -n $sw1 fdb replace $h2_mac1 dev vx0 master static vlan $vid1"
520 run_cmd "ip -n $sw1 neigh replace $tip1 lladdr $h2_mac1 nud permanent dev br0.$vid1"
529 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
530 log_test $? 0 "arping (VLAN $vid1)"
535 log_test $? 0 "ARP suppression (VLAN $vid1)"
541 run_cmd "bridge -n $sw1 vlan set vid $vid1 dev vx0 neigh_suppress on"
542 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress on\""
543 log_test $? 0 "\"neigh_suppress\" is on (VLAN $vid1)"
547 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
548 log_test $? 0 "arping (VLAN $vid1)"
553 log_test $? 0 "ARP suppression (VLAN $vid1)"
563 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
564 log_test $? 0 "arping (VLAN $vid1)"
569 log_test $? 0 "ARP suppression (VLAN $vid1)"
579 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
580 log_test $? 0 "arping (VLAN $vid1)"
585 log_test $? 0 "ARP suppression (VLAN $vid1)"
591 run_cmd "bridge -n $sw1 vlan set vid $vid1 dev vx0 neigh_suppress off"
592 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress off\""
593 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid1)"
595 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
596 log_test $? 0 "arping (VLAN $vid1)"
601 log_test $? 0 "ARP suppression (VLAN $vid1)"
616 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip1 -I eth0.$vid1 $tip1"
617 log_test $? 0 "arping (VLAN $vid1)"
622 log_test $? 0 "ARP suppression (VLAN $vid1)"
629 local vid1=10
647 h2_mac1=$(ip -n $h2 -j -p link show eth0.$vid1 | jq -r '.[]["address"]')
649 run_cmd "bridge -n $sw1 fdb replace $h2_mac1 dev vx0 master static vlan $vid1"
651 run_cmd "ip -n $sw1 neigh replace $daddr1 lladdr $h2_mac1 nud permanent dev br0.$vid1"
660 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
661 log_test $? 0 "ndisc6 (VLAN $vid1)"
666 log_test $? 0 "NS suppression (VLAN $vid1)"
672 run_cmd "bridge -n $sw1 vlan set vid $vid1 dev vx0 neigh_suppress on"
673 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress on\""
674 log_test $? 0 "\"neigh_suppress\" is on (VLAN $vid1)"
678 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
679 log_test $? 0 "ndisc6 (VLAN $vid1)"
684 log_test $? 0 "NS suppression (VLAN $vid1)"
694 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
695 log_test $? 0 "ndisc6 (VLAN $vid1)"
700 log_test $? 0 "NS suppression (VLAN $vid1)"
710 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
711 log_test $? 0 "ndisc6 (VLAN $vid1)"
716 log_test $? 0 "NS suppression (VLAN $vid1)"
722 run_cmd "bridge -n $sw1 vlan set vid $vid1 dev vx0 neigh_suppress off"
723 run_cmd "bridge -n $sw1 -d vlan show dev vx0 vid $vid1 | grep \"neigh_suppress off\""
724 log_test $? 0 "\"neigh_suppress\" is off (VLAN $vid1)"
726 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
727 log_test $? 0 "ndisc6 (VLAN $vid1)"
732 log_test $? 0 "NS suppression (VLAN $vid1)"
747 run_cmd "ip netns exec $h1 ndisc6 -q -r 1 -s $saddr1 -w 5000 $daddr1 eth0.$vid1"
748 log_test $? 0 "ndisc6 (VLAN $vid1)"
753 log_test $? 0 "NS suppression (VLAN $vid1)"