Hi,
I installed Ubuntu 13 Server (64bit) edition in a Parallels Desktop 9 VM. My Host System is OS-X Mountain Lion. For testing purpose I setup the VM with 8GB Storage, 2GB RAM, 1CPU and for the Network Support I choose the Realtek (Default Adapter). I installed the missing packages for NFS and setup Network for static IP.
Now when I check if I can see the NFS shares from the the VM it works fine:
Code:
frontrow@hubble:~$ showmount -e 192.168.12.23
Export list for 192.168.12.23:
/volume1/TEST 192.168.12.*
/volume1/frontrow 192.168.12.*
/volume1/plex_downloads 192.168.12.*
frontrow@hubble:~$
I upgraded my Synology NAS to DSM 4.3 which imporved the support for nfs4 so a quick check on the port side looked also good:
Code:
frontrow@hubble:~$ rpcinfo -p 192.168.12.23
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 892 mountd
100005 1 tcp 892 mountd
100005 2 udp 892 mountd
100005 2 tcp 892 mountd
100005 3 udp 892 mountd
100005 3 tcp 892 mountd
100021 1 udp 54322 nlockmgr
100021 3 udp 54322 nlockmgr
100021 4 udp 54322 nlockmgr
100021 1 tcp 60625 nlockmgr
100021 3 tcp 60625 nlockmgr
100021 4 tcp 60625 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100024 1 udp 52085 status
100024 1 tcp 45308 status
frontrow@hubble:~$
And just to avoid any questions I made a quick nmap check:
frontrow@hubble:~$ sudo nmap -PO 192.168.12.23
[sudo] password for frontrow:
Code:
Starting Nmap 6.00 ( http://nmap.org ) at 2013-09-08 14:38 CEST
Nmap scan report for Asterix (192.168.12.23)
Host is up (0.00022s latency).
Not shown: 986 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
161/tcp open snmp
445/tcp open microsoft-ds
515/tcp open printer
548/tcp open afp
631/tcp open ipp
873/tcp open rsync
2049/tcp open nfs
3260/tcp open iscsi
5000/tcp open upnp
5432/tcp open postgresql
MAC Address: 00:11:32:18:A8:D7 (Synology Incorporated)
Now If I finally try a manual connect to the NAS I get a timeout:
Code:
sudo mount -vvv -t nfs4 192.168.12.23:/volume1/TEST /mnt/asterix/
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "192.168.12.23:/volume1/TEST"
mount: node: "/mnt/asterix/"
mount: types: "nfs4"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs4"
mount: external mount: argv[1] = "192.168.12.23:/volume1/TEST"
mount: external mount: argv[2] = "/mnt/asterix/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs4: timeout set for Sat Sep 7 16:42:14 2013
mount.nfs4: trying text-based options 'addr=192.168.12.23,clientaddr=192.168.12.90'
mount.nfs4: mount(2): Connection timed out
mount.nfs4: Connection timed out
frontrow@hubble:~$
After a couple day's frustrating search and posting in Ubuntu foren I played around with the Network settings and to my surprise I got to work when I switched to:
NIC TYPE: VIRTIO NETWORK ADAPTER
TYPE: SHARED
Using DHCP I get a network Address of 192.168.13.151 (.13 Subnet) and it connects in 1-2 seconds. Now of course the issue is that I cannot connect to this VM from external Hosts on my Network which was the idea in the first place.
Can anyone explain to my what is the difference between these 2 settings? Why does that not work on the TYPE Default? How can I achieve to have the VM connect to the NAS and be visible in the Network?
Thanks for your help