[SOLVED] How to setup IPv6 manually?

[SOLVED] How to setup IPv6 manually?

Postby shirax » Jun 10th, '24, 09:10

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.
Last edited by shirax on Jun 11th, '24, 14:35, edited 1 time in total.
shirax
 
Posts: 3
Joined: Jan 27th, '24, 10:48

Re: How to setup IPv6 manually?

Postby doktor5000 » Jun 10th, '24, 12:00

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 ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to setup IPv6 manually?

Postby shirax » Jun 10th, '24, 13:29

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.
shirax
 
Posts: 3
Joined: Jan 27th, '24, 10:48

Re: How to setup IPv6 manually?

Postby shirax » Jun 11th, '24, 14:34

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
shirax
 
Posts: 3
Joined: Jan 27th, '24, 10:48

Re: [SOLVED] How to setup IPv6 manually?

Postby doktor5000 » Jun 11th, '24, 16:14

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron