Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multicast-study
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
multicast-study
Commits
72d3499e
Commit
72d3499e
authored
Apr 28, 2022
by
Kirill Smelkov
Committed by
Léo-Paul Géneau
Apr 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0bb6fe4b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
namespace_demo/tmcast.py
namespace_demo/tmcast.py
+1
-1
namespace_demo/topo-B-A-C.sh
namespace_demo/topo-B-A-C.sh
+7
-0
No files found.
namespace_demo/tmcast.py
View file @
72d3499e
...
...
@@ -17,7 +17,7 @@ from golang import sync, context
group4
=
'224.1.1.1'
group6
=
'ff1
5
:7079:7468:6f6e:6465:6d6f:6d63:6173'
group6
=
'ff1
e
:7079:7468:6f6e:6465:6d6f:6d63:6173'
port
=
5678
def
_udpsockfor
(
ipaddr
):
# -> (sk, isipv6)
...
...
namespace_demo/topo-B-A-C.sh
View file @
72d3499e
...
...
@@ -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
# 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
nsenter
--net
=
B
--
xfce4-terminal
--title
=
B &
nsenter
--net
=
C
--
xfce4-terminal
--title
=
C &
nsenter
--net
=
A
--
xfce4-terminal
--title
=
A &
nsenter
--net
=
A
--
xfce4-terminal
--title
=
A2 &
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment