This is wicked cool! What version of linux is compatible with vmd?
I think I’m running Ubuntu 20.04.
Just having a look at the script. Why do the IP addresses need converting at all? Why the need for INET_NTOA and INET_ATON functions?
The host’s tap interface is one ip address below the address of the guest on a /31 subnet. We need to increment the op address returned from ifconfig by 1 to get the guest’s ip.