#!/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 "$conn" -d ping 147.78.193.9 tmux split-window -t "$conn" -h ping 147.78.192.9 tmux split-window -t "$conn" -h ping 195.48.74.134 tmux select-layout -t "$conn" even-horizontal tmux split-window -t "$conn" -v ping 195.48.74.135 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 147.78.192.10 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 147.78.193.10 tmux attach -t "$conn" ;; 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 ;; 148) tmux new-session -s "$conn" -d ping 148.222.251.1 tmux split-window -t "$conn" -h ping 148.222.250.1 tmux split-window -t "$conn" -h ping 148.222.249.1 tmux select-layout -t "$conn" even-horizontal tmux split-window -t "$conn" -v ping 148.222.248.1 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 148.222.248.2 #tmux select-pane -t "$conn" -L #tmux split-window -t "$conn" -v ping 91.194.139.5 tmux attach -t "$conn" ;; 91) tmux new-session -s "$conn" -d ping 91.194.139.0 tmux split-window -t "$conn" -h ping 91.194.139.1 tmux split-window -t "$conn" -h ping 91.194.139.2 tmux select-layout -t "$conn" even-horizontal tmux split-window -t "$conn" -v ping 91.194.139.3 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 91.194.139.4 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 91.194.139.5 tmux attach -t "$conn" ;; p5-p10-p15) tmux new-session -s "$conn" -d ping 2a0a:e5c0:33::1 tmux split-window -t "$conn" -h ping 2a0a:e5c0:42::1 tmux split-window -t "$conn" -h ping 2a0a:e5c0:2d::1 tmux select-layout -t "$conn" even-horizontal tmux split-window -t "$conn" -v ping 2a0a:e5c0:2e::1 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 2a0a:e5c0:43::1 tmux select-pane -t "$conn" -L tmux split-window -t "$conn" -v ping 2a0a:e5c0:34::1 tmux attach -t "$conn" ;; esac