tag:blogger.com,1999:blog-4613455571367806369.post768158527314115889..comments2024-01-27T12:16:23.123+08:00Comments on Selling Free Software for a Living: Simple NAT setup with XenUnknownnoreply@blogger.comBlogger15125tag:blogger.com,1999:blog-4613455571367806369.post-41941576806063756962009-05-18T08:52:00.000+08:002009-05-18T08:52:00.000+08:00Hi kfox,
I've not done any Xen work on openSUSE.....Hi kfox,<br /><br />I've not done any Xen work on openSUSE... however, I find it very surprising if it would not work since both the openSUSE and SUSE Linux Enterprise are similar.<br /><br />Since both domUs are up and can ping one another and your challenge is getting to the outside world (ie www) from domU, have you look at my comment about sync-ing /etc/resolv.conf on dom0 (on this same page) posted on 18 April 2009? See if that will work out for you.<br /><br />Han (Kam is my last name) :)Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-85638875633810579722009-05-16T13:07:00.000+08:002009-05-16T13:07:00.000+08:00Hi Kam,
I had a question regarding this procedure...Hi Kam,<br /><br />I had a question regarding this procedure for OpenSuSE 11.1<br /><br />It seems to work for creating a private network, I can get the two domU's to communicate with each other just fine. However, they cannot seem to route to the outside following these instructions. Do you have an suggestions on what might be different in OpenSuSE 11.1, or what diagnostics I might run to help trouble shoot this problem? Thanks,<br /><br />kfoxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-85921577857375942292009-05-05T12:06:00.000+08:002009-05-05T12:06:00.000+08:00Hi Jan,
Glad to hear it worked for you. :)
I wi...Hi Jan,<br /><br />Glad to hear it worked for you. :)<br /><br />I will be posting another blog entry later this week (hopefully) on this topic based on my recent encounter with a customer who uses NIC bonding with Xen.<br /><br />Cheers!<br /><br />HanHanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-80085740188918022402009-05-01T07:54:00.000+08:002009-05-01T07:54:00.000+08:00Hi Kam,
I did a mess. You are right, this setup i...Hi Kam,<br /><br />I did a mess. You are right, this setup is right for those who uses NetworkManager. <br /><br />I personally don't use the SuSEfirewall as much as you, I prefer dedicated firewall.<br /><br />Anyway, eventually I managed to create a similar configuration on SLE11 where netconfig is used and no firewall is enable (actually a mansquarade rule needs to be set from console). All is done by a dummy interface which seems to be not good for NetworkManager (I'll work it out). <br />Bridged can be well managed instead, and with the iptables rule rather than SuSEFirewall described here the job is done.Unknownhttps://www.blogger.com/profile/09831075776512475163noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-28293349539408377762009-04-18T10:27:00.000+08:002009-04-18T10:27:00.000+08:00Hi Jan,
Not really understand your statement...
...Hi Jan,<br /><br />Not really understand your statement... <br /><br />This setup is meant for those who uses NetworkManager and not the Traditional Networking (ifup/ifdown). Yes, if you disable the SuSEFirewall, the internal bridge will not be able to route the domU network packets out to the world.<br /><br />If you were to use the default and supported Traditional networking (ifup/ifdown) with the default and supported Xen Bridged networking instead of NAT, it will work irregardless if SuSEFirewall is up or not. Having said that, call me paranoid but it always makes me nervous to not enable Firewall.Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-91747045864124967032009-04-18T10:21:00.000+08:002009-04-18T10:21:00.000+08:00Hi Sri,
Please define "out of network reach"...
...Hi Sri,<br /><br />Please define "out of network reach"...<br /><br />I've looked at my blog entry and the only thing I have not included is the need to sync your /etc/resolv.conf.<br /><br />If your host IP is static, can you surf the web and ping other hosts? If so, your domUs should be able to at least ping the other hosts as well. To surf, you will need to copy the host's /etc/resolv.conf entries into the domUs.<br /><br />Good luck. :)Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-85783070348308755472009-04-16T22:00:00.000+08:002009-04-16T22:00:00.000+08:00Really interesting and good basic explanation. Any...Really interesting and good basic explanation. Anyway this way would not be good if either you use NetworkManager or you disabled SuSEFirewall at all. Is it right?Unknownhttps://www.blogger.com/profile/09831075776512475163noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-7357126580703731702009-03-18T10:47:00.000+08:002009-03-18T10:47:00.000+08:00hii.. i treid the above steps exactly, and when i ...hii.. i treid the above steps exactly, and when i restart network, the system goes out of network reach.. is there any extra configuration to make..??i have the same configuration..srihttps://www.blogger.com/profile/13194703605036316324noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-51825393618776650252009-03-18T09:15:00.000+08:002009-03-18T09:15:00.000+08:00Hi Sri,Yes, you can have static IP on dom0 eth0. :...Hi Sri,<BR/><BR/>Yes, you can have static IP on dom0 eth0. :)Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-21055995291253067392009-03-18T01:59:00.000+08:002009-03-18T01:59:00.000+08:00hii.. i need to know will this work for a "static ...hii.. i need to know will this work for a "static ip" on the eth0..? if there is any configuration changes required can u let me know..??please...srihttps://www.blogger.com/profile/13194703605036316324noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-35475926599135162252008-10-24T00:47:00.000+08:002008-10-24T00:47:00.000+08:00Never mind. Thanks a lot for helping me on this is...Never mind. Thanks a lot for helping me on this issue. I use SLES11. I don't know why setting up network in xen is such a pain:-(. What is the "proper" way to set up network in DomU? Or should I use other linux distribution to make it work? Thank you.Unknownhttps://www.blogger.com/profile/05236978218318446392noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-39546964731114352302008-10-23T16:16:00.000+08:002008-10-23T16:16:00.000+08:00Hi Tommy,Running out of ideas... I did recall seei...Hi Tommy,<BR/><BR/>Running out of ideas... I did recall seeing in another setup where the domU can surf but just not ping google. Its not my machine and I did not have time to debug it about a month back.<BR/><BR/>Are you running SLES10 or Windows as your domU (not that it matters), try copying the /etc/resolv.conf values into the domU and see if that works.<BR/><BR/>Sorry, I can't help you further on this one. :)Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-25594032617825612222008-10-23T15:55:00.000+08:002008-10-23T15:55:00.000+08:00Hi Kam han,Thank you for quick response. I tried b...Hi Kam han,<BR/><BR/>Thank you for quick response. I tried but still no luck. I used plain ip nor domain name to ping google but failed, so I think probably the problem is not due to DNS. By the way, I use DHCP to fetch the real ip and dns. Any ideas?Unknownhttps://www.blogger.com/profile/05236978218318446392noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-2077868149350430162008-10-23T15:35:00.000+08:002008-10-23T15:35:00.000+08:00Hi Tommy,One thing I did left out is that the domU...Hi Tommy,<BR/><BR/>One thing I did left out is that the domUs must have the same DNS as the dom0. Since we did not configure DHCP or DNS, you will need to manually create an IP and the DNS search within each domU.<BR/><BR/>Hope this will help. Thank you.Hanhttps://www.blogger.com/profile/14979804434768041826noreply@blogger.comtag:blogger.com,1999:blog-4613455571367806369.post-91046488226975540882008-10-23T15:29:00.000+08:002008-10-23T15:29:00.000+08:00Hi,I like this article. It is very clear and descr...Hi,<BR/><BR/>I like this article. It is very clear and describes in detail. I can ping Dom 0 from other domains. However, I still cannot access the Internet. I cannot ping with IP or domain name. Could you give me some hints about how to deal with this problem?Unknownhttps://www.blogger.com/profile/05236978218318446392noreply@blogger.com