Add graphical figures for the network diagrams in the ISDN section.

Submitted by:	G. Adam Stanislav
This commit is contained in:
Murray Stokely 2001-06-24 03:06:38 +00:00
parent 78c6c53ba0
commit 506d3469cb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9685
5 changed files with 419 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.45 2001/06/21 17:20:55 murray Exp $
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.46 2001/06/23 22:46:15 murray Exp $
-->
<chapter id="advanced-networking">
@ -1267,8 +1267,13 @@ hostname myclient.mydomain</programlisting>
<para>Network is 10 Base T Ethernet. Connect router to network cable
with AUI/10BT transceiver, if necessary.</para>
<!-- This should be a graphic -->
<programlisting>---Sun workstation
<mediaobject>
<imageobject>
<imagedata fileref="advanced-networking/isdn-bus">
</imageobject>
<textobject>
<literallayout class="monospaced">---Sun workstation
|
---FreeBSD box
|
@ -1276,7 +1281,13 @@ hostname myclient.mydomain</programlisting>
|
Stand-alone router
|
ISDN BRI line</programlisting>
ISDN BRI line</literallayout>
</textobject>
<textobject>
<phrase>10 Base T Ethernet</phrase>
</textobject>
</mediaobject>
<para>If your home/branch office is only one computer you can use a
twisted pair crossover cable to connect to the stand-alone router
@ -1288,8 +1299,13 @@ ISDN BRI line</programlisting>
<para>Network is Twisted Pair Ethernet.</para>
<!-- This should be a graphic -->
<programlisting> -------Novell Server
<mediaobject>
<imageobject>
<imagedata fileref="advanced-networking/isdn-twisted-pair">
</imageobject>
<textobject>
<literallayout class="monospaced"> -------Novell Server
| H |
| ---Sun
| |
@ -1299,7 +1315,13 @@ ISDN BRI line</programlisting>
| B |
|___---Stand-alone router
|
ISDN BRI line</programlisting>
ISDN BRI line</literallayout>
</textobject>
<textobject>
<phrase>ISDN Network Diagram</phrase>
</textobject>
</mediaobject>
</example>
<para>One large advantage of most routers/bridges is that they allow you
@ -2944,7 +2966,7 @@ dhcp_flags=""</programlisting>
<sect3>
<title><filename>/etc/namedb/named.conf</filename></title>
<programlisting>// $FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.45 2001/06/21 17:20:55 murray Exp $
<programlisting>// $FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.46 2001/06/23 22:46:15 murray Exp $
//
// Refer to the named(8) man page for details. If you are ever going
// to setup a primary server, make sure you've understood the hairy

View file

