Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the netmask of a Virtual IP does not apply change #240

Open
CRCinAU opened this issue Jul 24, 2024 · 2 comments
Open

Changing the netmask of a Virtual IP does not apply change #240

CRCinAU opened this issue Jul 24, 2024 · 2 comments
Assignees
Labels
upstream Third party issue

Comments

@CRCinAU
Copy link

CRCinAU commented Jul 24, 2024

Consider the following configuration:
image

This results in the following IP addresses set on the LAN interface:

        inet6 fe80::1%vtnet0 prefixlen 64 scopeid 0x1
        inet6 fe80::53%vtnet0 prefixlen 64 scopeid 0x1

If you change the subnet mask, and then hit Apply, nothing on the system changes:
image

The system is still configured as:

        inet6 fe80::1%vtnet0 prefixlen 64 scopeid 0x1
        inet6 fe80::53%vtnet0 prefixlen 64 scopeid 0x1

Removing and adding the aliased addresses again works as expected.

@OPNsense-bot
Copy link

Thank you for creating an issue.
Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository,
please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

@OPNsense-bot OPNsense-bot added the incomplete Issue template missing info label Jul 24, 2024
@AdSchellevis AdSchellevis self-assigned this Jul 25, 2024
@AdSchellevis AdSchellevis added bug Production bug upstream Third party issue and removed incomplete Issue template missing info bug Production bug labels Jul 25, 2024
@AdSchellevis
Copy link
Member

for some reason ifconfig doesn't accept changes here, example output when changing 128 to 120 (or anything else):

# /sbin/ifconfig vtnet2 inet6 'ffff:ffff:fffff::4f31' prefixlen '120' alias vhid '3'
ifconfig: ioctl (SIOCAIFADDR): Invalid argument

@AdSchellevis AdSchellevis transferred this issue from opnsense/core Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Third party issue
Development

No branches or pull requests

3 participants