The secret of the macOS Monterey network quality tool | DanPetrov
Handy bit of detail about a new network-testing tool in macOS Monterey.
I've had an issue with a Macbook Pro on one particular network where, even though I've set the computer name via system preferences, in the terminal (and via hostname) it's showing as the network-generated name.
This seems to help tidy things up.