Commit 4d0559c0 authored by Leigh B Stoller's avatar Leigh B Stoller

Kill the static routes to Mothership boss/network, once we cut

the cord, these routes break contact with the Mothership
parent 1afb0594
...@@ -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.
......
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