>>106324750
I see, weird. Anyways, here's what worked and DNS works now too. Now I can use pkgsrc to fetch, build and install NetBSD packages, like I did for neofetch in this screenshot.
ifconfig eth0 10.0.2.15
route add default gw 10.0.2.2
echo nameserver 10.0.2.3 > /etc/resolv.conf