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 |
164 # * $5: the local IPv6 address to assign to this interface,
165 # * $6: the IPv6 address of the remote network interface.
186 # * add and IPv4 and an IPv6 address on each veth interface,
209 # Set up the IPv4, IPv6 and MPLS overlays.
257 ip netns exec "${NS1}" sysctl -qw net.ipv6.conf.all.forwarding=1
258 ip netns exec "${NS2}" sysctl -qw net.ipv6.conf.all.forwarding=1
325 # $IPV4, $IPV6, $MPLS_UC and $MULTIPROTO are inherited from the calling
343 if [ $IPV6 ]; then
344 ping_test_one "${PING6}" "2001:db8::103" "IPv6 packets over ${UNDERLAY}${MODE}"
351 # Set up a bareudp overlay and run reachability tests over IPv4 and IPv6
363 local IPV6
370 IPV6="ipv6"
372 IPV6=""
376 "ipv6")
377 IPV6="ipv6"
384 IPV6=""
391 readonly IPV6
411 # IPv6 over UDPv4
412 if [ $IPV6 ]; then
414 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
418 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
444 # the IPv4 underlay, before setting up and testing the IPv6 underlay
450 # New encapsulation instructions for bareudp over IPv6
461 # IPv6 over UDPv6
462 if [ $IPV6 ]; then
463 # New encapsulation instructions for bareudp over IPv6
464 tc -netns "${NS1}" filter add dev veth10 ingress protocol ipv6 \
468 tc -netns "${NS2}" filter add dev veth23 ingress protocol ipv6 \
476 # New encapsulation instructions for bareudp over IPv6
487 # Test IPv6 underlay
504 # Use ping6 on systems where ping doesn't handle IPv6
538 test_overlay ipv6 nomultiproto