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

containerlab graph to show routable v4/6 addresses #2359

Open
jenslink opened this issue Dec 23, 2024 · 2 comments
Open

containerlab graph to show routable v4/6 addresses #2359

jenslink opened this issue Dec 23, 2024 · 2 comments

Comments

@jenslink
Copy link
Contributor

It would be nice if the IP address in output of graph would not be 0.0.0.0 but either the real IPv6 /IPv4 address of the system or something that can be configured. That would allow to easily click or copy and paste the link.

@hellt hellt changed the title containerlab graph containerlab graph to show routable v4/6 addresses Dec 24, 2024
@axxyhtrx
Copy link
Contributor

axxyhtrx commented Jan 2, 2025

This can be a bit tricky if you have multiple configured interfaces on your server. Of course, we can assume that the server may have a public routable ip address, but it may not, what to do in that case?
I think the most reasonable option here is to return the fqdn of this machine instead of 0.0.0.0, or we have to configure external(available for http clients) address somewhere in clab installation.

@hellt
Copy link
Member

hellt commented Jan 2, 2025

since we bind to 0.0.0.0, we shall return all public v4/v6 addresses listed

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

3 participants