Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- v=(lo tungre{1..30})
- for i in {1..30} ; do
- ip link add name ${v[i]} type gretap dev ${v[i-1]}
- ip link set ${v[i]} up
- ping -qb 255.255.255.255 -I ${v[i]} >/dev/null 2>&1 &
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement