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] weird issue with xen, briding, and apache

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] weird issue with xen, briding, and apache
From: vahram <vahram@xxxxxxxxx>
Date: Thu, 4 Oct 2007 18:34:46 -0700
Delivery-date: Thu, 04 Oct 2007 18:35:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Ck4FGwHQUgf7FIAOvHMf91dNU50yMl9TyWTRlukCU/w=; b=sZTbQQkG/9hcoV1J5FM8XiMbx+iDHJeKciYfGSEhicK1D3eXvVErLcM3JxsWdFf/n0IxY99AHgxe3I9emOwRscqMxTJVHBwnx6swmm9oRksvZ558sLdaYTmxIqJJ/H3gWlddtpYCUMdSSbsB4kilpd4YeQoOk/z+zch+CSaK6Sg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IsIlja879j590QjjyK9HFMat3LKUGaJD4J1kOOkBeMP1KK2EEObe2suqTD6jhrsUD4bZRhjtMDQt+zaNr11kdFCkMqNUs6q718tydG2pUyDPM+RVctnleW5QqLrPzt19d2cgl7wLZL1dEJE66BbDzb7FLvxU/6HeZRfguIPSwfA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I've had 2 separate problems today with one of our CentOS 5 machines
running Xen and Centos 5 domU's.  The machine has two network cards --
eth0 is a public IP, and eth1 is a 10.1.0.x IP.

I setup bridging by using:
(network-script my-network-script)
and
(vif-script vif-bridge)

The contents of my-network-script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1

1st problem -- when the machine reboots, the peth* interfaces don't
get created, and I can't ping my DomU's from Dom0 and vice-versa.  I
have to shut down xen, run /etc/xen/scripts/my-network-script stop,
and then run /etc/xen/scripts/my-network-script.  Only then will the
proper interfaces get created, and everything will then work.  This
happens to be after doing a yum update (which installed a new xen
kernel and xen-libs), so I hope it has nothing to do with that....

2nd problem -- one of my DomU's has a public IP on eth0 and private IP
on eth1.  I can ping everything from everywhere.  If i'm on my private
network, i can telnet to port 80 on the domU and Apache will respond.
If I try to telnet to port 80 from outside the network over the public
IP, Apache will hang.  The request is recorded in Apache's log file,
but nothing is returned.  I tried completely disabling iptables and
running ethtool -K eth1 tx off and ethtool -K eth0 tx off, but that
doesn't seem to have done the trick.  I also tried enabling the
firewall and logging dropped requests, and this is what I got:

IN=eth0 OUT= MAC=00:16:3e:2f:1e:40:00:13:c4:40:8d:40:08:00
SRC=xxx.xxx.xxx.xxx DST=yyy.yyy.yyy.yyy LEN=48 TOS=0x00 PREC=0x00
TTL=115 ID=55731 DF PROTO=TCP SPT=3624 DPT=5900 WINDOW=65535 RES=0x00
SYN URGP=0
IN=eth0 OUT= MAC=00:16:3e:2f:1e:40:00:13:c4:40:8d:40:08:00
SRC=xxx.xxx.xxx.xxx DST=yyy.yyy.yyy.yyy LEN=48 TOS=0x00 PREC=0x00
TTL=115 ID=56073 DF PROTO=TCP SPT=3624 DPT=5900 WINDOW=65535 RES=0x00
SYN URGP=0
IN=eth0 OUT= MAC=00:16:3e:2f:1e:40:00:13:c4:40:8d:40:08:00
SRC=xxx.xxx.xxx.xxx DST=yyy.yyy.yyy.yyy LEN=48 TOS=0x00 PREC=0x00
TTL=115 ID=56719 DF PROTO=TCP SPT=3624 DPT=5900 WINDOW=65535 RES=0x00
SYN URGP=0

Thanks!

Regards,
Vahram

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] weird issue with xen, briding, and apache, vahram <=