[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xenbr0 / domU static IPs


  • To: Jan Hejl <jh@xxxxxxxxxx>
  • From: Simon Jones <Simon@xxxxxxx>
  • Date: Mon, 20 May 2013 12:23:43 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 20 May 2013 12:24:33 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: Ac5VTZi4EUqpN6RIQQ6ZcxBKWsrNy///9QWA///qwwCAABtsgP//7ZoQ
  • Thread-topic: [Xen-users] xenbr0 / domU static IPs

ID 7 is a debian test vm I set up, I just reconfigured the networking on it and rebooted, now this one can ping dom0 static IP and receives a reply.  No reply when I try and ping the other windows guest, also get a reply when pinging the default gateway, all are on the same network.

 

root@test-pv:~# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:16:3e:14:d8:42 

          inet addr:195.2.139.213  Bcast:195.2.139.255  Mask:255.255.255.0

          inet6 addr: fe80::216:3eff:fe14:d842/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:545 errors:0 dropped:0 overruns:0 frame:0

          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:29480 (28.7 KiB)  TX bytes:3016 (2.9 KiB)

          Interrupt:17

 

From: Jan Hejl [mailto:jh@xxxxxxxxxx]
Sent: 20 May 2013 13:15
To: Simon Jones
Cc: xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] xenbr0 / domU static IPs

 

I suppose domU ID you described is 7, isn't it? Is the other domU - id 14 - able to reach the dom0 with ping?

Dne 20.5.2013 14:09, Simon Jones napsal(a):

Hi Jan,

 

Thanks – I should have included that but here you go;

 

bridge name     bridge id               STP enabled     interfaces

xenbr0          8000.00e081465f38       no              eth1

                                                        tap14.0

                                                        vif14.0

                                                        vif7.0

 

From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Jan Hejl
Sent: 20 May 2013 12:52
To: xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] xenbr0 / domU static IPs

 

Hi Simon,

what does "brctl show" show? It should show xenbr0 and some vifX.Y (which is domU interface) device.

Jan

Dne 20.5.2013 13:36, Simon Jones napsal(a):

Hi,  I have a new xen hosting platform.  I have given the bridge a static IP which I can ping/ssh to etc, when I create a new vm all works well apart from the networking.  If I give DomU a static IP I can’t ping out from the box, Dom0 can’t ping the vm.  I’m suspecting it just isn’t seeing the bridge but am unsure where to start looking.  This is a very standard setup, 1 bridge: xenbr0

 

Here’s a config file for a windows guest but I get the same with windows or debian guests.

 

cat windows8.cfg

kernel = "/usr/lib/xen-4.0/boot/hvmloader"

builder='hvm'

memory = 4096

vcpus=1

name = "Windows8"

vif = ['bridge=xenbr0']

disk = ['phy:/dev/vg0/windows8,hda,w','file:/usr/src/windows8_x64.iso,hdc:cdrom,r']

acpi = 1

device_model = 'qemu-dm'

boot="d"

sdl=0

serial='pty'

vnc=1

vnclisten="0.0.0.0"

vncpasswd=""

usbdevice='tablet'

 





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.