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