@ -0,0 +1,147 @@
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 99 -130 355 100
%%Creator: G. Adam Stanislav
%%EndComments
%%BeginProlog
%%EndProlog
%%BeginSetup
/t {
rlineto
-5 0 rlineto
0 -7 rlineto
-6 0 rlineto
0 20 rlineto
6 0 rlineto
0 -7 rlineto
5 0 rlineto
} bind def
/ldent {
0 5 rlineto
-7 0 rlineto
0 -5 rlineto
} bind def
/rdent {
0 5 rlineto
11 0 rlineto
0 -5 rlineto
} bind def
/router {
moveto
0 12 t
0 12 rlineto
70 0 rlineto
0 -30 rlineto
-52.5 0 rlineto
ldent
closepath
2 28 rmoveto
0 -26 rlineto
6.5 0 rlineto
rdent
48.5 0 rlineto
0 26 rlineto
closepath
fill
} bind def
/box {
moveto
0 17 t
0 17 rlineto
100 0 rlineto
0 -40 rlineto
closepath
2 38 rmoveto
0 -36 rlineto
96 0 rlineto
0 36 rlineto
closepath
fill
} bind def
/plug {
moveto
0 7 rlineto
6 0 rlineto
0 -7 rlineto
closepath
fill
} bind def
/internet {
moveto
0 210 rlineto
110 0 rlineto
0 -210 rlineto
closepath
gsave
5 7 div setcolor
fill
grestore
stroke
} bind def
%%EndSetup
% draw the coax cable
3 7 div setcolor
114 -94 moveto
-4 0 rlineto
0 164 rlineto
4 0 rlineto
closepath
fill
% draw some terminating resistors
newpath
112 -110 2 0 360 arc fill
newpath
112 85 2 0 360 arc fill
0 setcolor
120 60 router
131 57.5 plug
120 0 box
120 -60 box
120 -120 box
gsave
[5 3] 0 setdash
235 -120 internet
grestore
% Connect router to the Internet
232 40.5 plug
133 58 moveto
0 -15 rlineto
102 0 rlineto
0 2 rlineto
-100 0 rlineto
0 13 rlineto
closepath
fill
/Helvetica-bold findfont dup 10 scalefont setfont
140 74 moveto (Router) show
140 -42 moveto (Windows 95) show
130.5 -102 moveto (Sun Workstation) show
138 18 moveto (FreeBSD Box) show
161 47.5 moveto (ISDN BRI Line) show
25 scalefont setfont
265 51 moveto (The) show
245 27 moveto (Internet) show
1 setcolor
264 53 moveto (The) show
244 29 moveto (Internet) show
%%Trailer
showpage
%%EOF

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -0,0 +1,242 @@
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -10 -70 355 100
%%Creator: G. Adam Stanislav
%%EndComments
%%BeginProlog
%%EndProlog
%%BeginSetup
/ldent {
0 5 rlineto
-7 0 rlineto
0 -5 rlineto
} bind def
/uldent {
0 -5 rlineto
7 0 rlineto
0 5 rlineto
} bind def
/rdent {
0 5 rlineto
11 0 rlineto
0 -5 rlineto
} bind def
/urdent {
0 -5 rlineto
-11 0 rlineto
0 5 rlineto
} bind def
/hub {
moveto
0 30 rlineto
84 0 rlineto
0 -30 rlineto
-10.5 0 rlineto
ldent
-7 0 rlineto
ldent
-7 0 rlineto
ldent
-7 0 rlineto
ldent
-7 0 rlineto
ldent
closepath
2 28 rmoveto
0 -26 rlineto
6.5 0 rlineto
rdent
3 0 rlineto
rdent
3 0 rlineto
rdent
3 0 rlineto
rdent
3 0 rlineto
rdent
6.5 0 rlineto
0 26 rlineto
closepath
fill
} bind def
/router {
moveto
0 30 rlineto
70 0 rlineto
0 -30 rlineto
-10.5 0 rlineto
ldent
-35 0 rlineto
ldent
closepath
2 28 rmoveto
0 -26 rlineto
6.5 0 rlineto
rdent
31 0 rlineto
rdent
6.5 0 rlineto
0 26 rlineto
closepath
fill
} bind def
/box {
moveto
0 40 rlineto
10.5 0 rlineto
uldent
82.5 0 rlineto
0 -40 rlineto
closepath
2 38 rmoveto
0 -36 rlineto
96 0 rlineto
0 36 rlineto
-78.5 0 rlineto
urdent
closepath
fill
} bind def
/plug {
moveto
0 7 rlineto
6 0 rlineto
0 -7 rlineto
closepath
fill
} bind def
/internet {
moveto
0 90 rlineto
110 0 rlineto
0 -90 rlineto
closepath
gsave
5 7 div setcolor
fill
grestore
stroke
} bind def
%%EndSetup
0 60 hub
11 57.5 plug
25 57.5 plug
39 57.5 plug
53 57.5 plug
67 57.5 plug
100 60 router
111 57.5 plug
153 57.5 plug
0 -60 box
11 -24.5 plug
% Connect box 1 with hub
13 -20 moveto
0 78 rlineto
2 0 rlineto
0 -78 rlineto
closepath
fill
120 0 box
% Connect box 2 with hub
131 35.5 plug
133 40 moveto
0 6 rlineto
-78 0 rlineto
0 12 rlineto
2 0 rlineto
0 -10 rlineto
78 0 rlineto
0 -8 rlineto
closepath
fill
120 -60 box
131 -24.5 plug
% Connect with hub
133 -20 moveto
0 6 rlineto
-106 0 rlineto
0 72 rlineto
2 0 rlineto
0 -70 rlineto
106 0 rlineto
0 -8 rlineto
closepath
fill
240 -60 box
251 -24.5 plug
% Connect with hub
253 -20 moveto
0 14 rlineto
-212 0 rlineto
0 68 rlineto
2 0 rlineto
0 -66 rlineto
212 0 rlineto
0 -16 rlineto
closepath
fill
% Connect hub with router
69 58 moveto
0 -6 rlineto
46 0 rlineto
0 6 rlineto
-2 0 rlineto
0 -4 rlineto
-42 0 rlineto
0 4 rlineto
closepath
fill
gsave
[5 3] 0 setdash
235 0 internet
grestore
% Connect router to the Internet
232 40.5 plug
155 58 moveto
0 -15 rlineto
80 0 rlineto
0 2 rlineto
-78 0 rlineto
0 13 rlineto
closepath
fill
/Helvetica-bold findfont dup 10 scalefont setfont
32 74 moveto (Hub) show
120 74 moveto (Router) show
17 -42 moveto (Novell Server) show
140 -42 moveto (Windows 95) show
250.5 -42 moveto (Sun Workstation) show
138 18 moveto (FreeBSD Box) show
161 47.5 moveto (ISDN BRI Line) show
25 scalefont setfont
265 51 moveto (The) show
245 27 moveto (Internet) show
1 setcolor
264 53 moveto (The) show
244 29 moveto (Internet) show
%%Trailer
showpage
%%EOF

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB