mirror of https://github.com/tLDP/LDP
111 lines
6.0 KiB
Plaintext
111 lines
6.0 KiB
Plaintext
<appendix id="X-087-2-appendix.brewery"><title>Example Network:<?lb>The Virtual Brewery</title>
|
|
|
|
<indexterm><primary>Virtual Brewery</primary></indexterm>
|
|
<indexterm><primary>Brewery, Virtual</primary></indexterm>
|
|
|
|
<para>
|
|
Throughout this book we've used the following example that is a little less
|
|
complex than Groucho Marx University and may be closer to the tasks you will
|
|
actually encounter.
|
|
</para>
|
|
|
|
<para>
|
|
The Virtual Brewery is a small company that brews, as the name suggests,
|
|
virtual beer. To manage their business more efficiently, the virtual brewers
|
|
want to network their computers, which all happen to be PCs running the
|
|
brightest and shiniest production Linux kernel. <xref linkend = "x-087-2-appendix.brewery.diagram"> shows the network configuration.
|
|
</para>
|
|
|
|
<para>
|
|
On the same floor, just across the hall, there's the Virtual Winery, which
|
|
works closely with the brewery. The vintners run an Ethernet of their own.
|
|
Quite naturally, the two companies want to link their networks once they are
|
|
operational. As a first step, they want to set up a gateway host that
|
|
forwards datagrams between the two subnets. Later, they also want to have a
|
|
UUCP link to the outside world, through which they exchange mail and news. In
|
|
the long run, they also want to set up PPP connections to connect to offsite
|
|
locations and to the Internet.
|
|
</para>
|
|
|
|
<para>
|
|
The Virtual Brewery and the Virtual Winery each have a class C subnet of
|
|
the Brewery's class B network, and gateway to each other via the host
|
|
<systemitem role="sitename">vlager</systemitem>, which also supports the
|
|
UUCP connection. <xref linkend = "x-087-2-appendix.brewery.subsidiary"> shows the configuration.
|
|
</para>
|
|
|
|
<figure id="X-087-2-appendix.brewery.diagram">
|
|
<title>The Virtual Brewery and Virtual Winery subnets</title>
|
|
<!-- <graphic fileref="lag2_aa01.jpg"></graphic> -->
|
|
<!-- 2016-01-28; MAB, TLDP -->
|
|
<mediaobject>
|
|
<imageobject>
|
|
<imagedata fileref="images/lag2_aa01.jpg" format="jpg">
|
|
</imageobject>
|
|
<imageobject>
|
|
<imagedata fileref="images/lag2_aa01.eps" format="eps">
|
|
</imageobject>
|
|
</mediaobject>
|
|
</figure>
|
|
|
|
<figure id="X-087-2-appendix.brewery.subsidiary">
|
|
<title>The Virtual Brewery Network</title>
|
|
<!-- <graphic fileref="lag2_aa02.jpg"></graphic> -->
|
|
<!-- 2016-01-28; MAB, TLDP -->
|
|
<mediaobject>
|
|
<imageobject>
|
|
<imagedata fileref="images/lag2_aa02.jpg" format="jpg">
|
|
</imageobject>
|
|
<imageobject>
|
|
<imagedata fileref="images/lag2_aa02.eps" format="eps">
|
|
</imageobject>
|
|
</mediaobject>
|
|
</figure>
|
|
|
|
<sect1><title>Connecting the Virtual Subsidiary Network</title>
|
|
<para>
|
|
The Virtual Brewery grows and opens a branch in another city. The
|
|
subsidiary runs an Ethernet of its own using the IP network number
|
|
<systemitem role="sitename">172.16.3.0</systemitem>, which is subnet 3 of the
|
|
Brewery's class B network. The host
|
|
<systemitem role="sitename">vlager</systemitem> acts as the gateway for the
|
|
Brewery network and will support the PPP link; its peer at the new branch is
|
|
called <systemitem role="sitename">vbourbon</systemitem> and has an IP address
|
|
of <systemitem role="sitename">172.16.3.1</systemitem>. This network is
|
|
illustrated in <xref linkend="X-087-2-appendix.brewery.subsidiary">.
|
|
</para>
|
|
|
|
<para>
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
</para>
|
|
|
|
<para>
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
</para>
|
|
|
|
<para>
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
                                 
|
|
</para>
|
|
</sect1>
|
|
|
|
</appendix>
|
|
|