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

interface: T4627: support setting of IPv6 Interface Identifier(Token) #4392

Open
wants to merge 2 commits into
base: current
Choose a base branch
from

Conversation

symysak
Copy link

@symysak symysak commented Mar 15, 2025

Change summary

Support setting of IPv6 Interface Identifier (a.k.a Token) for IPv6 autoconfig(SLAAC).

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/deployment_guide/s2-configuring_ipv6_tokenized_interface_identifiers#s2-Configuring_IPv6_Tokenized_Interface_Identifiers

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

https://vyos.dev/T4627

Related PR(s)

How to test / Smoketest result

  1. Connect eth0 to Router, that is enabled IPv6 RA.
  2. Configure as follows
interfaces {
    ethernet eth0 {
        ipv6 {
            address {
                autoconf
                interface-identifier 0000:0000:cafe:0001
            }
        }
    }
}
  1. Check(We can find a ipv6 address ::cafe:1/64)
vyos@vyos:~$ show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                     MAC                VRF        MTU  S/L    Description
-----------  -----------------------------  -----------------  -------  -----  -----  -------------
eth0           <my prefix>::cafe:1/64  <my mac>  default   1500  u/u

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@symysak symysak requested a review from a team as a code owner March 15, 2025 16:18
@symysak symysak changed the title interface: T4627: support setting of IPv6 Interface Identifier(Token)… interface: T4627: support setting of IPv6 Interface Identifier(Token) Mar 15, 2025
Copy link

github-actions bot commented Mar 15, 2025

👍
No issues in PR Title / Commit Title

@symysak
Copy link
Author

symysak commented Mar 15, 2025

I am Yoshiaki Suyama
This PR is the first contribution to VyOS, so it may contain some mistakes. Sorry.

The lint check seems to have failed except for my changes. Is there anyone who can fix this?

Copy link

CI integration 👍 passed!

Details

CI logs

  • CLI Smoketests (no interfaces) 👍 passed
  • CLI Smoketests (interfaces only) 👍 passed
  • Config tests 👍 passed
  • RAID1 tests 👍 passed
  • TPM tests 👍 passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant