Bug #15589
closedSaving an IPv6 gateway overrides the IPv4 gateway
100%
Description
When adding IPv6 to our network, we discovered that when you add a Static IPv6 address (coming from None) on the Interfaces -> WAN page and add a static IPv6 Gateway...it resets the "Default gateway IPv4" setting under System -> Routing -> Default Gateway to "Automatic" and pulls the default IPv4 route from our network and disabled all IPv4 Internet access...
Under no circumstances, should manipulating IPv6 settings affect IPv4 route settings. This bug caused a lot of unnecessary downtime for us while setting up IPv6.
Updated by R W 5 months ago
Forgot to add that after adding the IPv6 gateway, the Default column was suddenly blank for our IPv4 gateway with our ISP. Before we added IPv6, that gateway was specified as "Default (IPv4)". Manually specifying the default gateways for both IPv4 and IPv6 seems to be an effective workaround for this bug in our case.
Updated by Danilo Zrenjanin 5 months ago
Tested against:
24.03-RELEASE (amd64) built on Mon May 13 12:17:00 UTC 2024 FreeBSD 15.0-CURRENT
Adding a static IPv6 IP and gateway on the WAN interface causes the system default gateway to revert to 'Automatic'.
The system loses the default route as a consequence.
Updated by Christopher Cope 5 months ago
- File status_output-sg-jfk1-2.gz added
- File status_output-sg-jfk1-1.gz added
- File textdump.tar.1.gz added
- File textdump.tar.0.gz added
- Private changed from No to Yes
Updated by Christopher Cope 5 months ago
- File deleted (
status_output-sg-jfk1-1.gz) - File deleted (
status_output-sg-jfk1-2.gz) - File deleted (
textdump.tar.0.gz) - File deleted (
textdump.tar.1.gz)
Updated by Christopher Cope 5 months ago
- File textdump.tar.1.gz added
- File textdump.tar.0.gz added
- File status_output-sg-jfk1-2.gz added
- File status_output-sg-jfk1-1.gz added
Updated by Christopher Cope 5 months ago
- File deleted (
textdump.tar.1.gz) - File deleted (
textdump.tar.0.gz) - File deleted (
status_output-sg-jfk1-2.gz) - File deleted (
status_output-sg-jfk1-1.gz)
Updated by dylan mendez 4 months ago
Tested against pfSense Plus 24.08.a.20240702.0600. Added an IPv6 Static IP with IPv6 gateway on the primary WAN. It was "None" before, and the IPv4 Default Gateway remained the same (Tested with Gateway Group and Single Gateway). Unable to replicate.
Updated by Danilo Zrenjanin 4 months ago
I still can reproduce it on:
24.08-DEVELOPMENT (amd64) built on Sat Jul 13 0:50:00 UTC 2024 FreeBSD 15.0-CURRENT
Please check.
Updated by Marcos M 4 months ago
- Subject changed from Adding a Static IPv6 Gateway resets the IPv4 default gateway and removes the IPv4 default route and breaks Internet access to Saving an IPv6 gateway overrides the IPv4 gateway
- Status changed from Feedback to Confirmed
- Assignee set to Marcos M
- Target version set to 2.8.0
- Plus Target Version set to 24.08
Updated by Marcos M 4 months ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset fd69a6b325c2ad40d0cd5c559000e0970099d9d6.
Updated by Danilo Zrenjanin 4 months ago
The patch fixes it.
This ticket can be resolved.
Updated by Jim Pingle about 1 month ago
- Plus Target Version changed from 24.08 to 24.11