Page 1 of 1

[SOLVED] How to setup IPv6 manually?

PostPosted: Jun 10th, '24, 09:10
by shirax
Hello,
I'm lost. I can't seem to be able to set up my IPv6 connection with Mageia's Network Center. I can only set IPv4 in the gui.
The system gave me 2 IPv6 addresses thanks to DHCP but I need to configure them manually.
Specifically, I need to:
- set the address
- set the search domain
- set the DNS6 servers
- set the privacy extensions

Does anyone know how to achieve that?
Thanks.

Re: How to setup IPv6 manually?

PostPosted: Jun 10th, '24, 12:00
by doktor5000
shirax wrote:The system gave me 2 IPv6 addresses thanks to DHCP but I need to configure them manually.

Can you elaborate a bit more on that, why you need to configure them manually in particular ?

Re: How to setup IPv6 manually?

PostPosted: Jun 10th, '24, 13:29
by shirax
doktor5000 wrote:Can you elaborate a bit more on that, why you need to configure them manually in particular ?


Sure, that's my new favorite topic :)
That computer is a corporate laptop I bring both home and on-site. Our DNS server and firewall are already configured for specific IPs when I'm home. And these IPs are different than the one stable-privacy gives me (and obviously, different than the ones I randomly get from DHCP). A few clients I work with simply don't have DHCP, so I need to provide a static IP when I'm at their place (their place, their rules). When home, DHCP gives me my ISP's DNS server which has two unfortunate flaws: 1. it blocks some websites; 2. it knows nothing about our corporate machines. So I need to use our own DNS server. There's also a very special case when I bring that laptop to my paramour's place but I guess that one is a bit too elaborate.

TL;DR I guess the reason you want to manually configure your IPv6 interface are the same as the reason you want to configure your IPv4 interface.

Re: How to setup IPv6 manually?

PostPosted: Jun 11th, '24, 14:34
by shirax
Solved

I've followed that guide and I'm now using network manager. It offers configuration for the IP address, routing, dns, search suffix, and works for both IPv4 and IPv6.
https://wiki.mageia.org/en/Switching_to_networkmanager

Re: [SOLVED] How to setup IPv6 manually?

PostPosted: Jun 11th, '24, 16:14
by doktor5000
Well, for the main example if you only need different DNS servers there's no need to switch to a manual setup, FWIW.
You can simply append to the received DHCP options or overwrite some or all of them.