Add a graphic version for a remaining ASCII art, in static routes

section.
This commit is contained in:
Marc Fonvieille 2004-07-11 13:34:27 +00:00
parent a764b55ba8
commit 2db28883ee
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21428
3 changed files with 43 additions and 0 deletions

View file

@ -40,6 +40,7 @@ IMAGES_EN = advanced-networking/isdn-bus.eps
IMAGES_EN+= advanced-networking/isdn-twisted-pair.eps
IMAGES_EN+= advanced-networking/natd.eps
IMAGES_EN+= advanced-networking/net-routing.pic
IMAGES_EN+= advanced-networking/static-routes.pic
IMAGES_EN+= install/adduser1.scr
IMAGES_EN+= install/adduser2.scr
IMAGES_EN+= install/adduser3.scr

View file

@ -481,6 +481,12 @@ host2.example.com link#1 UC 0 0
<para>Let us assume we have a network as follows:</para>
<mediaobject>
<imageobject>
<imagedata fileref="advanced-networking/static-routes">
</imageobject>
<textobject>
<literallayout class="monospaced">
INTERNET
| (10.0.0.1/24) Default Router to Internet
@ -505,6 +511,8 @@ host2.example.com link#1 UC 0 0
|
Internal Net 2
</literallayout>
</textobject>
</mediaobject>
<para>In this scenario, <hostid>RouterA</hostid> is our &os;
machine that is acting as a router to the rest of the

View file

@ -0,0 +1,34 @@
.\" $FreeBSD$
.PS
I: box rad 0.10 wid 1 ht 0.55 "Internet" dashed;
" (10.0.0.1/24) Default Router to Internet" at I.s below ljust;
circle rad 0.02 fill 1 at I.s;
line down at I.s;
A: box "RouterA";
" Interface xl0, 10.0.0.10/24" at A.n above ljust;
" Interface xl1, 192.168.1.1/24" at A.s below ljust;
" FreeBSD gateway" at A.e+(0.15,0) ljust;
circle rad 0.02 fill 1 at A.n;
circle rad 0.02 fill 1 at A.s;
line down at A.s;
N1: box ht .04 wid 2.8 fill with .nw at last line.end - (.4,0);
line at N1.se - (.4,0);
B: box "RouterB";
" 192.168.1.2/24" at B.n above ljust;
" 192.168.2.1/24" at B.s below ljust;
circle rad 0.02 fill 1 at B.n;
circle rad 0.02 fill 1 at B.s;
line;
N2: box ht .04 wid 1.8 fill with .nw at last line.end - (.4,0);
N2a: "Internal Net 2" at N2.s + (0,-.15);
N1a: "Internal Net 1" at N1.sw + (.4,-.15);
.PE