containerlab icon indicating copy to clipboard operation
containerlab copied to clipboard

containerlab graph to show routable v4/6 addresses

Open jenslink opened this issue 1 year ago • 2 comments

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.

jenslink avatar Dec 23 '24 16:12 jenslink

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.

axxyhtrx avatar Jan 02 '25 17:01 axxyhtrx

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

hellt avatar Jan 02 '25 17:01 hellt