[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Routed Network with Xen
Thanks Felix for the reply, this is the first one that I actually got on this list. I have completed the setup using NAT. The only problem that I had faced, was DomU firewall. The answers are inline... hope it may others... On Fri, Feb 10, 2012 at 6:55 PM, Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx> wrote:
I did do some customisation, as mentioned in one of the many blogs that I had referred. The changes were made in "/etc/xen/scripts/vif-common.sh", where I changed the ip_of function as described below: ------------------------------ function ip_of() { #Â ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed -n '1 s,/.*,,p' ÂÂÂÂÂÂÂÂÂ ip -4 -o addr show primary dev $1 | awk '$3 == "inet" {print $4; exit}' | sed 's#/.*##' } ------------------------------ Â
Yes, I had to do NAT, as Dom0 got all the IP addresses, and DomUs have internal IPs like 192.168.1.2,3,4... I faced one silly problem here, as the Nat was fine, but DomU firewall was blocking the incoming requests. I had overlooked this fact, which led to 4 days of futile research, as I myself figured it out. Anyone doing such setup, please keep DomU firewall in mind. Â
I've cleared these questions, in above answer.
I have skipped this part, as I am not assigning these IPs to DomU. Does this method work??
If anyone has suggestions, please do reply. Thanks and Regards,
Rakesh Chawda
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |