58 lines
2.3 KiB
Bash
Executable file
58 lines
2.3 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
conn=$1; shift
|
|
|
|
case "$conn" in
|
|
rm)
|
|
tmux new-session -s ping_rm -d ping 2a0f:98c0:1::2
|
|
tmux split-window -t ping_rm -h ping 2a0f:98c0:2::2
|
|
tmux split-window -t ping_rm -h ping 2a0f:98c0:9::2
|
|
tmux select-layout -t ping_rm even-horizontal
|
|
tmux split-window -t ping_rm -v ping 2a0f:98c0:9::3
|
|
tmux select-pane -t ping_rm -L
|
|
tmux split-window -t ping_rm -v ping 2a0f:98c0:2::3
|
|
tmux select-pane -t ping_rm -L
|
|
tmux split-window -t ping_rm -v ping 2a0f:98c0:1::3
|
|
tmux attach -t ping_rm
|
|
;;
|
|
rmv6)
|
|
tmux new-session -s rmv6 -d ping 2a0f:98c0:7::1
|
|
tmux split-window -t rmv6 -h ping 2a0f:98c0:3::1
|
|
tmux split-window -t rmv6 -h ping 2a01:2a8:a182::8
|
|
tmux select-layout -t rmv6 even-horizontal
|
|
tmux split-window -t rmv6 -v ping 2a01:2a8:a182::9
|
|
tmux select-pane -t rmv6 -L
|
|
tmux split-window -t rmv6 -v ping 2a0f:98c0:4::1
|
|
tmux select-pane -t rmv6 -L
|
|
tmux split-window -t rmv6 -v ping 2a0f:98c0:8::1
|
|
tmux attach -t rmv6
|
|
;;
|
|
rmv4)
|
|
tmux new-session -s rmv4 -d ping 147.78.193.9
|
|
tmux split-window -t rmv4 -h ping 147.78.192.9
|
|
tmux split-window -t rmv4 -h ping 195.48.74.134
|
|
tmux select-layout -t rmv4 even-horizontal
|
|
tmux split-window -t rmv4 -v ping 195.48.74.135
|
|
tmux select-pane -t rmv4 -L
|
|
tmux split-window -t rmv4 -v ping 147.78.192.10
|
|
tmux select-pane -t rmv4 -L
|
|
tmux split-window -t rmv4 -v ping 147.78.193.10
|
|
tmux attach -t rmv4
|
|
;;
|
|
ungleich)
|
|
tmux new-session -s "$conn" -d ping nico-vm.schottelius.org
|
|
tmux split-window -t "$conn" -h ping 147.78.192.9
|
|
;;
|
|
v6test)
|
|
tmux new-session -s v6test -d ping 2600::
|
|
tmux split-window -t v6test -h ping -6 heise.de
|
|
tmux split-window -t v6test -h ping emonitor1.place12.ungleich.ch
|
|
tmux select-layout -t v6test even-horizontal
|
|
tmux split-window -t v6test -v ping router1.place10.ungleich.ch
|
|
tmux select-pane -t v6test -L
|
|
tmux split-window -t v6test -v ping router1.place7.ungleich.ch
|
|
tmux select-pane -t v6test -L
|
|
tmux split-window -t v6test -v ping vm1.place11.ungleich.ch
|
|
tmux attach -t v6test
|
|
;;
|
|
esac
|