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
Kirill Smelkov
multicast-study
Commits
daa86157
Commit
daa86157
authored
Apr 28, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a62c4e9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
tmcast.py
tmcast.py
+1
-1
topo-B-A-C.sh
topo-B-A-C.sh
+7
-0
No files found.
tmcast.py
View file @
daa86157
...
@@ -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
=
'ff1
5
:7079:7468:6f6e:6465:6d6f:6d63:6173'
group6
=
'ff1
e
:7079:7468:6f6e:6465:6d6f:6d63:6173'
port
=
5678
port
=
5678
def
_udpsockfor
(
ipaddr
):
# -> (sk, isipv6)
def
_udpsockfor
(
ipaddr
):
# -> (sk, isipv6)
...
...
topo-B-A-C.sh
View file @
daa86157
...
@@ -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 &
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