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

[Xen-users] multiple interface


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Pölös Norbert <npolos@xxxxxx>
  • Date: Fri, 15 Sep 2006 11:04:46 +0200
  • Delivery-date: Fri, 15 Sep 2006 02:05:26 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I have a server with xen-3.0.2-2, ubuntu dapper.

It has 2 nics (Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet).

I would like to make next configuration:

1. nic connect to internal network 192.168.x.x/24.
2. nic connect to DMZ.

dom0 connect to 192.168.x.x/24, from there I'll manage the server.

1. domU is fw1- firewall, the other domUs connect through fw1 to web.

How can I config xen fw1 and other domUs connect through only 2.nic ?

my config files:
/etc/xen/xend-config.sxp
(network-script my-network-bridge)

/etc/xen/scripts/my-network-bridge
#!/bin/sh
# start bridges on both eth0 and eth1
XENDIR="/etc/xen/scripts"
$XENDIR/network-bridge "$@" vifnum=0 bridge=xenbr0 netdev=eth0
$XENDIR/network-bridge "$@" vifnum=1 bridge=xenbr1 netdev=eth1

/etc/xen/fw1
kernel="/boot/vmlinuz-2.6.16-xenU"
memory=256
name="fw1"
vif=['mac=AA:BB:CC:00:00:03, bridge=xenbr0' ,
'mac=AA:BB:CC:00:00:04,bridge=xenbr1']
pci=[ '02:01.1' ]
disk=['phy:/dev/mapper/xen_vg-diskfw1,sda1,w','phy:/dev/mapper/xen_vg-swapfw1,sda2,w']
root="/dev/sda1 ro"


--
Thank you,
npolos

_______________________________________________
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®.