Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
61a20ae4
Commit
61a20ae4
authored
May 14, 2013
by
Leigh B Stoller
Browse files
Run BW capping scropt after veth created.
parent
589fb61e
Changes
1
Show whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/openvz/vznetinit-elab.sh
View file @
61a20ae4
...
...
@@ -77,8 +77,9 @@ fi
echo
"
$ELABIFS
"
|
sed
-e
's/;/\n/g'
|
\
while
read
iface
;
\
do
\
_if
=
`
echo
"
$iface
"
|
sed
-r
-e
's/([^,]*),[^,]*/\1/'
`
_br
=
`
echo
"
$iface
"
|
sed
-r
-e
's/[^,]*,([^,]*)/\1/'
`
_if
=
`
echo
"
$iface
"
|
sed
-r
-e
's/([^,]*),[^,]*,[^,]*/\1/'
`
_br
=
`
echo
"
$iface
"
|
sed
-r
-e
's/[^,]*,([^,]*),[^,]*/\1/'
`
_sc
=
`
echo
"
$iface
"
|
sed
-r
-e
's/[^,]*,[^,]*,([^,]*)/\1/'
`
if
[
$_if
=
$DEV
]
;
then
echo
"Emulab configuring network for CT
$VEID
: exp net (
$_if
)"
...
...
@@ -99,6 +100,7 @@ echo "$ELABIFS" | sed -e 's/;/\n/g' | \
$IFCONFIG
$_if
0 up
echo
1
>
/proc/sys/net/ipv4/conf/
$_if
/forwarding
echo
1
>
/proc/sys/net/ipv4/conf/
$_if
/proxy_arp
$_sc
fi
done
...
...
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