Commit 922164f4 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Configure the ilo private network (10.249.249.0/24) on the primary

bridge.
parent c4541798
......@@ -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";
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment