Question How can I access to Virtual Machine via SSH

Currently reading
Question How can I access to Virtual Machine via SSH

Hi friends,

I have DS218+ NAS device with Virtual Machine Manager installed.
My home network is 172.16.0.0, NAS has 172.16.0.150 ip address. I have access to NAS via PuTTY, WinSCP, web browser and any other apps within my home network.
Then I installed Virtual Machine with CentOS through export OVA file. Virtual Machine received (as pre-configured in OVA image file) 192.168.56.10 ip address. I cannot change this IP because the applications which pre-installed on this VM use that IP.

But I don't have access to this virtual machine from my home network via applications which I was mention above.
VMM don't have any network settings to solve this issue.
How can I solve this issue?

VMM.png
 
I have ASUS RT-N65U router.
But I don't understand how it depends on my router.
Well it depends on weather you can or can’t configure multiple subnets/networks to be handled by your router. Router is a device that routes network requests.

So considering that you have said that the ip address of that VM can’t be changed due to the fact that it’s being used by apps, the only way you can do it is to configure communication within multiple network ranges using the network equipment you have. So wanted to know what you have.

Have you looked into the manual for your specific router?
 
Last edited:
Have you looked into the manual for your specific router?
My NAS has only one RJ-45 network port. Router can have only one ip address, in my case 172.16.0.1.
I think that Synology VMM package should have some network adapter settings as it has in the Oracle Virtual Toolbox, for example (NAT, bridge, virtual host, internal network, etc.).

network.png


But unfortunatelly currently that settings are absent in the Synology VMM.
Can I tune the network configuration of my synology NAS manually? If yes that what way?
 
When you have set up your VMM for the 1st time there was a wizard that guided you. One of the steps was Networking. To what lan adapter did you configure you vmm to use? Also what kind of type was it external or private?

If it was private then it's isolated and all VMs that are using that vm network will only talk to them selfs. If it's external then its "bridged" and you can talk to those vms from within your LAN as well as with any other VM on that same network.

The problem that you have atm (even regardless if you are bridged or not) is that your VM in question is on a completely different network class and subnet. Considering that apps that use that VM need to have it on that specific IP, you will need to, in order to access that VM using tools that you have listed, make sure that routing between different subnets/networks is possible. To do that, you will need a router(s) that is capable of such a configuration.
 
If it's external then its "bridged" and you can talk to those vms from within your LAN as well as with any other VM on that same network.
If I have the access to VM's from my home network therefore Open vSwitch was configured right. But it does not give me any possibilities to manage the VM which is in the another network/subnetwork.
So I have some questions. How does Oracle VM VirtualBox support that functionality? Why does Synology WMM not implement that feature?
 
How does Oracle VM VirtualBox support that functionality? Why does Synology WMM not implement that feature?
Well, that's a question for Syno :D. On the other hand, VMM networking is based on the number of LAN adapters that you have on your NAS. You can use vSwitch and create another virtual switch but it will have to be bound to another LAN adapter on your NAS. Otherwise, all VMs that use the same vSwitch will be able to talk to each other but only if all those VM/computers are in the same network class/subnet, used by that vSwitch. Considering that your recent VM is in a completely different "universe" it's logical that you can't manage it.
 
Hello all,

Interresting topic...
I have almost similar question:
I'd like to SSH my VM from outside (I live in a different place than my syno).
Do you know how to proceed?

Thank you all in advance for your answer!
 
Hello all,

Interresting topic...
I have almost similar question:
I'd like to SSH my VM from outside (I live in a different place than my syno).
Do you know how to proceed?

Thank you all in advance for your answer!
You could VPN into your NAS LAN and from there access any machine, including VMs on your NAS via SSH
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Thanks for the reply. My NAS was actually still running DSM 6.1. I'm going to try and load the drive into...
Replies
2
Views
2,325
Oki. Then rule it out. In my experience double spend ips result in random strange behaviors and are...
Replies
5
Views
1,753
  • Question
Hi, Were you able to mount the corrupted VDISK? I have the same question and the same problem. With...
Replies
1
Views
2,556
In VMware Workstation I can specify a folder on the Host system that a guest can access. How can I do...
Replies
0
Views
2,653
I guess I could set the VM's MAC address to the same as the NAS to get, but that would probably mess...
Replies
2
Views
4,592
I am also looking for this option, but can not find any info!
Replies
1
Views
5,430
It is reported that on certain Linux systems, with a graphical display manager disabled as the login...
Replies
0
Views
2,864

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top