Skip to content
GitLab
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
922164f4
Commit
922164f4
authored
May 21, 2014
by
Leigh B Stoller
Browse files
Configure the ilo private network (10.249.249.0/24) on the primary
bridge.
parent
c4541798
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/xen/xenbridge-setup-genirack
View file @
922164f4
...
...
@@ -36,6 +36,9 @@ my $IPBIN = "/bin/ip";
my
$IFCONFIGBIN
=
"
/sbin/ifconfig
";
my
$JAILGW
=
"
172.16.0.1
";
my
$JAILMASK
=
"
255.240.0.0
";
# For ilo.
my
$MNGGW
=
"
10.249.249.1
";
my
$MNGMASK
=
"
255.255.255.0
";
my
$NOIP
=
0
;
sub
usage
()
...
...
@@ -170,4 +173,8 @@ if ($iscontrol &&
system
"
$IFCONFIGBIN
${XENBR}
:1 inet
$JAILGW
netmask
$JAILMASK
up
")
{
die
"
xenbridge-setup: Unable to add
$JAILGW
alias to
$XENBR
\n
";
}
if
(
$iscontrol
&&
system
"
$IFCONFIGBIN
${XENBR}
:2 inet
$MNGGW
netmask
$MNGMASK
up
")
{
die
"
xenbridge-setup: Unable to add
$MNGGW
alias to
$XENBR
\n
";
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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