public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Armando Montiel <armando.montiel@gmail.com>
To: kvm@vger.kernel.org
Subject: KVM in remote server with bridge in a single ethernet interface
Date: Fri, 25 Jun 2010 11:40:38 -0500	[thread overview]
Message-ID: <4C24DC06.70802@gmail.com> (raw)

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.


             reply	other threads:[~2010-06-25 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-25 16:40 Armando Montiel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-25 17:35 KVM in remote server with bridge in a single ethernet interface Armando Montiel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C24DC06.70802@gmail.com \
    --to=armando.montiel@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox