KVM: can't access VM from another computer in same LAN.
-
- Posts: 7
- Joined: 2013/11/04 19:20:50
KVM: can't access VM from another computer in same LAN.
DELETE
Last edited by morrison71 on 2013/11/08 17:29:26, edited 1 time in total.
Re: KVM: can't access VM from another computer in same LAN.
Hello,
The default libvirt bridge performs a NAT, so to access SSH on this VM from your LAN you need either:
1. port forwarding from the host to the guest port 22
2. create a bridge[1] on the host's eth0 and bind the VM to it - I recommend you install virt-manager, it's a GUI similar to Vmware/virtualbox ones that would make your life easier
[1] - eg http://www.banym.de/linux/centos/setup- ... -on-centos
The default libvirt bridge performs a NAT, so to access SSH on this VM from your LAN you need either:
1. port forwarding from the host to the guest port 22
2. create a bridge[1] on the host's eth0 and bind the VM to it - I recommend you install virt-manager, it's a GUI similar to Vmware/virtualbox ones that would make your life easier
[1] - eg http://www.banym.de/linux/centos/setup- ... -on-centos
-
- Posts: 7
- Joined: 2013/11/04 19:20:50
Re: KVM: can't access VM from another computer in same LAN.
Thanks.Nux wrote:Hello,
The default libvirt bridge performs a NAT, so to access SSH on this VM from your LAN you need either:
1. port forwarding from the host to the guest port 22
2. create a bridge[1] on the host's eth0 and bind the VM to it - I recommend you install virt-manager, it's a GUI similar to Vmware/virtualbox ones that would make your life easier
[1] - eg http://www.banym.de/linux/centos/setup- ... -on-centos