[cfarm-users] having a bit of trouble with getting into the new netbsd and freebsd virtual machines

Segher Boessenkool segher at kernel.crashing.org
Sat Oct 6 23:04:52 CEST 2018


On Sat, Oct 06, 2018 at 09:25:25PM +0100, Olly Betts via cfarm-users wrote:
> Not related to the ssh config, but I've noticed on the NetBSD VM that
> if you call getaddrinfo() with ai_family is set to AF_INET and pass an
> IPv6 address, you always seem to get an IPv4 address of a different
> machine on the local network, whereas other systems fail to resolve in
> this case.  You can see this with the command line getaddrinfo:
> 
> gcc300$ getaddrinfo -f inet -t stream ::1
> stream inet tcp 192.168.66.50 0

$ route -n show

tells you why this is.

> I can work around this fairly easily, but if anyone can shed light on
> what's going on I'd be grateful.  I failed to find any documentation or
> discussion of this online, and I asked on #NetBSD but got no response.
> I'm not sure if it's an oddity of the VM configuration or of NetBSD
> generally.

I think it's this particular configuration.


Segher


More information about the cfarm-users mailing list