Date: Tue, 10 Jun 1997 15:51:28 +0200 (MET DST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org (FreeBSD questions) Cc: lahrg@atlanta.ds.adp.com Subject: Re: Route Message-ID: <199706101351.PAA00316@CoDe.hu> In-Reply-To: <9706092041.AA28126@C108606> from Gary Lahr at "Jun 9, 97 04:42:25 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> How do I add my default gateway to the route table? > > I looked at the man page and I'm not seeing it clearly (If you know what I > mean, my heads a little foggy). route add default ``ip_of_your_gateway'' man 8 route Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706101351.PAA00316>