Skip to content

Commit

Permalink
[debian]: Disable receiving default routes for ipv6 on mgmt interface (
Browse files Browse the repository at this point in the history
…#588)

* Disable net.ipv6.conf.eth0.accept_ra_defrtr.
It will remain IPv6 working on mgmt interface, but it will disable receiving default routes
  • Loading branch information
pavel-shirshov authored and Shuotian Cheng committed May 11, 2017
1 parent 6854541 commit 3af7c3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ set /files/etc/sysctl.conf/net.ipv6.conf.eth0.forwarding 0
set /files/etc/sysctl.conf/net.ipv6.conf.default.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.all.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_ra_defrtr 0
" -r $FILESYSTEM_ROOT

## docker-py is needed by Ansible docker module
Expand Down

0 comments on commit 3af7c3a

Please sign in to comment.