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

[Xen-users] DomU and bridge mode, 2 intefaces.



Hi,

My physical machine has 2 interfaces : 1 to LAN (eth1), 1 to WAN(eth0) and has a
public IP outside of the public ip's pool of my DomUs.
So, in order to use bridge mode, i use a dummy interface(dummy0) in Dom0 to have
the same /29 network between Dom0 and DomU.
i have created a script called by xend-config.sxp with :
#! /bin/sh
"$dir/network-bridge" "$@" vifnum=0 netdev=? bridge=XenBrWAN
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=XenBrLAN

Should i put eth0 or dummy0 as netdev ?
Should i manually put some new iptables forward rules ?
i have this for now :
ACCEPT 0 -- 212.212.35.226 0.0.0.0/0  PHYSDEV match --physdev-in vif2.0
but why it is vif2.0 and not dummy0 or vif0.0?


Thanks in advance,

Jeje.

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