Xen Networking

At beginnig, when I play with Xen, I was on a small local lan, and by this way, we were allocated a range of ip. So, this wasn't difficult to configure a xen machine, and get network working out of the box with dhcp.

I simply edit the file :


and enable these two line :

(network-script network-bridge)
(vif-script vif-bridge)

At home, a different configuration is needed as my provider don't give as many IP as I want. The solution was to used a nat, and Xen provide this out of the box, you only need to comment these two lines :

(network-script network-bridge)
(vif-script vif-bridge)

and uncomment these two line :

(network-script network-nat)
(vif-script vif-nat)

At this moment, I still cannot resolv any host name, but I can ping the internet, I probably forget something, and put how to do that as soon as I find a solution.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License