Lines Matching full:mpls
6 # The bareudp module allows to tunnel network protocols like IP or MPLS over
9 # IPv4, IPv6 or MPLS packets on the overlay).
21 # veth address as gateway. For MPLS reachability tests, an MPLS header is
37 # | (encapsulated with MPLS label 203) |
45 # | Traffic type: IP or MPLS (depending on test)
56 # | * Encapsulate IP or MPLS packets received on veth10 into UDP |
58 # | * Decapsulate bareudp packets (either IP or MPLS, over UDP) |
67 # | Traffic type: IP or MPLS (depending on test), over UDP
78 # | * Decapsulate bareudp packets (either IP or MPLS, over UDP) |
80 # | * Encapsulate IP or MPLS packets received on veth23 into UDP |
89 # | Traffic type: IP or MPLS (depending on test)
105 # | (encapsulated with MPLS label 200) |
209 # Set up the IPv4, IPv6 and MPLS overlays.
215 # * route these IP addresses via the intermediate namespaces (for the MPLS
216 # tests, this is also where MPLS encapsulation is done),
217 # * add routes for these IP addresses (or MPLS labels) in the intermediate
265 # Add specific overlay IP addresses, routed over MPLS
268 ip -netns "${NS0}" route add 2001:db8::203/128 src 2001:db8::200 encap mpls 203 via 2001:db8::11
269 ip -netns "${NS3}" route add 2001:db8::200/128 src 2001:db8::203 encap mpls 200 via 2001:db8::32
271 # Route the MPLS packets in the intermediate namespaces
273 ip netns exec "${NS1}" sysctl -qw net.mpls.platform_labels=256
274 ip netns exec "${NS2}" sysctl -qw net.mpls.platform_labels=256
275 ip -netns "${NS1}" -family mpls route add 200 via inet6 2001:db8::10
276 ip -netns "${NS2}" -family mpls route add 203 via inet6 2001:db8::33
347 ping_test_one "${PING6}" "2001:db8::203" "Unicast MPLS packets over ${UNDERLAY}${MODE}"
424 # MPLS (unicast) over UDPv4
426 ip netns exec "${NS1}" sysctl -qw net.mpls.conf.bareudp_ns1.input=1
427 ip netns exec "${NS2}" sysctl -qw net.mpls.conf.bareudp_ns2.input=1
474 # MPLS (unicast) over UDPv6