Bug #15589
closed
Saving an IPv6 gateway overrides the IPv4 gateway
Added by R W 5 months ago.
Updated about 1 month ago.
Plus Target Version:
24.11
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.
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.
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.
- Status changed from New to Confirmed
- 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
- 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)
- 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
- Private changed from Yes to No
- 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)
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.
- Status changed from Confirmed to Feedback
- Priority changed from High to Normal
What does the feedback status indicate?
- Affected Architecture deleted (
i386)
Given that testing indicates this is resolved in the development snapshots, the issue is considered resolved unless it can be reproduced in recent dev snapshots.
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.
- 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
- Status changed from Confirmed to In Progress
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
The patch fixes it.
This ticket can be resolved.
- Status changed from Feedback to Resolved
- Plus Target Version changed from 24.08 to 24.11
Also available in: Atom
PDF