Hello dear xen users, I have some trouble finding the best solution to my networking requirements. I want to have the following things: -dom0 : have 2 physical networks devices * 1 eth with public IP (static) * 1 eth with private IP (static) -domU * 1 eth with private IP -I also want openVPN solution to let people outside the private network have access to it. -A DHCP server is required so that domU get their IP from it. I have debian lenny and xen 3.2 installed and working. Actually openvpn and dhcp are on the dom0. All is fine *except* that domU don''t have access to internet (this is my main problem). My current config use network-bridge netdev=eth1 (eth1 have a static private ip). It is perhaps better to have dhcp and openvpn server in a domU, feel free to suggest what you think is the best choice (and the config that go with it) :) ---- Cédric Villemain Administrateur de Base de Données Cel: +33 (0)6 74 15 56 53 http://dalibo.com - http://dalibo.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 25, 2009 at 9:30 PM, Cédric Villemain<cedric.villemain@dalibo.com> wrote:> All is fine *except* that domU don''t have access to > internet (this is my main problem). > My current config use network-bridge netdev=eth1 (eth1 have a static private > ip).When designing such setups, with bridge networking, I often find it easier to think of dom0 as a switch or router, and domU like any other physical server on your network. In your setup you''re making dom0 act as router/firewall. Your problem is that probably you haven''t setup ip forwarding and NAT on dom0 to allow domU internet access. Note that (if you want) you could also have dom0 act like a switch. In that scenario you''d need another domU, with two network interfaces connected to both dom0''s eth0 and eth1, acting as router/firewall. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users