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

[VPP-649] IP address subnet validation #1083

Open
vvalderrv opened this issue Jan 7, 2025 · 0 comments
Open

[VPP-649] IP address subnet validation #1083

vvalderrv opened this issue Jan 7, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

When attempting to configure two IP addresses from the same subnet on an interface:

vat# sw_interface_add_del_address sw_if_index 0 10.0.0.1/24
vat# sw_interface_add_del_address sw_if_index 0 10.0.0.2/24

The second command fails(as it should) but it returns "retval": 0

vat# ip_address_dump ipv4 sw_if_index 0

[

{ "ip": "10.0.0.1", "prefix_length": 24 }

]

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

No branches or pull requests

1 participant