Commit 72d3499e authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Léo-Paul Géneau

.

parent 0bb6fe4b
...@@ -17,7 +17,7 @@ from golang import sync, context ...@@ -17,7 +17,7 @@ from golang import sync, context
group4 = '224.1.1.1' group4 = '224.1.1.1'
group6 = 'ff15:7079:7468:6f6e:6465:6d6f:6d63:6173' group6 = 'ff1e:7079:7468:6f6e:6465:6d6f:6d63:6173'
port = 5678 port = 5678
def _udpsockfor(ipaddr): # -> (sk, isipv6) def _udpsockfor(ipaddr): # -> (sk, isipv6)
......
...@@ -67,7 +67,14 @@ nsenter --net=A -- ip route add 224.0.0.0/4 dev a1 # NOTE on A 224.0.0.0/4 ...@@ -67,7 +67,14 @@ nsenter --net=A -- ip route add 224.0.0.0/4 dev a1 # NOTE on A 224.0.0.0/4
nsenter --net=A -- ip route append 224.0.0.0/4 dev a2 # to _both_ a1 and a2 nsenter --net=A -- ip route append 224.0.0.0/4 dev a2 # to _both_ a1 and a2
# mount private /var/run so that smcrouted can be started
# we start will start it only in A, so keeping /var/run shared to everywhere,
# even if dirty, is ok.
mount -t tmpfs none /var/run
# open terminals in A B C for play # open terminals in A B C for play
nsenter --net=B -- xfce4-terminal --title=B & nsenter --net=B -- xfce4-terminal --title=B &
nsenter --net=C -- xfce4-terminal --title=C & nsenter --net=C -- xfce4-terminal --title=C &
nsenter --net=A -- xfce4-terminal --title=A & nsenter --net=A -- xfce4-terminal --title=A &
nsenter --net=A -- xfce4-terminal --title=A2 &
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment