network setup questions
Posted: 8. May 2021, 00:12
My configuration is a Windows Host that I use via a VPN client to connect to my corporate network.
I have 2 newly created Oracle Linux VM's (created via an ISO) and now I want to connect to them remotely say via ssh from a server on our network or even remotely via a browser.
However I am not 100% sure which setup I should use for my Network (ie NAT or bridged) but am so far using NAT.
As a test I was able to use ssh to connect from the VM's to other Linux hosts on my corporate network (via a VPN client).
So I can connect from my VM's to another Linux server but I can't connect the other way around.
So two questions:
1. Both VM's have the same inet address if I run ifconfig so is that right? I would think they should be different but maybe that's how NAT works. The netmask value is different than my corporate servers netmask also.
2. If I change it to Bridged Adapter would I select the VPN interface? Maybe that's all that's needed?
I have tried to read and understand the network related notes just not sure how the VPN client changes things.
I have 2 newly created Oracle Linux VM's (created via an ISO) and now I want to connect to them remotely say via ssh from a server on our network or even remotely via a browser.
However I am not 100% sure which setup I should use for my Network (ie NAT or bridged) but am so far using NAT.
As a test I was able to use ssh to connect from the VM's to other Linux hosts on my corporate network (via a VPN client).
So I can connect from my VM's to another Linux server but I can't connect the other way around.
So two questions:
1. Both VM's have the same inet address if I run ifconfig so is that right? I would think they should be different but maybe that's how NAT works. The netmask value is different than my corporate servers netmask also.
2. If I change it to Bridged Adapter would I select the VPN interface? Maybe that's all that's needed?
I have tried to read and understand the network related notes just not sure how the VPN client changes things.