diff --git a/docs/XenMyWay-Routed.xml b/docs/XenMyWay-Routed.xml index 3341cf6d2..633e7ce4f 100644 --- a/docs/XenMyWay-Routed.xml +++ b/docs/XenMyWay-Routed.xml @@ -277,6 +277,43 @@ gateway:~ # (vif-script vif-route) + + + I have been asked a couple of times "How would I add another + domU to the DMZ?" Here is a sample config file to add a second domU + named "server", boot device /dev/hdb1 and IP + address 206.124.146.179: + + # -*- mode: python; -*- + +# configuration name: +name = "server" + +# usable ram: +memory = 512 + +# kernel and initrd: +kernel = "/xen2/vmlinuz-xen" +ramdisk = "/xen2/initrd-xen" + +# boot device: +root = "/dev/hdb1" + +# boot to run level: +extra = "3" + +# network interface: +vif = [ 'mac=aa:cc:00:00:00:02, ip=206.124.146.179, vifname=eth4' ] + +# storage devices: +disk = [ 'phy:hdb1,hdb1,w' ] + + Note that this domU has its own vif named eth4. + + The Shorewall configuration would need to be adjusted + accordingly. + With both Xen domains up and running, the system looks as shown in