Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515640 - net-misc/netifrc should set sysctl net.ipv6.conf.<device>.accept_ra=0 for all member interfaces
Summary: net-misc/netifrc should set sysctl net.ipv6.conf.<device>.accept_ra=0 for all...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard: netifrc:bridge
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-29 02:32 UTC by Taahir Ahmed
Modified: 2024-08-28 18:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taahir Ahmed 2014-06-29 02:32:37 UTC
Member interfaces of a bridge device should not accept route advertisements from the router on the segment; only the bridge device itself should.

Right now, to get ipv6 bridges to work properly, this setting has to be manually set in sysctl.conf.  If it is not set, the routes acquired by the member interface will pollute the routing table and break ipv6 connectivity.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-08-28 18:54:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=e04d54da670198ce0aff2fe1577fbd3c44b15c26

commit e04d54da670198ce0aff2fe1577fbd3c44b15c26
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2024-08-28 18:51:30 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2024-08-28 18:54:05 +0000

    Disable IPv6 on subdevices for bonding and bridges
    
    Rather than shelling out to the `sysctl` command like the PR does,
    let's write directly to `/proc/sys` after checking that it exists.
    
    This likely needs work to do the same thing on BSD.
    
    Closes: https://bugs.gentoo.org/515640
    Closes: https://github.com/gentoo/netifrc/pull/55
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 net/bonding.sh | 2 ++
 net/bridge.sh  | 2 ++
 2 files changed, 4 insertions(+)