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/
Home Products Support Community News


[Xen-users] weird issues with xen, bridging, and apache

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] weird issues with xen, bridging, and apache
From: vahram <vahram@xxxxxxxxx>
Date: Thu, 4 Oct 2007 19:38:36 -0700
Delivery-date: Thu, 04 Oct 2007 19:39:29 -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=yn3RZqBov4csfUeOLLmSgH+4jpi1UFEWZJ4XKlnoN9Q=; b=QuYGZniozXHNjjS+fsQpwcS2N9cQTfcCJhTOTnj2n9AaFI2wIeCCDL7UOoO8XE+xT0j7MQ1u02uIxR1tLztb/N4ayStPDxk1LoWfc5T4x695sJ2ZL7ZImuYkaoNyfj7uqTCjfgqk/v+SzHmrctWDKlgZRLZOkmfXfcL4Of+my+c=
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=iI+P/hoBC7PAqKXrWdnWT7jRxVDe2SsFz008dkaiqNnhU76971kC+xnuJsxnEGhHbYRGqZpSv3lwcqTwFs6s/Da5sVLCn9zkRWmeO7sC2grURe63VLEEoBtM2vVWzeRXHPJz8apCXqvUdn1yo8h8Nnga3PL+RxsNAwU26uU4oog=
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

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)
(vif-script vif-bridge)

The contents of my-network-script:

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.

Thanks for your help!


Xen-users mailing list

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