1# Configuration file for setting IP addresses for tunneling network interfaces 2 3INTERFACE="$1" 4 5# Read the "TUNNEL_VxVy" as "Vx over Vy" 6TUNNEL_V4V4=${INTERFACE}-ipip 7TUNNEL_V6V6=${INTERFACE}-ip6ip6 8TUNNEL_V6V4=${INTERFACE}-ip6ip 9TUNNEL_V4V6=${INTERFACE}-ipip6 10 11ip link set ${TUNNEL_V4V4} down 12ip link set ${TUNNEL_V4V6} down 13ip link set ${TUNNEL_V6V6} down 14ip link set ${TUNNEL_V6V4} down 15 16ip tunnel del ${TUNNEL_V4V4} 17ip tunnel del ${TUNNEL_V6V6} 18ip tunnel del ${TUNNEL_V6V4} 19ip tunnel del ${TUNNEL_V4V6} 20