I currently am able to ssh into the host machine, that has a static ip of 1.2.3.4. I used it to make a VM with a separate static ip using br0
on the host machine, using this reference
This works VM works fine. Using virt-manager
I am able to get the vnc console up and login to the vm with root user and password. It is able to connect to the internet and the ifconfig
show's it's ip, say 1.2.3.5
The problem I have is when I try and ssh into it from a public ip or from the host I get Connection closed by 1.2.3.5 port 22
As I'm trying to make more than one VM each with its own static ip that can be ssh'ed into, is there something I am required to either add to the /etc/network/interfaces
on the host or the VM's to fix this? Looking at this reference maybe a pre-up
or post-up
?
0 Answers