Date: Tue, 30 Dec 2008 12:18:12 GMT From: Remko Lodder <remko@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 155453 for review Message-ID: <200812301218.mBUCICx0080997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155453 Change 155453 by remko@remko_nakur on 2008/12/30 12:18:01 Finalize the PPP and SLIP chapter. From the original Handbook (before some new chapters were imported recently), this means the entire handbook is now translated. What remains is a review of the language, which I will try to do in the following day(s). Affected files ... .. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#10 edit Differences ... ==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml#10 (text+ko) ==== @@ -3099,70 +3099,77 @@ <programlisting>device sl</programlisting> - <para>By default, your &os; machine will not forward packets. - If you want your FreeBSD SLIP Server to act as a router, you - will have to edit the <filename>/etc/rc.conf</filename> file and - change the setting of the <literal>gateway_enable</literal> variable - to <option>YES</option>.</para> + <para>Standaard zal uw &os; machine geen pakketten doorsturen. + Als u wilt dat uw &os; SLIP server zich gedraagt als router + zult u het bestand <filename>/etc/rc.conf</filename> moeten + bewerken en de instelling van de + <literal>gateway_enable</literal> variabele moeten aanpassen + naar <option>YES</option>. Dit zorgt ervoor dat de machine + na een herstart zich zal blijven gedragen als router.</para> - <para>You will then need to reboot for the new settings to take - effect.</para> + <para>Om de instellingen meteen actief te maken kunt u het + volgende commando als <username>root</username> + uitvoeren:</para> + + <screen>&prompt.root; sysctl net.inet.ip.forwarding=1</screen> - <para>Please refer to <xref linkend="kernelconfig"> on - Configuring the FreeBSD Kernel for help in - reconfiguring your kernel.</para> + <para>Refereer aub naar <xref linkend="kernelconfig"> over + het configureren van de &os; kernel voor meer hulp over het + herconfigureren van uw kernel.</para> </sect3> <sect3> <title>Sliplogin configuratie</title> - <para>As mentioned earlier, there are three files in the - <filename>/etc/sliphome</filename> directory that are part of - the configuration for <filename>/usr/sbin/sliplogin</filename> - (see &man.sliplogin.8; for the actual manual page for + <para>Zoals eerder vermeld, zijn er drie bestanden in de + <filename>/etc/sliphome</filename> directory die onderdeel + zijn van de configuratie voor + <filename>/usr/sbin/sliplogin</filename> (zie + &man.sliplogin.8; voor de actuele handleiding voor <command>sliplogin</command>): <filename>slip.hosts</filename>, - which defines the SLIP users and their associated IP - addresses; <filename>slip.login</filename>, which usually just - configures the SLIP interface; and (optionally) - <filename>slip.logout</filename>, which undoes - <filename>slip.login</filename>'s effects when the serial - connection is terminated.</para> + welke de SLIP gebruikers definieert en de gekoppelde IP + adressen; <filename>slip.login</filename>, welke meestal de + SLIP interface configureert en (optioneel) + <filename>slip.logout</filename>, welke de effecten van + <filename>slip.login</filename> ongedaan maakt wanneer de + seriële verbinding verbroken wordt.</para> <sect4> <title><filename>slip.hosts</filename> configuratie</title> - <para><filename>/etc/sliphome/slip.hosts</filename> contains - lines which have at least four items separated by - whitespace:</para> + <para><filename>/etc/sliphome/slip.hosts</filename> bevat + regels welke minstens vier onderdelen heeft die + gescheiden worden door een spatie:</para> <itemizedlist> <listitem> - <para>SLIP user's login ID</para> + <para>SLIP gebruikers login ID</para> </listitem> <listitem> - <para>Local address (local to the SLIP server) of the SLIP - link</para> + <para>Lokale adres (lokaal voor de SLIP server) van de + SLIP link</para> </listitem> <listitem> - <para>Remote address of the SLIP link</para> + <para>Remote adres van de SLIP link</para> </listitem> <listitem> - <para>Network mask</para> + <para>Netwerk masker</para> </listitem> </itemizedlist> - <para>The local and remote addresses may be host names - (resolved to IP addresses by - <filename>/etc/hosts</filename> or by the domain name - service, depending on your specifications in the file - <filename>/etc/nsswitch.conf</filename>), and the network mask - may be a name that can be resolved by a lookup into - <filename>/etc/networks</filename>. On a sample system, - <filename>/etc/sliphome/slip.hosts</filename> looks like - this:</para> + <para>De lokale en remote adressen mogen host namen zijn + (Welke naar IP adressen vertaald kunnen worden door + <filename>/etc/hosts</filename> of door de + <acronym>DNS</acronym> diensten, afhankelijk van uw + specificaties in het <filename>/etc/nsswitch.conf</filename>, + het netwerk masker mag een naam zijn dat vertaald kan worden + door een zoek opdracht in <filename>/etc/networks</filename>. + Op een voorbeeld systeem ziet het + <filename>/etc/sliphome/slip.hosts</filename> bestand er als + volgt uit:</para> <programlisting># # login local-addr remote-addr mask opt1 opt2 @@ -3170,29 +3177,30 @@ # Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting> - <para>At the end of the line is one or more of the - options:</para> + <para>Aan het einde van deze regel staan één of + meerdere opties:</para> <itemizedlist> <listitem> - <para><option>normal</option> — no header - compression</para> + <para><option>normal</option> — geen compressie + van de header</para> </listitem> <listitem> - <para><option>compress</option> — compress + <para><option>compress</option> — comprimeer headers</para> </listitem> <listitem> - <para><option>autocomp</option> — compress headers if - the remote end allows it</para> + <para><option>autocomp</option> — comprimeer de + headers als de remote kant dit accepteert</para> </listitem> <listitem> - <para><option>noicmp</option> — disable ICMP packets - (so any <quote>ping</quote> packets will be dropped instead - of using up your bandwidth)</para> + <para><option>noicmp</option> — schakelt ICMP + pakketten uit (dus alle <quote>ping</quote> pakketten + worden geweigerd in plaats van dat deze bandbreedte + verbruiken)</para> </listitem> </itemizedlist> @@ -3200,169 +3208,180 @@ <indexterm><primary>TCP/IP networking</primary></indexterm> - <para>Your choice of local and remote addresses for your SLIP - links depends on whether you are going to dedicate a TCP/IP - subnet or if you are going to use <quote>proxy ARP</quote> on - your SLIP server (it is not <quote>true</quote> proxy ARP, but - that is the terminology used in this section to describe it). - If you are not sure which method to select or how to assign IP - addresses, please refer to the TCP/IP books referenced in - the SLIP Prerequisites (<xref linkend="slips-prereqs">) - and/or consult your IP network manager.</para> + <para>Uw keuze van een lokaal en remote adres voor uw SLIP + verbindingen is afhankelijk van of u een dedicated TCP/IP + subnet gebruikt, of dat u gebruik gaat maken van + <quote>proxy ARP</quote> op uw SLIP server (het is geen + echte <quote>proxy ARP</quote>, maar het is de terminologie + welke in deze sectie gebruikt wordt om eht te beschrijven). + Als u niet zeker bent welke methode u moet kiezen, of hoe u + IP adressen moet toewijzen, refereert u dan naar de TCP/IP + boeken die vermeld worden in de SLIP vereisten + (<xref linkend="slips-prereqs">) en/of vraag uw IP netwerk + manager om hulp.</para> - <para>If you are going to use a separate subnet for your SLIP - clients, you will need to allocate the subnet number out of - your assigned IP network number and assign each of your SLIP - client's IP numbers out of that subnet. Then, you will - probably need to configure a static route to the SLIP - subnet via your SLIP server on your nearest IP router.</para> + <para>Als u gebruik gaat maken van een separaat subnet voor + uw SLIP cliënten, moet u een subnet alloceren uit de + voor u toegewezen IP ruimte, en elke SLIP cliënt een + IP adres geven uit dat subnet. Daarna moet u waarschijnlijk + een statische route configureren voor uw SLIP subnet via + uw SLIP server naar de dichtsbijzijnde IP router.</para> <indexterm><primary>Ethernet</primary></indexterm> - <para>Otherwise, if you will use the <quote>proxy ARP</quote> - method, you will need to assign your SLIP client's IP - addresses out of your SLIP server's Ethernet subnet, and you - will also need to adjust your - <filename>/etc/sliphome/slip.login</filename> and - <filename>/etc/sliphome/slip.logout</filename> scripts to use - &man.arp.8; to manage the proxy-ARP entries in the SLIP - server's ARP table.</para> + <para>In het andere geval moet u gebruik maken van de + <quote>proxy ARP</quote> methode, u moet elke SLIP + cliënt een IP adres geven uit uw SLIP server's + Ethernet subnet, daarnaast moet u het + <filename>/etc/sliphome/slip.login</filename> en het + <filename>/etc/sliphome/slip.logout</filename> script + aanpassen om gebruik te maken van &man.arp.8; om de + <quote>proxy ARP</quote> regels te beheren in de SLIP + servers ARP tabel.</para> </sect4> <sect4> <title><filename>slip.login</filename> configuratie</title> - <para>The typical <filename>/etc/sliphome/slip.login</filename> - file looks like this:</para> + <para>Een typisch <filename>/etc/sliphome/slip.login</filename> + bestand ziet er als volgend uit:</para> <programlisting>#!/bin/sh - # # @(#)slip.login 5.1 (Berkeley) 7/1/90 # -# generic login file for a slip line. sliplogin invokes this with -# the parameters: +# generiek login bestand voor een slip lijn. sliplogin voert deze uit +# met de volgende parameters: # 1 2 3 4 5 6 7-n # slipunit ttyspeed loginname local-addr remote-addr mask opt-args # /sbin/ifconfig sl$1 inet $4 $5 netmask $6</programlisting> - <para>This <filename>slip.login</filename> file merely runs - <command>ifconfig</command> for the appropriate SLIP interface - with the local and remote addresses and network mask of the - SLIP interface.</para> + <para>Dit <filename>slip.login</filename> bestand start + alleen het <command>ifconfig</command> commando voor de + betreffende SLIP interace met het lokale en remote adres + met het netwerkmasker van de SLIP interface.</para> - <para>If you have decided to use the <quote>proxy ARP</quote> - method (instead of using a separate subnet for your SLIP - clients), your <filename>/etc/sliphome/slip.login</filename> - file will need to look something like this:</para> + <para>Als u besloten heeft om gebruik te maken van de + <quote>proxy ARP</quote> methode (in plaats van het + gebruiken van een apart subnet voor uw SLIP cliënten) + moet u het <filename>/etc/sliphome/slip.login</filename> + bestand aanpassen zodat deze er ongeveer als volgend + uitziet:</para> <programlisting>#!/bin/sh - # # @(#)slip.login 5.1 (Berkeley) 7/1/90 # -# generic login file for a slip line. sliplogin invokes this with -# the parameters: +# generiek login bestand voor een slip lijn. sliplogin voert deze uit +# met de volgende parameters: # 1 2 3 4 5 6 7-n # slipunit ttyspeed loginname local-addr remote-addr mask opt-args # /sbin/ifconfig sl$1 inet $4 $5 netmask $6 -# Answer ARP requests for the SLIP client with our Ethernet addr +# Beantwoord ARP Verzoeken voor de SLIP cliënt met ons Ethernet +# adres /usr/sbin/arp -s $5 00:11:22:33:44:55 pub</programlisting> - <para>The additional line in this - <filename>slip.login</filename>, <command>arp -s - $5 00:11:22:33:44:55 pub</command>, creates an ARP entry - in the SLIP server's ARP table. This ARP entry causes the - SLIP server to respond with the SLIP server's Ethernet MAC - address whenever another IP node on the Ethernet asks to - speak to the SLIP client's IP address.</para> + <para>De extra regel in het <filename>slip.login</filename> + bestand, + <command>arp -s $5 00:11:22:33:44:55 pub</command>, + creeërt een ARP regel in de SLIP server's ARP tabel. + Deze ARP regel zorgt ervoor dat de SLIP server antwoord + geeft met het Ethernet MAC adres van de SLIP server wanneer + een andere IP node op het Ethernet vraagt om te communiceren + met het IP adres van de SLIP cliënt.</para> <indexterm> <primary>Ethernet</primary> <secondary>MAC address</secondary> </indexterm> - <para>When using the example above, be sure to replace the - Ethernet MAC address (<hostid - role="mac">00:11:22:33:44:55</hostid>) with the MAC address of - your system's Ethernet card, or your <quote>proxy ARP</quote> - will definitely not work! You can discover your SLIP server's - Ethernet MAC address by looking at the results of running - <command>netstat -i</command>; the second line of the output - should look something like:</para> + <para>Wanneer u gebruik maakt van het voorbeeld hierboven, + wees u er dan zeker van dat u het Ethernet MAC Adres + (<hostid role="mac">00:11:22:33:44:55</hostid>) veranderd + in het MAC adres van uw systeem's Ethernet kaart, anders + werkt uw <quote>proxy ARP</quote> zeker niet! U kunt het + Ethernet MAC adres van uw SLIP Server achterhalen door het + bekijken van het resultaat van <command>netstat -i</command>; + de tweede regel met resultaten moet er ongeveer als + volgend uitzien:</para> <screen>ed0 1500 <Link>0.2.c1.28.5f.4a 191923 0 129457 0 116</screen> - <para>This indicates that this particular system's Ethernet MAC - address is <hostid role="mac">00:02:c1:28:5f:4a</hostid> - — the periods in the Ethernet MAC address given by - <command>netstat -i</command> must be changed to colons and - leading zeros should be added to each single-digit hexadecimal - number to convert the address into the form that &man.arp.8; - desires; see the manual page on &man.arp.8; for complete - information on usage.</para> + <para>Dit geeft aan dat het specifieke Ethernet MAC adres van + het systeem is <hostid role="mac">00:02:c1:28:5f:4a</hostid> + — de punten in het Ethernet MAC adres welke gegeven + wordt door <command>netstat -i</command> moet worden veranderd + in dubbele punten (<quote>:</quote>) en voorloop nullen + moeten worden toegevoegd aan elk enkel hexadecimaal getal + om het adres te converteren naar de vorm die &man.arp.8; + wenst; zie de handleiding van &man.arp.8; voor een compleet + overzicht van het gebruik hiervan.</para> <note> - <para>When you create - <filename>/etc/sliphome/slip.login</filename> and - <filename>/etc/sliphome/slip.logout</filename>, the - <quote>execute</quote> bit (i.e., <command>chmod 755 + <para>Wanneer u + <filename>/etc/sliphome/slip.login</filename> en + <filename>/etc/sliphome/slip.logout</filename>, aanmaakt + moet het <quote>uitvoerbare</quote> bitje gezet zijn + (b.v. <command>chmod 755 /etc/sliphome/slip.login /etc/sliphome/slip.logout</command>) - must be set, or <command>sliplogin</command> will be unable - to execute it.</para> + anders is <command>sliplogin</command> niet in staat om + deze uit te voeren.</para> </note> </sect4> <sect4> <title><filename>slip.logout</filename> configuratie</title> - <para><filename>/etc/sliphome/slip.logout</filename> is not - strictly needed (unless you are implementing <quote>proxy - ARP</quote>), but if you decide to create it, this is an - example of a basic - <filename>slip.logout</filename> script:</para> + <para><filename>/etc/sliphome/slip.logout</filename> is niet + strict noodzakelijk (tenzij u <quote>proxy ARP</quote> + implementeert), maar als beslist om deze aan te maken is + dit een voorbeeld basis <filename>slip.logout</filename> + script:</para> <programlisting>#!/bin/sh - # # slip.logout # -# logout file for a slip line. sliplogin invokes this with -# the parameters: +# uitlog bestand voor een slip regel. sliplogin voert deze uit met de +# parameters: # 1 2 3 4 5 6 7-n # slipunit ttyspeed loginname local-addr remote-addr mask opt-args # /sbin/ifconfig sl$1 down</programlisting> - <para>If you are using <quote>proxy ARP</quote>, you will want to - have <filename>/etc/sliphome/slip.logout</filename> remove the - ARP entry for the SLIP client:</para> + <para>Als u gebruik maakt van <quote>proxy ARP</quote> wilt u + waarschijnlijk dat het + <filename>/etc/sliphome/slip.logout</filename> bestand de + ARP regel weghaalt voor de SLIP cliënt:</para> <programlisting>#!/bin/sh - # # @(#)slip.logout # -# logout file for a slip line. sliplogin invokes this with -# the parameters: +# uitlog bestand voor een slip regel. sliplogin voert deze uit met de +# parameters: # 1 2 3 4 5 6 7-n # slipunit ttyspeed loginname local-addr remote-addr mask opt-args # /sbin/ifconfig sl$1 down -# Quit answering ARP requests for the SLIP client +# Stop met het beantwoorden van ARP verzoeken voor de SLIP cliënt /usr/sbin/arp -d $5</programlisting> - <para>The <command>arp -d $5</command> removes the ARP entry - that the <quote>proxy ARP</quote> - <filename>slip.login</filename> added when the SLIP client - logged in.</para> + <para>Het <command>arp -d $5</command> verwijderd de ARP + regel, die <quote>proxy ARP</quote> heeft toegevoegd toen + de SLIP cliënt inlogde.</para> - <para>It bears repeating: make sure - <filename>/etc/sliphome/slip.logout</filename> has the execute - bit set after you create it (i.e., <command>chmod 755 - /etc/sliphome/slip.logout</command>).</para> + <para>Het is belangrijk om dit te herhalen: zorg ervoor + <filename>/etc/sliphome/slip.logout</filename> het + uitvoerbare bitje heeft gezet nadat deze gecreeërd + is (b.v. + <command>chmod 755 /etc/sliphome/slip.logout</command>).</para> </sect4> </sect3> @@ -3374,11 +3393,12 @@ <secondary>routing</secondary> </indexterm> - <para>If you are not using the <quote>proxy ARP</quote> method for - routing packets between your SLIP clients and the rest of your - network (and perhaps the Internet), you will probably - have to add static routes to your closest default router(s) to - route your SLIP clients subnet via your SLIP server.</para> + <para>Als u geen gebruik maakt van de <quote>proxy ARP</quote> + voor het routeren van pakketten tussen uw SLIP cliënts + en de rest van uw netwerk (en wellicht het internet), moeten + er misschien een aantal statische routeringen naar de eerste + bereikbare standaard router ingesteld worden om uw SLIP + cliënts te routeren via uw SLIP server.</para> <sect4> <title>Statische routeringen</title>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812301218.mBUCICx0080997>