LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   IPv6 start up scripts (https://www.linuxquestions.org/questions/slackware-14/ipv6-start-up-scripts-4175432399/)

Richard Cranium 11-22-2012 12:59 AM

Quote:

Originally Posted by drlukacs (Post 4834032)
In real life, one may be using DHCP for IPv4, and static settings for IPv6.

I'm interested in seeing a sane scenario where that's true.

drlukacs 11-22-2012 01:03 AM

I have an ISP that provides me with an IPv4 address through DHCP, but since they are not completely set up yet to provide IPv6 using DHCP, I have a static IPv6 /64 subnet assigned to me.

Quote:

Originally Posted by Richard Cranium (Post 4834539)
I'm interested in seeing a sane scenario where that's true.


FeyFre 11-22-2012 05:04 AM

Quote:

Originally Posted by Richard Cranium (Post 4834539)
I'm interested in seeing a sane scenario where that's true.

Its my case. Whole network setup based no IPv4 with setting distributed by DHCP(network address, gateways, http proxy configuration, VoIP softphone/hardphone settings), but a number of workstations and local server machines(with Slackware as OS) are required to have active ipv6 subsystem.

leigh8904 12-12-2012 03:53 AM

Quote:

Originally Posted by drlukacs (Post 4834032)
I like the idea of patching the network scrips, but:

1) It appears that it will work only if you do not use DHCP for IPv4. In real life, one may be using DHCP for IPv4, and static settings for IPv6.

2) The script does not allow adding multiple IPv6 addresses to the same interface.

3) The script does not add a default gateway...

Thanks for your feedback. I have updated my patches so that IPv4 and IPv6 can use DHCP or static address configuration independantly. New patches are available at:
http://freeshell.de/~lwedding/slackware-14.0/

To configure each interface for IPv6, use the following settings as required in rc.inet1.conf:
IPv6ADDR[0]=""
USE_DHCPv6[0]=""

Note: I do not have a DHCP setup, so I have not tested and therefore cannot confirm that the IPv6 DHCP actually works. If someone else could test this and let me know would be appreciated.

I have not addressed points 2 & 3.

Leigh.

jtsn 12-12-2012 12:44 PM

Quote:

Originally Posted by leigh8904 (Post 4847578)
Note: I do not have a DHCP setup, so I have not tested and therefore cannot confirm that the IPv6 DHCP actually works. If someone else could test this and let me know would be appreciated.

AFAIK dhcpcd doesn't support DHCP-assigned IPv6 addresses, which is a usual setup in corporate environments.


All times are GMT -5. The time now is 08:45 PM.