Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
4d0559c0
Commit
4d0559c0
authored
Sep 27, 2018
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill the static routes to Mothership boss/network, once we cut
the cord, these routes break contact with the Mothership
parent
1afb0594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
install/phases/boss/powder-fixed
install/phases/boss/powder-fixed
+15
-13
No files found.
install/phases/boss/powder-fixed
View file @
4d0559c0
...
@@ -311,24 +311,26 @@ sub Install($$$)
...
@@ -311,24 +311,26 @@ sub Install($$$)
# Going to lose all static routes below, so add this back.
# Going to lose all static routes below, so add this back.
push(@strings,
push(@strings,
"static_routes=\"\$static_routes frisbee vnodes\"");
"static_routes=\"\$static_routes frisbee vnodes\"");
# Nat config.
push(@strings,
"pf_enable=\"YES\"", "pf_rules=\"/etc/pf.nat\"");
#
#
# This stuff is for development inside the Mothership.
# This stuff is for development inside the Mothership.
#
#
# Outer Emulab control network.
if (0) {
push(@strings,
# Outer Emulab control network.
push(@strings,
"ifconfig_xn0_alias2=$outerctrl");
"ifconfig_xn0_alias2=$outerctrl");
# Route to outer boss and outer control networks
# Route to outer boss and outer control networks
push(@strings,
push(@strings,
"route_outeremulab=\"-net 155.98.36.0 ".
"route_outeremulab=\"-net 155.98.36.0 ".
"-netmask 255.255.252.0 155.98.36.1\"");
"-netmask 255.255.252.0 155.98.36.1\"");
push(@strings,
push(@strings,
"route_outerboss=\"155.98.32.70 155.98.36.1\"");
"route_outerboss=\"155.98.32.70 155.98.36.1\"");
push(@strings,
push(@strings,
"static_routes=\"\$static_routes outerboss outerboss\"");
"static_routes=\"\$static_routes outerboss outerboss\"");
# Nat config.
}
push(@strings,
"pf_enable=\"YES\"", "pf_rules=\"/etc/pf.nat\"");
#
#
# Okay, we want to comment out a bunch of stuff.
# Okay, we want to comment out a bunch of stuff.
...
...
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