
192.168.1.20 - - eth0
default 192.168.1.20 - -
5
Finally, test the network connection from the VM Guest to the world outside as
well as from the network to your VM Guest.
6.4 Creating a Masqueraded Network
Setup
Creating a masqueraded network setup is quite similar to the routed setup. However,
there is no proxy_arp needed, and some firewall rules are different. To create a mas-
queraded network to a guest dolly with the IP address 192.168.100.1 where the host
has its external interface on
br0
, proceed as follows. For easier configuration, only an
already installed guest is modified to use a masqueraded network:
Procedure 6.2
Configuring a masqueraded IPv4 VM Guest
1
Shutdown the VM Guest system with
virt-manager
or
xm shutdown
.
2
Prepare the network configuration on the VM Host Server:
2a
Create a hotplug interface that will be used to route the traffic. To accomplish
this, create a file named
/etc/sysconfig/network/ifcfg-dolly
.0
with the following content:
NAME="Xen guest dolly"
BOOTPROTO="static"
STARTMODE="hotplug"
2b
Edit the file
/etc/sysconfig/SuSEfirewall2
and add the following
configurations:
• Add dolly.0 to the devices in FW_DEV_DMZ:
FW_DEV_DMZ="dolly.0"
• Switch on the routing in the firewall:
Virtual Networking
51
Содержание LINUX ENTERPRISE 11 SP1 - LINUX AUDIT
Страница 1: ...SUSE Linux Enterprise Desktop www novell com 11 SP1 August 18 2010 Virtualization with Xen ...
Страница 6: ......
Страница 11: ...Part I Getting Started with Xen ...
Страница 12: ......
Страница 17: ...Figure 1 2 Desktop Showing Virtual Machine Manager and Virtual Machines Introduction to Xen Virtualization 7 ...
Страница 18: ......
Страница 41: ...Part II Advanced Configurations ...
Страница 42: ......
Страница 54: ......
Страница 87: ...Part III Administration and Best Practices ...
Страница 88: ......
Страница 100: ......
Страница 108: ......
Страница 114: ......
Страница 116: ......
Страница 117: ...Part IV Appendix ...
Страница 118: ......
Страница 122: ......