On Tue, Oct 25, 2005 at 03:49:09PM -0400, Michael Lessard wrote:
> My setup :
> 2 Network Carfs on Debian Sid for both of my domains (Dom0 and DomU)
> 1 network cards (eth0) for my DomU, the config for network cards on Dom0
> is :
> iface eth0 inet manual
> up /sbin/ifconfig eth0 up
>
> When i start DomU, i see appear vif1.0 , when i ping Dom0 from Dom0 i see
> only RX bytes growth
>
> On Dom0 , i have do echo "1" > /proc/sys/net/ipv4/ip_forward and iptables
> -P FORWARD ACCEPT
>
> My xen config for DomU :
> kernel = "/boot/vmlinuz-2.6.12-xenU"
> memory = 200
> name = "Albert"
> nics=1
> vif = [ 'mac=aa:00:00:00:00:11, bridge=xenbr0' ]
> disk = [ 'phy:/dev/hdc3,hdc3,w', 'phy:/dev/hdc5,hdc5,w',
> 'phy:/dev/hdc1,hdc1,w' ]
> root = "/dev/hdc3 ro"
>
> I have try with and without mac address specified ...
> What's wrong with my setup ?
The network-bridge script is for multiplexing each domain's packets onto a
single network interface, through a bridge. If you want to have one card
dedicated to dom0, and one dedicated to domU, then you don't want to use the
network-bridge configuration at all.
I think what you want to use is network-route / vif-route. Edit your
xend-config.sxp to set
(network-script network-route)
(vif-script vif-route)
The intention is to have dom0 route traffic for your domU from eth1 to vif1.0,
and vice versa. You're going to need to have the two cards on different
subnets for this to work using the standard scripts, though I guess that's
what you're doing already.
These scripts haven't had a lot of testing, and I'm not sure they are even the
right thing for you, so you may have to do some hacking to get the right
result. Let us know how you get on.
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|