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

[Xen-users] Re: network question. two bridge and interfaces


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Vladimir Elizarov <xengelpublicx@xxxxxxxxx>
  • Date: Tue, 06 Jan 2009 13:10:59 +0300
  • Delivery-date: Tue, 06 Jan 2009 02:11:41 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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