pradeep singh rautela
2008-Feb-20 04:57 UTC
[Xen-users] [Xen 3.2]How to NAT and bridge together?
Hi All, How does NAT work now in xen-3.2? I am not at all able to write a custom script which will attache peth0 to bridge xenbr0(eth0 now) and make peth1 NAT for a dedicated HVM domU. This is what i write in my custom script. dir=$(dirname "$0") "$dir/network-bridge" "$@" bridge=eth0 netdev=eth0 "$dir/network-nat" "$@" netdev=eth1 Whats wrong this thing? Can''t i run one ethernet interface in NAT mode and other in bridged mode at the same time in Xen-3.2? How will i know that this NAT thing is working only for one NIC and one HVM domainU?What should i look for in dom0? $ brctl show gets me [without any domU working] bridge name bridge id STP enabled interfaces eth0 8000.0000c0123300 no peth0 Can someone explain me why xenbr0 was renamed to eth0 and so on? It seems to beat shit out of poor soul like me :-). On a side note, the eth1 device on domainU cannot be created, meaning something wrong with the way i am using nat-script it seems. How do i use it in this case. I used the syntax after look at network-nat under /etc/xen/scripts/ . Any pointers. ps:- please do not point me to shorewall and xen configuration link, it works only for PV guests. Thanks, -- Pradeep Singh Rautela http://eagain.wordpress.com http://emptydomain.googlepages.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users