Dual stack - assigned IPv6 address is not set for ipsec0

Configured Native iOS VPN on MacBook. On turning on, config request for both ipv4 and ipv6 is being sent and the server assigns both IPv4 and IPv6 address. On the MacBook, we observe that ipsec0 is having correct ipv4 address (172.16.1.2) but incorrect ipv6 address (fc00::0a instead of 2001:x:x:x). i.e. ipsec0 is getting link-local IPv6 address instead of assigned address. How do we fix this?




Posted on Mar 23, 2025 10:46 PM

Reply

Similar questions

1 reply

Apr 2, 2025 6:29 AM in response to SSAkula

Hi,

Following solutions could help your issue.


If your assigned IPv6 address isn't appearing on ipsec0 (or any network interface) in macOS, ensure IPv6 is enabled for that interface in System Settings > Network, and check your network configuration for any manual IPv6 settings that might be interfering. 


Here's a more detailed breakdown:


1. Verify IPv6 is Enabled:

  • Go to System Settings > Network. 
  • Select the network service (e.g., Wi-Fi, Ethernet) you're using. 
  • Click "Details". 
  • Click "TCP/IP". 
  • Ensure the "Configure IPv6" dropdown is set to "Automatic" or "On" (depending on your macOS version). 
  • If you're manually configuring IPv6, ensure you've entered the correct address, router address, and prefix length provided by your network administrator or ISP. 

2. Check for Manual IPv6 Settings:

  • If you've manually configured IPv6, double-check the settings for the interface in question.
  • Make sure the IPv6 address, router address, and prefix length are correct.
  • If you're unsure of the correct settings, consult your network administrator or ISP. 

3. Command Line Options (Advanced):

  • You can use the command line to re-enable IPv6 for a specific interface:
    • networksetup -setv6automatic Wi-Fi (replace "Wi-Fi" with your interface name). 
    • You can also use networksetup -setv6automatic Ethernet for Ethernet. 
  • To check the IPv6 address, use the ifconfig command:
    • ifconfig (this will display all network interfaces and their configurations). 
    • Look for the interface you're interested in (e.g., ipsec0) and its IPv6 address. 

4. Dual-Stack Considerations:

  • If you're using a dual-stack network (both IPv4 and IPv6), ensure that your network configuration supports both protocols. 
  • Some applications or services might require specific IPv6 settings to function correctly. 
  • Consult the documentation for any relevant applications or services for specific IPv6 configuration instructions. 


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dual stack - assigned IPv6 address is not set for ipsec0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.