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

[Xen-users] bridging two interfaces


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Tomoki Taniguchi" <tomoki.taniguchi@xxxxxxxxx>
  • Date: Tue, 31 Jul 2007 11:22:28 +0900
  • Delivery-date: Mon, 30 Jul 2007 19:20:09 -0700
  • 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=K5/IQYQNqGoHXct1pXLLUBMqxWND6fEsA628a4HbhPSf+bc2n+sswOhmmhSSnRxYYJOHBEDbC6sY+2KeopbaC9TUoCZJroQ9vfhqbb92nH5j7BayH0221ngP4Gaj4U9a6I/BiWdStfFDkXI6y73cvPPv1zpsZpD4dB7wngGN+hA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I have a host machine with eth0 and eth1.
eth0 is connected to the lan and eth1 is connected to the internet

I am trying to bridge both interfaces in xend so that
xenbr0=eth0 and xenbr1=eth1

following some documentation i changed
(network-script network-bridge)
to
(network-script multi-network-bridge)
in /etc/xen/xend-config.sxp

then i created a /etc/xen/scripts/multi-network-bridge file
in put
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1
in side.

I restart xend, which seemed to create the xenbr0 and xenbr1
interfaces.

I then editted the domU config file. I changed
vif = [ 'bridge=xenbr0' ]
to
vif = [ 'bridge=xenbr0','bridge=xenbr1' ]

eth0 and eth1 are created on domU and i was able to set the ip
addresses for eth0 and eth1.
i was able to connect to the domU host through the lan ip address
assigned to eth0.
but i can't seem to connect via the wan ip address assigned to eth1.

from inside the domU i have tried to ping other machines on the same wan subnet,
but i get a "Destination Unreachable".  I have confirmed that the ip
address and the subnet
is correct.  I can't ping the domU eth1 ipaddress from the dom0 eth1
ipaddress which is on the same subnet.

which leads me to believe my xenbr1 is not being setup properly.

can anyone help me with this?

TIA
Tomoki

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


 


Rackspace

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