From mboxrd@z Thu Jan 1 00:00:00 1970 From: Armando Montiel Subject: KVM in remote server with bridge in a single ethernet interface Date: Fri, 25 Jun 2010 11:40:38 -0500 Message-ID: <4C24DC06.70802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail-px0-f174.google.com ([209.85.212.174]:39003 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752419Ab0FYQkn (ORCPT ); Fri, 25 Jun 2010 12:40:43 -0400 Received: by pxi8 with SMTP id 8so784272pxi.19 for ; Fri, 25 Jun 2010 09:40:43 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Hi, I have only one ethernet port in a remote server. (eth0) I have a public address with x.x.x.164 netmask 255.255.255.240 gw x.x.x.161 and want to use in my guest OS the next available ip address (x.x.x.165 netmask 255.255.255.240 gw x.x.x.161) Is this posible with brctl to achieve this? I did a file called ifcfg-br0 with: DEVICE=br0 TYPE=Bridge BOOTPROTO=none BROADCAST=x.x.x.175 HWADDR=xx:xx:xx:xx:xx:xx IPADDR=x.x.x.164 NETMASK=255.255.255.240 NETWORK=x.x.x.160 ONBOOT=yes GATEWAY=x.x.x.161 then replace ifcfg-eth0 with: DEVICE=eth0 BRIDGE=br0 #BOOTPROTO=none ONBOOT=yes then reboot, after that i use: I was connected to my remote server but problems begin when I assigned the x.x.x.165 ip addres to the guest OS with virt-manager to begin installation. I lost the remote connection. Maybe I miss something to avoid loosing the connection ? i'm still receiving ping from x.x.x.165 but x.x.x.164 is not responding.