Skip to content
Discussion options

You must be logged in to vote

OK, I finally figured it out.

Note that I'm using this Ubuntu 22.04 VM - https://app.vagrantup.com/generic/boxes/ubuntu2204

After starting it, I did apt update && apt upgrade

Also note that this VM explicitly disables ipv6 for the lo interface:

root@UBUNTU-22-JAMMY:~# sysctl net.ipv6.conf.lo.disable_ipv6
net.ipv6.conf.lo.disable_ipv6 = 1

I'm not sure why it ships this way, but it did throw a loop into some of my tests. Also, you need to ensure that the short host name resolves to 127.0.0.1:

root@UBUNTU-22-JAMMY:~# ping -c1 "$(hostname -s)"
PING UBUNTU-22-JAMMY (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.013 ms

--- UBUNTU-22-JAMMY ping …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@MaxRepin
Comment options

Comment options

You must be logged in to vote
2 replies
@MaxRepin
Comment options

@lukebakken
Comment options

Answer selected by lukebakken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11033 on April 18, 2024 14:27.