root@localhost:/home/debian# cat /etc/netplan/50-cloud-init.yaml
network:
version: 2
ethernets:
enp3s0:
match:
macaddress: "fa:16:3e:b3:91:7c"
dhcp4: true
dhcp6: true
set-name: "enp3s0"
root@localhost:/home/debian# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet
127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fa:16:3e:b3:91:7c brd ff:ff:ff:ff:ff:ff
altname enxfa163eb3917c
inet6 2a03:90c0:92:1::51d/128 scope global dynamic noprefixroute
valid_lft 85973sec preferred_lft 85973sec
inet6 fe80::f816:3eff:feb3:917c/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
root@localhost:/home/debian# ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::f816:3eff:feb3:917c prefixlen 64 scopeid 0x20<link>
inet6 2a03:90c0:92:1::51d prefixlen 128 scopeid 0x0<global>
ether fa:16:3e:b3:91:7c txqueuelen 1000 (Ethernet)
RX packets 220045 bytes 49438029 (47.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5976 bytes 592868 (578.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 80 bytes 6480 (6.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80 bytes 6480 (6.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@localhost:/home/debian# ip r
root@localhost:/home/debian# ip -6 r
2a03:90c0:92::/48 dev enp3s0 proto ra metric 100 expires 2591871sec pref medium
2a03:90c0:92::/48 dev enp3s0 proto kernel metric 256 expires 2591433sec pref medium
fe80::/64 dev enp3s0 proto kernel metric 256 pref medium
default nhid 40154665 via fe80::21c:73ff:fe00:75ff dev enp3s0 proto ra metric 100 expires 1671sec pref medium
root@localhost:/home/debian# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2a03:90c0:92:1::51d/128 scope global dynamic noprefixroute
valid_lft 85860sec preferred_lft 85860sec
inet6 fe80::f816:3eff:feb3:917c/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
root@localhost:/home/debian# rdisc6 -m enp3s0
Soliciting ff02::2 (ff02::2) on enp3s0...
Hop limit : 64 ( 0x40)
Stateful address conf. : Yes
Stateful other conf. : No
Mobile home agent : No
Router preference : medium
Neighbor discovery proxy : No
Router lifetime : 1800 (0x00000708) seconds
Reachable time : unspecified (0x00000000)
Retransmit time : 1000 (0x000003e8) milliseconds
Source link-layer address: 00:1C:73:00:75:FF
MTU : 1500 bytes (valid)
Prefix : 2a03:90c0:92::/48
On-link : Yes
Autonomous address conf.: Yes
Valid time : 2592000 (0x00278d00) seconds
Pref. time : 604800 (0x00093a80) seconds
from fe80::21c:73ff:fe00:75ff
root@localhost:/home/debian# curl -6 http://[fe80::a9fe:a9fe%25enp3s0]/openstack
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
2020-10-14
latestroot@localhost:/home/debian# curl -6 http://[fe80::a9fe:a9fe%25enp3s0]/openstack -v
* Trying [fe80::a9fe:a9fe]:80...
* Connected to fe80::a9fe:a9fe (fe80::a9fe:a9fe) port 80
* using HTTP/1.x
> GET /openstack HTTP/1.1
> Host: [fe80::a9fe:a9fe]
> User-Agent: curl/8.13.0
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 105
< Date: Wed, 30 Apr 2025 09:55:47 GMT
<
2012-08-10
2013-04-04
2013-10-17
2015-10-15
2016-06-30
2016-10-06
2017-02-22
2018-08-27
2020-10-14
* Connection #0 to host fe80::a9fe:a9fe left intact
latestroot@localhost:/home/debian# cloud-init --version
/usr/bin/cloud-init 25.1.1
root@localhost:/home/debian# ping
google.comPING
google.com (2a00:1450:4001:81c::200e) 56 data bytes
64 bytes from
lcfraa-aa-in-x0e.1e100.net (2a00:1450:4001:81c::200e): icmp_seq=1 ttl=117 time=0.949 ms
64 bytes from
lcfraa-aa-in-x0e.1e100.net (2a00:1450:4001:81c::200e): icmp_seq=2 ttl=117 time=0.959 ms
64 bytes from
lcfraa-aa-in-x0e.1e100.net (2a00:1450:4001:81c::200e): icmp_seq=3 ttl=117 time=0.903 ms
64 bytes from
lcfraa-aa-in-x0e.1e100.net (2a00:1450:4001:81c::200e): icmp_seq=4 ttl=117 time=0.988 ms
^C
---
google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3023ms
rtt min/avg/max/mdev = 0.903/0.949/0.988/0.030 ms
root@localhost:/home/debian#
root@localhost:/home/debian# rm -rf /var/log/cloud-init*
root@localhost:/home/debian# cloud-init clean
root@localhost:/home/debian# cloud-init init
Cloud-init v. 25.1.1 running 'init' at Wed, 30 Apr 2025 09:58:59 +0000. Up 930.17 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+------------------------------+-----------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+------------------------------+-----------+--------+-------------------+
ci-info: | enp3s0 | True | 2a03:90c0:92:1::51d/128 | . | global | fa:16:3e:b3:91:7c |
ci-info: | enp3s0 | True | fe80::f816:3eff:feb3:917c/64 | . | link | fa:16:3e:b3:91:7c |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+------------------------------+-----------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route IPv6 info+++++++++++++++++++++++++++++++
ci-info: +-------+-------------------+--------------------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------------+--------------------------+-----------+-------+
ci-info: | 0 | 2a03:90c0:92::/48 | :: | enp3s0 | Ue |
ci-info: | 1 | 2a03:90c0:92::/48 | :: | enp3s0 | Ue |
ci-info: | 2 | fe80::/64 | :: | enp3s0 | U |
ci-info: | 3 | ::/0 | fe80::21c:73ff:fe00:75ff | enp3s0 | UGe |
ci-info: | 5 | local | :: | enp3s0 | U |
ci-info: | 6 | local | :: | enp3s0 | U |
ci-info: | 7 | multicast | :: | enp3s0 | U |
ci-info: +-------+-------------------+--------------------------+-----------+-------+
2025-04-30 09:59:03,895 - log_util.py[WARNING]: No active metadata service found
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:rwM0qj33ZfxQQdRZLflgDcuvQkSj+YCyY8KBRuuJm+w root@localhost
The key's randomart image is:
+---[RSA 3072]----+
| . .=..*o|
| . o . = oB.o|
| + . . . + o.o+ |
| + o .oo + . ..|
|. o oo+.S + .|
|.o .o.. o o . |
|o. o . * . . |
|. . o . .+ o . |
| E o .o. . |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
The key fingerprint is:
SHA256:AdKwWkG8rXJvLZ8G5yy8o14jG0P+JQhds/ExqbDbd5U root@localhost
The key's randomart image is:
+---[ECDSA 256]---+
| o=o. |
| .+.. . |
| +o+ = |
| +.+.* + . |
| o +.o S E |
| .+o+. . . |
| oBo=*o . |
| BB==o |
| .+ooBo |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
The key fingerprint is:
SHA256:Lap1Ym0qy/Q6ZEYSfuwaU1/8TTpSABMzrfA0ep1gL8g root@localhost
The key's randomart image is:
+--[ED25519 256]--+
| *+ |
| . . =+o |
| . + B B o |
| o E = *.. . |
| * o oSo.+ |
| o = .o..+ . |
| B. = +. . |
| .oo= = |
| ==o |
+----[SHA256]-----+
root@localhost:/home/debian#