O'Reilly logo

Xen Virtualization by Prabhakar Chaganti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Virtual Local Network with Network Address Translation

In this section we are going to set up a Xen networking configuration that has a dom0 with a public IP address that acts as a router to a VLAN by using NAT. The VLAN can have any number of virtual machines, all of which will use a new network interface that is connected to the bridge. In the previous chapter each of our virtual machines had a separate public IP address assigned to it that made things easier. However in this section, we will use a single IP address and still provide the ability to connect to any port on a virtual machine on our VLAN by using address translation.

We will set up a VLAN with one webserver and one database. Each of these has a private IP address that is not available ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required