Lines Matching full:ipv6

8 # Below is depicted the IPv6 network of an operator which offers advanced
9 # IPv4/IPv6 VPN services to hosts, enabling them to communicate with each
11 # In this example, hosts hs-1 and hs-2 are connected through an IPv4/IPv6 VPN
12 # service, while hs-3 and hs-4 are connected using an IPv6 only VPN.
14 # Routers rt-1,rt-2,rt-3 and rt-4 implement IPv4/IPv6 L3 VPN services
22 # into the IPv6 Destination Address. When a SRv6 Policy is made of only one
24 # SID directly into the IPv6 DA;
31 # handling, at the same time, both tunneled IPv4 and IPv6 traffic.
74 # in the IPv6 operator network.
90 # services. Reachability of SIDs is ensured by proper configuration of the IPv6
98 # received traffic into a new IPv6 packet with a given SID List contained in
101 # IPv4/IPv6 VPN between hs-1 and hs-2
104 # Hosts hs-1 and hs-2 are connected using dedicated IPv4/IPv6 VPNs.
108 # i.a) IPv6 traffic, SID List=fcff:3::e,fcff:4::e,fcff:2::d46
111 # Policy (i.a) steers tunneled IPv6 traffic through SRv6 routers
115 # first SID (fcff:3::e) and pushing it into the IPv6 DA. In case of IPv4
117 # List (ii.a) consists of only one SID that can be stored directly in the IPv6
123 # i.b) IPv6 traffic, SID List=fcff:1::d46
126 # Policy (i.b) steers tunneled IPv6 traffic through the SRv6 router rt-1.
130 # SID (fcff::1::d46) inside the IPv6 DA.
132 # SID (fcff:4::e) and pushing it into the IPv6 DA.
135 # hs-1->hs-2 |IPv6 DA=fcff:3::e|SRH SIDs=fcff:4::e,fcff:2::d46|IPv6|...| (i.a)
136 # hs-1->hs-2 |IPv6 DA=fcff:2::d46|IPv4|...| (ii.a)
138 # hs-2->hs-1 |IPv6 DA=fcff:1::d46|IPv6|...| (i.b)
139 # hs-2->hs-1 |IPv6 DA=fcff:4::e|SRH SIDs=fcff:3::e,fcff:1::d46|IPv4|...| (ii.b)
142 # IPv6 VPN between hs-3 and hs-4
145 # Hosts hs-3 and hs-4 are connected using a dedicated IPv6 only VPN.
149 # i.c) IPv6 traffic, SID List=fcff:2::e,fcff:4::d46
151 # Policy (i.c) steers tunneled IPv6 traffic through SRv6 routers rt-2,rt-4.
153 # first SID (fcff:2::e) in the IPv6 DA.
158 # i.d) IPv6 traffic, SID List=fcff:1::e,fcff:3::d46.
160 # Policy (i.d) steers tunneled IPv6 traffic through SRv6 routers rt-1,rt-3.
162 # first SID (fcff:1::e) in the IPv6 DA.
165 # hs-3->hs-4 |IPv6 DA=fcff:2::e|SRH SIDs=fcff:4::d46|IPv6|...| (i.c)
166 # hs-4->hs-3 |IPv6 DA=fcff:1::e|SRH SIDs=fcff:3::d46|IPv6|...| (i.d)
387 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
388 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
389 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1
441 # set default routes to unreachable for both ipv4 and ipv6
459 # $6 - traffic type (IPv6 or IPv4)
522 ip netns exec "${hsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
523 ip netns exec "${hsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
554 sysctl -wq net.ipv6.conf."${RT2HS_DEVNAME}".proxy_ndp=1
608 # create an IPv6 VPN between hosts hs-1 and hs-2.
634 # create an IPv6 VPN between hosts hs-3 and hs-4
705 log_test $? 0 "IPv6 Hosts connectivity: hs-${hssrc} -> gw"
717 log_test $? 0 "IPv6 Hosts connectivity: hs-${hssrc} -> hs-${hsdst}"
745 log_test $? 1 "IPv6 Hosts isolation: hs-${hssrc} -X-> hs-${hsdst}"
772 log_section "IPv6 routers connectivity test"
789 log_section "IPv4/IPv6 connectivity test among hosts and gateways"
798 log_section "SRv6 VPN connectivity test hosts (h1 <-> h2, IPv4/IPv6)"
803 log_section "SRv6 VPN connectivity test hosts (h3 <-> h4, IPv6 only)"