Question How can I access to Virtual Machine via SSH

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

6
0
NAS
DS218+
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
 
6
0
NAS
DS218+
I have ASUS RT-N65U router.
But I don't understand how it depends on my router.
 
Last edited:

Rusty

Moderator
NAS Support
2,246
671
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
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?
 
6
0
NAS
DS218+
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?
 
Last edited:

Rusty

Moderator
NAS Support
2,246
671
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
using vSwitch, you can create networks and external type is actually bridged type.
 

Rusty

Moderator
NAS Support
2,246
671
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
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.
 
6
0
NAS
DS218+
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?
 

Rusty

Moderator
NAS Support
2,246
671
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
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.
 
6
0
NAS
DS218+
That's clear.
Thanks for your answers.
Let's wait when Synology implements this feature in the VMM.
 
2
0
NAS
DS 412+ | DS 218+ | DS 114
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!
 

Rusty

Moderator
NAS Support
2,246
671
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
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.

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Top