X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=b51bf01a0712baec1186b2cafea4901a14b2929d;hp=16229e53afb08052a51cf5e05158dcce1dc19e1c;hb=4ad1e382d6f10acf94ce59d85b80925cee7553a6;hpb=2e159d0139e77041ad82e96bf0abef6aaf64a258 diff --git a/doc/tinc.texi b/doc/tinc.texi index 16229e53..b51bf01a 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1,4 +1,5 @@ \input texinfo @c -*-texinfo-*- +@c $Id: tinc.texi,v 1.8.4.6 2000/11/02 21:34:45 zarq Exp $ @c %**start of header @setfilename tinc.info @settitle tinc Manual @@ -16,6 +17,7 @@ Copyright @copyright{} 1998,199,2000 Ivo Timmermans , Guus Sliepen and Wessel Dankers . +$Id: tinc.texi,v 1.8.4.6 2000/11/02 21:34:45 zarq Exp $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -40,6 +42,8 @@ Copyright @copyright{} 1998,1999,2000 Ivo Timmermans , Guus Sliepen and Wessel Dankers . +$Id: tinc.texi,v 1.8.4.6 2000/11/02 21:34:45 zarq Exp $ + Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. @@ -550,6 +554,14 @@ $ printf 'fe:fd:%02x:%02x:%02x:%02x' 10 1 54 1 fe:fd:0a:01:36:01 @end example +or with perl: + +@example +$ perl -e 'print "fe:fd:", join(":", map @{sprintf "%02x", $_@} split(/\./, $ARGV[0])), "\n";' 10.1.54.1 +fe:fd:0a:01:36:01 +@end example + + @cindex ifconfig To activate the device, you have to assign an IP address to it. To set an IP address @emph{IP} with network mask @emph{mask}, do the following: