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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: network question. two bridge and interfaces
From: Vladimir Elizarov <xengelpublicx@xxxxxxxxx>
Date: Tue, 06 Jan 2009 13:10:59 +0300
Delivery-date: Tue, 06 Jan 2009 02:11: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:references:in-reply-to :content-type:content-transfer-encoding; bh=KJmzMY0ex6eGvixLVb4BImRvi/yVW+hmakYaRSdwzHs=; b=L4IUwI536EaIwTjB+jIItq7d7p92Av/88HxW4CnusAzxE0xr0VjbFgvzyb5pXcOXc9 y0lV44GPms2YGaHXoQFyzGRbb4CEUvlW/J2+vtkRHMtOrVHIe9rbcXMUxKUOmSbum1lC W2tTqcUF7SUeJSfFJG3oswZRpvSqJYhQ2h2jg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=V5TvP/yQpTIt4MVieXXp22kmKqD2ZlgehOht+/nhoE4elDjYLF5S8GLo+FFe8oH0Xy hVyBFW84MkH54CRBHh3x8QpEVyoNqxpkKXGvQINS4Prv/jrHxwMDcm8WqtThvnozwz2e XY3BZ7ivCCyZ7N3imBoBrIvGDG7B0hIZn9zOk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49620231.7000703@xxxxxxxxx>
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>
References: <49620231.7000703@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081125)
Vladimir Elizarov wrote:
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.

   sorry. I fix this problem. I mixed name xenr0 and xenbr1.


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

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