I have 2 Windows VM's established - one running as a user workstation and the other as a server hosting SQL Express. Each has been assigned an MAC address by Parallels (9) and a virtual nic has been created in the OSX context without any hassle viz ...
vnic0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:1c:42:00:00:08
inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255
media: autoselect
status: active
On the windows side IP addresses 10.211.55.3 and 10.211.55.7 respectively (with a default gateway of 10.211.55.1, WORKGROUP and suffix "localdomain") are reported. This means the Windows to Windows is ok using WINS. However whilst the Ubuntu VMs are also on the same network but there doesn't seem to be any inherent dns style name registration when I dig from the Ubuntu VM ...
root@ubuntu:~# dig @10.211.55.1 -x 10.211.55.7
; <<>> DiG 9.9.5-3-Ubuntu <<>> @10.211.55.1 -x 10.211.55.7
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16693
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;7.55.211.10.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
10.in-addr.arpa. 264 IN SOA prisoner.iana.org. hostmaster.root-servers.org. 2002040800 1800 900 604800 604800
;; Query time: 11 msec
;; SERVER: 10.211.55.1#53(10.211.55.1)
;; WHEN: Fri Oct 17 12:35:10 EST 2014
;; MSG SIZE rcvd: 130
root@ubuntu:~#
What is the best way to manage configuration using names rather than IP addresses - which I assume might change for instance if the virtual MAC address changes? Also what is the best way to ensure OSX can also use the names?