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
b4ef6d76
Commit
b4ef6d76
authored
Jan 21, 2014
by
Leigh B Stoller
Browse files
Add the /12 netmask constant for the jail nextwork.
parent
8e188686
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/libgenvnode.pm
View file @
b4ef6d76
#!/usr/bin/perl -wT
#
# Copyright (c) 2008-201
2
University of Utah and the Flux Group.
# Copyright (c) 2008-201
4
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -60,6 +60,7 @@ sub VNODE_PATH(;$) {
my
$VCNET_NET
=
"
172.16.0.0
";
my
$VCNET_MASK
=
"
255.240.0.0
";
my
$VCNET_GW
=
"
172.16.0.1
";
my
$VCNET_SLASHMASK
=
"
12
";
#
# Find virtual control net iface info. Returns:
...
...
@@ -67,5 +68,5 @@ my $VCNET_GW = "172.16.0.1";
#
sub
findVirtControlNet
()
{
return
(
$VCNET_NET
,
$VCNET_MASK
,
$VCNET_GW
);
return
(
$VCNET_NET
,
$VCNET_MASK
,
$VCNET_GW
,
$VCNET_SLASHMASK
);
}
Write
Preview
Supports
Markdown
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