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

Use IPv6 documentation prefix by default. #2229

Closed
SebastianMeisel opened this issue Oct 12, 2024 · 3 comments · Fixed by #2232
Closed

Use IPv6 documentation prefix by default. #2229

SebastianMeisel opened this issue Oct 12, 2024 · 3 comments · Fixed by #2232

Comments

@SebastianMeisel
Copy link

I think it would be appropriate to use the Ipv6 documentation prefix 2001:db8::/32 or 3fff::/20, so it is assured to not be routeable over the Internet.

@hellt
Copy link
Member

hellt commented Oct 12, 2024

good idea. Should be pretty easy for someone to contribute

@hyposcaler-bot
Copy link
Contributor

I have a PR for this that I can submit, are there any specific contribution guidelines I need to be aware of, or should I just sumit it and trust the process... Also docs would still need some clean up, I think there are a lot of examples that reference the previous default.

dfanshaw@observer:~/src/network/labs/clab/simple-eos$ cat simple-eos.yml
name: eos-simple
topology:
  nodes:
    clab-eos-switch:
            kind: ceos
            image: ceos64-lab-4.33.0f
dfanshaw@observer:~/src/network/labs/clab/simple-eos$ sudo ~/src/network/containerlab/bin/containerlab deploy -t simple-eos.yml
INFO[0000] Containerlab v0.0.0 started
INFO[0000] Parsing & checking topology file: simple-eos.yml
INFO[0000] Creating docker network: Name="clab", IPv4Subnet="172.20.20.0/24", IPv6Subnet="3fff:172:20:20::/64", MTU=1500
WARN[0000] Unable to load kernel module "ip6_tables" automatically "load ip6_tables failed: exec format error"
INFO[0000] Creating lab directory: /home/dfanshaw/src/network/labs/clab/simple-eos/clab-eos-simple
INFO[0000] config file '/home/dfanshaw/src/network/labs/clab/simple-eos/clab-eos-simple/clab-eos-switch/flash/startup-config' for node 'clab-eos-switch' already exists and will not be generated/reset
INFO[0000] Creating container: "clab-eos-switch"
INFO[0000] Running postdeploy actions for Arista cEOS 'clab-eos-switch' node
INFO[0013] Adding containerlab host entries to /etc/hosts file
INFO[0013] Adding ssh config for containerlab nodes
INFO[0013] 🎉 New containerlab version 0.57.5 is available! Release notes: https://containerlab.dev/rn/0.57/#0575
Run 'containerlab version upgrade' to upgrade or go check other installation options at https://containerlab.dev/install/
+---+---------------------------------+--------------+--------------------+------+---------+----------------+----------------------+
| # |              Name               | Container ID |       Image        | Kind |  State  |  IPv4 Address  |     IPv6 Address     |
+---+---------------------------------+--------------+--------------------+------+---------+----------------+----------------------+
| 1 | clab-eos-simple-clab-eos-switch | 2361f61083f5 | ceos64-lab-4.33.0f | ceos | running | 172.20.20.2/24 | 3fff:172:20:20::2/64 |
+---+---------------------------------+--------------+--------------------+------+---------+----------------+----------------------+
dfanshaw@observer:~/src/network/labs/clab/simple-eos$ ssh admin@3fff:172:20:20::2
The authenticity of host '3fff:172:20:20::2 (3fff:172:20:20::2)' can't be established.
ED25519 key fingerprint is SHA256:w3XHLu3Qn8xsB8Txl7x9yWzpQZaD6cl/GoQxE4ZPNKE.
This host key is known by the following other names/addresses:
    ~/.ssh/known_hosts:1: [hashed name]
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '3fff:172:20:20::2' (ED25519) to the list of known hosts.
(admin@3fff:172:20:20::2) Password:
clab-eos-switch>show ipv6 int br
   Interface       Status        MTU       IPv6 Address                     Addr State    Addr Source
--------------- ------------ ---------- -------------------------------- ---------------- -----------
   Ma0             up           1500       fe80::42:acff:fe14:1402/64       up            link local
                                           3fff:172:20:20::2/64             up            config

clab-eos-switch>

@hellt
Copy link
Member

hellt commented Oct 13, 2024

Thanks @hyposcaler-bot
Just submit the piece and we will sort it out nicely

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

Successfully merging a pull request may close this issue.

3 participants