Creating A Masqueraded Network Setup - Novell SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN Manual

Virtualization with xen
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11 sp1

Table of Contents