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
3ee46e24
Commit
3ee46e24
authored
May 13, 2015
by
Mike Hibler
Browse files
Disable reverse path filtering on expt interfaces.
Til we fix the route calculator to produce symmetric routes.
parent
27e07370
Changes
1
Show whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/liblocsetup.pm
View file @
3ee46e24
...
...
@@ -758,6 +758,12 @@ sub os_ifconfig_line($$$$$$$$;$$$)
else
{
$uplines
.=
sprintf
(
$IFCONFIG
,
$iface
,
$inet
,
$mask
);
$downlines
=
"
$IFCONFIGBIN
$iface
down
";
#
# XXX make sure we don't do reverse path filtering on the interface;
# our current route generator which will produce asymmetric routes.
#
$uplines
.=
"
\n
/sbin/sysctl net.ipv4.conf.
$iface
.rp_filter=0
";
}
return
(
$uplines
,
$downlines
);
...
...
@@ -912,6 +918,12 @@ sub os_ifconfig_veth($$$$$;$$$$%)
# configure the MAC address.
$uplines
.=
"
\n
$IFCONFIGBIN
$vdev
hw ether
$vmac
"
if
(
$vmac
);
#
# XXX make sure we don't do reverse path filtering on the interface;
# our current route generator which will produce asymmetric routes.
#
$uplines
.=
"
\n
/sbin/sysctl net.ipv4.conf.
$vdev
.rp_filter=0
";
$downlines
.=
"
$IFCONFIGBIN
$vdev
down
\n
";
$downlines
.=
"
$VLANCONFIG
rem
$vdev
";
}
...
...
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