KVM: can't access VM from another computer in same LAN.

Issues related to configuring your network
Post Reply
morrison71
Posts: 7
Joined: 2013/11/04 19:20:50

KVM: can't access VM from another computer in same LAN.

Post by morrison71 » 2013/11/07 22:22:17

DELETE
Last edited by morrison71 on 2013/11/08 17:29:26, edited 1 time in total.

User avatar
Nux
Posts: 37
Joined: 2013/11/08 12:37:05
Location: Delta Quadrant

Re: KVM: can't access VM from another computer in same LAN.

Post by Nux » 2013/11/08 13:27:42

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
--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

morrison71
Posts: 7
Joined: 2013/11/04 19:20:50

Re: KVM: can't access VM from another computer in same LAN.

Post by morrison71 » 2013/11/08 16:11:00

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
Thanks.

Post Reply