Hey 
guys,
I have 
some doubts about networking on XCP.
When 
I create a VM and start it, the Xen server is creating a VIFx.x
So, here 
is my doubts. 
When I start a VM and the 
Xen server creates this interface is it bridged automatically?
Or do I need to forward its traffic through my LAN 
connection?
I tried to 
forward the traffic from this interface to my eth0 but it seemed not 
work.
Here is 
the script that I created and executed on Xen server:
# Always accept loopback 
traffic
iptables -A 
INPUT -i lo -j ACCEPT
# Allow established connections, and those not coming from the 
outside
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j 
ACCEPT
iptables -A INPUT -m state --state NEW -i ! 
xenbr0 -j ACCEPT
iptables -A FORWARD -i xenbr0 -o vif5.2 -m state 
--state ESTABLISHED,RELATED -j ACCEPT
# Allow outgoing connections from the LAN 
side.
iptables -A 
FORWARD -i vif5.2 -o xenbr0 -j ACCEPT
# Masquerade.
iptables -t nat -A POSTROUTING -o xenbr0 -j 
MASQUERADE
# Enable routing.
echo 1 > 
/proc/sys/net/ipv4/ip_forward