[Users] another networking question: ssh to VM with private dhcp addr

Assaf Muller amuller at redhat.com
Thu Jan 23 10:12:31 UTC 2014


I assume when you're creating VMs you connect them to the ovirtmgmt network?

If so, when the VM generates a DHCP request it goes out to the same physical
network that the ovirtmgmt device is on. Meaning, that if the VM and the management
device both generate DHCP requests they should get responses in the same subnet.

As for SSH'ing into those VMs, DHCP vs static addressing shouldn't make a difference
unless you end up with different subnets.

If you give a VM a static address in the same range as the DHCP responses I'd
imagine you wouldn't be able to SSH into it either.


Assaf Muller, Cloud Networking Engineer 
Red Hat 

----- Original Message -----
From: "Robert Story" <rstory at tislabs.com>
To: "users" <users at ovirt.org>
Sent: Thursday, January 23, 2014 7:21:01 AM
Subject: [Users] another networking question: ssh to VM with private dhcp	addr

Hello,

I've got oVirt 3.3.x all-in-one up and running on CentOS 6.3. The IP
address on the ovirtmgmt bridge is static/public. I have not done any
additional network/VLAN configuration.  If I create a VM and give it an
address on the same subnet, I can ssh to it just fine.

If I create a VM and let it use dhcp, it gets a 172.31.x.x address.
Outgoing access works fine, but I can't figure out what to do to allow me
to be able to ssh into those VMs.  With straight KVM the VM private network
was on a virtual interface on the host, making it easy. But I can't figure
out how to do it with oVirt.

Any help greatly appreciated. Thanks in advance.


Robert

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list