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] network question. two bridge and interfaces

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network question. two bridge and interfaces
From: Vladimir Elizarov <xengelpublicx@xxxxxxxxx>
Date: Mon, 05 Jan 2009 15:50:57 +0300
Delivery-date: Mon, 05 Jan 2009 04:51:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=a576uX18K86DgnCDK7aJg4Sln9si0MkMMnHOorBIOQw=; b=XdnutMYd0uFmF1DJf14Fh4qWo5xLRbqa0w+GxotN3yzSV2mVPKI2VulpWV269e2qkg A2c+3lkBpU70h3gfJVBJzyQ5uWn18tuojR9ScJF0EmD59mBZF7trqFQ2pZ2eSpI8/aI0 h00/uoOx488bAXG3cEvLpoNnoyRcWrRzf1s3E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=BAaygsWRtrNvbFbiHPVKezqoPjl8ch4z/6QVV766NavYUHoYlTgCfcB68yLdK4f1oC r1GsWb5ZaYxCDSRLA4cdOqK79ewrDIHF0IeZ+0GcYuemuyO7k5khnQdmdVsC80bYVSyH tSfrXZB6uksnxBxtij26HWrNYZuMrFe6G5dD0=
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
User-agent: Thunderbird 2.0.0.18 (X11/20081125)
Hello.
I'm configuration network xen with two bridge: xenbr0 (interfaces local0) to xen-domain (dhcp, ns) with local,
xenbr1(interfaces net0) xen-domain (gw with firewall ) in Internet

configuration:
xend-config.sxp:
(logfile /var/log/xen/xend.log)
(loglevel DEBUG)
(network-script network-example)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)

scripts/network-example:
"$dir/network-bridge" "$@" vifnum=0 netdev=net0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=local0 bridge=xenbr1

interfaces:
auto lo
iface lo inet loopback

iface xenbr0 inet dhcp
     bridge_ports local0
     bridge_stp off
     bridge_fd 0
iface xenbr1 inet dhcp
     bridge_ports net0
     bridge_stp off
     bridge_fd 0

This configuration is work. Set interfaces to:

auto xenbr0
iface xenbr0 inet static
     address 192.168.10.4
     netmask 255.255.255.0
iface xenbr
     bridge_ports local0
     bridge_stp off
     bridge_fd 0

auto xenbr1
iface xenbr1 inet manual
     bridge_ports net0
     bridge_stp off
     bridge_fd 0

Get problem: not create interfaces pnet0 and plocal0, because of this NIC xen-domain is not visible from local and internet.


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

<Prev in Thread] Current Thread [Next in Thread>