Re: [Users] another networking question: ssh to VM with private dhcp addr
On Thu, 23 Jan 2014 05:12:31 -0500 (EST) Assaf wrote: AM> If so, when the VM generates a DHCP request it goes out to the same AM> physical network that the ovirtmgmt device is on. Meaning, that if the AM> VM and the management device both generate DHCP requests they should AM> get responses in the same subnet. Ah, ok. So oVirt doesn't automatically do DHCP like virt-manager.. Got it. All the machines in the lab use static IPs, so I wasn't aware that there was a DHCP server somewhere else handing out private addresses. I just assumed oVirt did dhcp like virt-manager. Sorry for the noise! Robert signature.asc Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] another networking question: ssh to VM with private dhcp addr
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" To: "users" 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[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 signature.asc Description: PGP signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users