WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] No net connectivity on Xen321 + Centos52 ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] No net connectivity on Xen321 + Centos52 ?
From: "Wil Decius" <wilson.decius@xxxxxxxxx>
Date: Thu, 17 Jul 2008 07:46:34 -0700
Delivery-date: Thu, 17 Jul 2008 07:47:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=1A1NeqoO7xYDMo/EL02kTT7J3LC7MwQdOjLFPy3vB1E=; b=D6eUGr7bKbB8KpYX4ohuQogWJZNlxAcHizSkLPCSoDsKnN8TqMTUMgfRG6H3cXCHF5 gdA15XanWiYEEZzDxxqJ7/TdPVAqwp2/Uv+6nEKG/51MDe6Bh/9NRTh8aZPCPdMSt0lh IQn/zNVv1CYUHcuPB7ojIUyr3uq6WzhQwmvsg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qR2U7AE5tzPknqYWqQChh5gq92ACkLZAfzzffa44mSI6c6AjFBWq5ehGMHA6ERjZM4 rqv6PrG90bdsGiC03JixYNogQCsv29MIIrIrPpaqY0Me2KOLGZaYaLXz8RSsw9RVJj0o 3XSWvMl219H0DOJJAbGFpV8Zx8GPEzEdUX9Cg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I run Centos 5.2

 uname -rm
  2.6.18-92.1.6.el5 x86_64

On boot, Ethernet is

 ifconfig
  ...
  eth0      Link encap:Ethernet  HWaddr 00:0E:0C:C1:18:1D
            inet addr:192.168.1.9  Bcast:192.168.1.955  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
  ...

Net access to & from the box is fully functional.

I 've installed kernel-xen and upgraded to Xen 3.2.1

 rpm -qa xen\* kernel-xen
  kernel-xen-2.6.18-92.1.6.el5
  xen-debuginfo-3.2.1-0xs
  xen-devel-3.2.1-0xs
  xen-libs-3.2.1-0xs
  xen-3.2.1-0xs

/boot/grub/grub.conf contains

 title XenCentOS (2.6.18-92.1.6.el5xen)
  root (hd0,0)
  kernel /xen.gz-3.2 dom0_mem=1024M selinux=0 noirqdebug irq=poll
  module /vmlinuz-2.6.18-92.1.6.el5xen ro root=/dev/VG0/LV0
  module /initrd-2.6.18-92.1.6.el5xen.img

Boot to 'XenCentOS' is OK

 uname -rm
  2.6.18-92.1.6.el5xen x86_64

At this point, I've lost all Net access; Can't ping or ssh to/from the box.

I've edited

 cat /etc/xen/xend-config.sxp
  ...
  #(network-script network-bridge)
  (network-script network-bridge-custom)
  #(vif-script vif-bridge)

 cat /etc/xen/scripts/network-bridge-custom
  #!/bin/sh
  dir=$(dirname "$0")
  "$dir/network-bridge" "$@" vifnum=0 bridge=bridge00 netdev=eth0
  "$dir/vif-bridge"          vifnum=0 bridge=bridge00 netdev=eth0
  ip link set bridge00 up
  route -A inet add default gw 192.168.1.9 dev bridge00

and network state looks OK

 ifconfig
 peth0     Link encap:Ethernet  HWaddr 00:0E:0C:C1:18:1D
           UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
           RX packets:91 errors:0 dropped:0 overruns:0 frame:0
           TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:12692 (12.3 KiB)  TX bytes:7548 (7.3 KiB)
           Interrupt:20

 bridge00  Link encap:Ethernet  HWaddr 00:0E:0C:C1:18:1D
           inet addr:192.168.1.9  Bcast:192.168.1.955  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
           TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:980 (980.0 b)  TX bytes:1386 (1.3 KiB)

 brctl show
  bridge name   bridge id           STP enabled   interfaces
  bridge00      8000.00216352165d   no            peth0

 route -n
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  192.168.1.9     0.0.0.0         255.255.255.0   U     0      0
 0 bridge00
  0.0.0.0         192.168.1.9     0.0.0.0         UG    0      0
 0 bridge00

Any clues as to why connectivity is down?

Wil

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] No net connectivity on Xen321 + Centos52 ?, Wil Decius <=