diff --git a/docs/XenMyWay-Routed.xml b/docs/XenMyWay-Routed.xml index d8e04ba3d..3a0265758 100644 --- a/docs/XenMyWay-Routed.xml +++ b/docs/XenMyWay-Routed.xml @@ -187,21 +187,23 @@ /boot/grub/menu.lst — here is the entry that boots Xen in Dom0. - title XEN +
+ title XEN root (hd0,1) kernel /boot/xen.gz dom0_mem=458752 sched=bvt module /boot/vmlinuz-xen root=/dev/hda2 vga=0x31a selinux=0 resume=/dev/hda1 splash=silent showopts module /boot/initrd-xen +
- /etc/modprobe.conf.local - - options netloop nloopbacks=1 #Stop netloop from creating 8 vifs + /etc/modprobe.conf.local
+ options netloop nloopbacks=0 #Stop netloop from creating 8 useless vifs +
/etc/xen/auto/02-lists — configuration file - for the lists domain. Note that the vifname is set to 'eth3' for the - virtual interface to this domU. + for the lists domain. - # -*- mode: python; -*- +
+ # -*- mode: python; -*- # configuration name: name = "lists" @@ -225,8 +227,26 @@ vif = [ 'mac=aa:cc:00:00:00:01, ip=206.124.146.177, v # storage devices: disk = [ 'phy:hda3,hda3,w' ] + Note that the vifname is set to 'eth3' for the virtual + interface to this domU. This will cause the dom0 interface to the + server to have a fixed name (eth3) which makes it a lot easier to + deal with in Shorewall and elsewhere. + + Specifying an IP address (ip=206.124.146.177) causes the + vif-route script to create a host route to that IP address on + eth3. + +
+ gateway:~ # ip route ls dev eth3 +206.124.146.177 scope link src 206.124.146.176 +gateway:~ # +
+
+ Excerpt from - /etc/xen/xend-config.sxp:… + /etc/xen/xend-config.sxp:
+ … # It is possible to use the network-bridge script in more complicated # scenarios, such as having two outgoing interfaces, with two bridges, and @@ -247,7 +267,8 @@ disk = [ 'phy:hda3,hda3,w' ] (network-script network-route) (vif-script vif-route) - + +
With both Xen domains up and running, the system looks as shown in diff --git a/docs/XenMyWay.xml b/docs/XenMyWay.xml index bfa1b4c32..b328e879a 100644 --- a/docs/XenMyWay.xml +++ b/docs/XenMyWay.xml @@ -107,10 +107,12 @@ the first section of the companion Xen and Shorewall article. - This configuration uses a bridged Xen Networking configuration; if - you want to see how to accomplish a similar configuration using a Routed - Xen configuration then please see this - article. + The configuration described below uses a + bridged Xen Networking configuration; if you want to see how to accomplish + a similar configuration using a Routed Xen configuration then please see + this article. I am now using the + routed configuration because it results in one fewer domain to + administer. Here is a high-level diagram of our network.