Searched refs:DSTIF (Results 1 – 1 of 1) sorted by relevance
24 DSTIF="" # to be populated later58 DSTIF=$(find "$NSIM2"/net -maxdepth 1 -type d ! \65 local DSTIF_IFIDX=$(cat /sys/class/net/"$DSTIF"/ifindex)71 ip link set "${DSTIF}" netns "${NAMESPACE}"84 ip netns exec "${NAMESPACE}" ip addr add "${DSTIP}"/24 dev "${DSTIF}"85 ip netns exec "${NAMESPACE}" ip link set "${DSTIF}" up107 ip link show "${DSTIF}" | awk '/ether/ {print $2}')193 if ip link show "${DSTIF}" 2> /dev/null; then194 echo "SKIP: interface ${DSTIF} exists in the system. Not overwriting it." >&2