Lines Matching full:ipv6
8 # configurations of bareudp (using IPv4 or IPv6 as underlay and transporting
9 # IPv4, IPv6 or MPLS packets on the overlay).
14 # is assigned an IPv4 and an IPv6 address. A host-route allows a veth to
18 # IPv4 and IPv6 addresses on their loopback device. Routes are added in NS0
20 # For IPv4 and IPv6 reachability tests, the route simply sets the peer's
32 # | * IPv6 address: 2001:db8::100/128 |
33 # | * IPv6 address: 2001:db8::200/128 |
35 # | * IPv6 route: 2001:db8::103/128 reachable via 2001:db8::11 |
36 # | * IPv6 route: 2001:db8::203/128 reachable via 2001:db8::11 |
41 # | | * IPv6 address: 2001:db8::10, peer 2001:db8::11/128 |
53 # | * IPv6 address: 2001:db8::11, peer 2001:db8::10/128 |
63 # | | * IPv6 address: 2001:db8::21, peer 2001:db8::22/128 |
75 # | * IPv6 address: 2001:db8::22, peer 2001:db8::21/128 |
85 # | | * IPv6 address: 2001:db8::32, peer 2001:db8::33/128 |
96 # | * IPv6 address: 2001:db8::33, peer 2001:db8::32/128 |
100 # | * IPv6 address: 2001:db8::103/128 |
101 # | * IPv6 address: 2001:db8::203/128 |
103 # | * IPv6 route: 2001:db8::100/128 reachable via 2001:db8::32 |
104 # | * IPv6 route: 2001:db8::200/128 reachable via 2001:db8::32 |
144 # * $5: the local IPv6 address to assign to this interface,
145 # * $6: the IPv6 address of the remote network interface.
166 # * add and IPv4 and an IPv6 address on each veth interface,
185 # Set up the IPv4, IPv6 and MPLS overlays.
225 ip netns exec "${NS1}" sysctl -qw net.ipv6.conf.all.forwarding=1
226 ip netns exec "${NS2}" sysctl -qw net.ipv6.conf.all.forwarding=1
293 # $IPV4, $IPV6, $MPLS_UC and $MULTIPROTO are inherited from the calling
311 if [ $IPV6 ]; then
312 ping_test_one "${PING6}" "2001:db8::103" "IPv6 packets over ${UNDERLAY}${MODE}"
319 # Set up a bareudp overlay and run reachability tests over IPv4 and IPv6
331 local IPV6
338 IPV6="ipv6"
340 IPV6=""
344 "ipv6")
345 IPV6="ipv6"
352 IPV6=""
359 readonly IPV6
379 # IPv6 over UDPv4
380 if [ $IPV6 ]; then
382 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
386 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
412 # the IPv4 underlay, before setting up and testing the IPv6 underlay
418 # New encapsulation instructions for bareudp over IPv6
429 # IPv6 over UDPv6
430 if [ $IPV6 ]; then
431 # New encapsulation instructions for bareudp over IPv6
432 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
436 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
444 # New encapsulation instructions for bareudp over IPv6
455 # Test IPv6 underlay
472 # Use ping6 on systems where ping doesn't handle IPv6
503 test_overlay ipv6 nomultiproto