Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899624 - net-misc/netifrc: net.example ipv6 documentation out of date
Summary: net-misc/netifrc: net.example ipv6 documentation out of date
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 01:54 UTC by Karl Hakimian
Modified: 2023-04-01 17:00 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 Karl Hakimian 2023-03-05 01:54:01 UTC
The net.example file states that you should use dhclient for doing dhcp over an ipv6 network and that dhcpcd will not work for ipv6. While this advice can be made to work, it is certainly not the optimal solution.

The truth of the matter is that if the ipv6 router is advertising stateful addresses, dhcpcd will just work.

While you can make dhclient work even if the router is not advertising stateful connections, getting dhclient to work at all on ipv6 requires hooks to properly setup the interface and force the kernel to create a link-local address. Both things are done by dhcpcd out of the box.

Reproducible: Always

Steps to Reproduce:
less /usr/share/doc/netifrc-0.7.3/net.example.bz2
Actual Results:  
Bad advice

Expected Results:  
Good advice about ipv6 routers and dhcpcd.

I'll mark this as minor even though the internet searches required to figure out the correct solution were more than what I would consider an easy workaround.