FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
netmap-tutorial/solutions/flowgraph-up.sh at master · netmap-unipi/netmap-tutorial · GitHub
netmap-unipi
/
netmap-tutorial
Public
Notifications
You must be signed in to change notification settings
Fork
16
Star
88
Code
Issues
2
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
netmap-tutorial
/
solutions
/
flowgraph-up.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (22 loc) · 573 Bytes
Breadcrumbs
netmap-tutorial
/
solutions
/
flowgraph-up.sh
Copy path
File metadata and controls
executable file
·
26 lines (22 loc) · 573 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!
/bin/sh
set
-x
PIDS=
"
"
sudo pkt-gen -i netmap:pipe{1 -f tx -s 10.0.0.1:7000-10.0.0.1:7010 -d 10.0.0.1:8000-10.0.0.1:8004
2>&1
>
/dev/null
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
sudo ./fe -i netmap:pipe}1 -i netmap:pipe{2 -i netmap:pipe{3 -p 8000 -p 8001
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
sudo ./swap -i netmap:pipe}2 -i netmap:pipe{4
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
sudo ./swap -i netmap:pipe}3 -i netmap:pipe{5
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
sudo ./sink -i netmap:pipe}4 -p 7000
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
sudo ./sink -i netmap:pipe}5 -p 7001
&
PIDS=
"
$PIDS
$!
"
sleep 0.5
echo
$PIDS
>
pids
Back
|
FazBrowse Home
|
New Git URL