Lines Matching full:24
62 # in the 10.0.1.0/24 and 10.0.2.0/24 subnets, respectively.
75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
77 # adds a new node in the 10.0.0.0/24 tree (dst node exists).
78 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
81 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
83 # dst now overlaps with the 10.0.1.0/24 ESP policy in fwd.
84 # kernel must 'promote' existing one (10.0.0.0/24) to 10.0.0.0/23.
85 # But 10.0.0.0/23 also includes existing 10.0.1.0/24, so that node
88 # 10.0.0.0/24 (node 1 in dst tree of the bin)
89 # 10.1.0.0/24 (node in src tree of dst node 1)
90 # 10.2.0.0/24 (node in src tree of dst node 1)
91 # 10.0.1.0/24 (node 2 in dst tree of the bin)
92 # 10.0.2.0/24 (node in src tree of dst node 2)
93 # 10.2.0.0/24 (node in src tree of dst node 2)
98 # the two '10.0.2.0/24' are also merged.
102 # 10.0.2.0/24 (node in src tree of dst node)
103 # 10.1.0.0/24 (node in src tree of dst node)
104 # 10.2.0.0/24 (node in src tree of dst node)
106 # 10.0.0.0/24 and 10.0.1.0/24 nodes have been merged as 10.0.0.0/23.
107 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
164 … echo netns exec $ns ip xfrm policy add src 10.$i.1.0/24 dst 10.$i.$j.0/24 dir out action block
165 … echo netns exec $ns ip xfrm policy add src 10.$i.$j.0/24 dst 10.$i.1.0/24 dir fwd action block
176 … echo netns exec $ns ip xfrm policy add src dead:$i:$j::/64 dst dead:$i::/24 dir fwd action block
299 ip -net $ns xfrm policy add dst $j.0.0.0/24 dir out priority 10 action allow
302 if ! ip -net $ns xfrm policy get dst $j.0.0.0/24 dir out > /dev/null; then
364 ip -net ${ns[$i]} addr add 10.0.$i.2/24 dev $DEV
381 ip -net ${ns[3]} addr add 10.0.1.1/24 dev eth1
382 ip -net ${ns[3]} addr add 10.0.3.1/24 dev veth0
388 ip -net ${ns[4]} addr add 10.0.2.1/24 dev eth1
389 ip -net ${ns[4]} addr add 10.0.3.10/24 dev veth0
411 do_esp ${ns[3]} 10.0.3.1 10.0.3.10 10.0.1.0/24 10.0.2.0/24 $SPI1 $SPI2
413 do_esp ${ns[4]} 10.0.3.10 10.0.3.1 10.0.2.0/24 10.0.1.0/24 $SPI2 $SPI1
419 do_esp_policy_get_check ${ns[3]} 10.0.1.0/24 10.0.2.0/24
420 do_esp_policy_get_check ${ns[4]} 10.0.2.0/24 10.0.1.0/24
455 ip -net $n xfrm policy set hthresh4 28 24 hthresh6 126 125
464 do_esp_policy ${ns[3]} 10.0.3.1 10.0.3.10 10.0.1.0/24 10.0.2.0/24