mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Update Xen Consolidation Article
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3506 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a242dfd66a
commit
983a44a18c
@ -15,7 +15,7 @@
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<pubdate>2006-01-18</pubdate>
|
||||
<pubdate>2006-02-19</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>2001-2006</year>
|
||||
@ -435,8 +435,8 @@
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><ulink url="myfiles.htm">My Shorewall Configuration</ulink> (How I
|
||||
personally use Shorewall)</para>
|
||||
<para><ulink url="XenMyWay.html">My Shorewall Configuration</ulink> (How
|
||||
I personally use Shorewall)</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
@ -124,10 +124,12 @@
|
||||
<para>There are three Xen domains. Dom0 (ursa) is used as a file server.
|
||||
One DomU (which is usually Domain 1) is used as a firewall and the other
|
||||
(normally Domain 2) is used as a public Web/FTP/Mail/DNS server. Because
|
||||
Xen only supports three virtual interface per domain, I also use ursa as a
|
||||
Xen only supports three virtual interfaces per DomU, I also use ursa as a
|
||||
gateway for our wireless network. Shorewall runs in both Dom0 and in the
|
||||
firewall domain. I have 1.5GB of RAM so I allocate 512MB to each server
|
||||
and 448MB to the firewall (the remaining 64MB is used by Xen).</para>
|
||||
firewall domain.</para>
|
||||
|
||||
<para>I have 1.5GB of RAM so I allocate 512MB to each server and 448MB to
|
||||
the firewall (the remaining 64MB is used by Xen).</para>
|
||||
|
||||
<para>Here are the relevant configuration files for the three
|
||||
domains:</para>
|
||||
@ -226,7 +228,7 @@ ${INDENT} /sbin/ip link set dev \$bridge up
|
||||
${INDENT} case \$bridge in
|
||||
${INDENT} xenbr2)
|
||||
${INDENT} mac=`ip link show eth1 | grep 'link\/ether' | sed -e 's/.*ether \(..:..:..:..:..:..\).*/\1/'`
|
||||
${INDENT} /sbin/ip link set dev eth1 addr fe:ff:ff:ff:ff:ff
|
||||
${INDENT} [ "$mac" = "fe:ff:ff:ff:ff:ff" ] || /sbin/ip link set dev eth1 addr fe:ff:ff:ff:ff:ff
|
||||
${INDENT} /sbin/ip link set dev eth1 up
|
||||
${INDENT} /sbin/brctl addif xenbr2 eth1
|
||||
${INDENT} ;;
|
||||
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user