Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2001 21:47:21 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c
Message-ID:  <20010505214721.A7747@skriver.dk>
In-Reply-To: <20010505180855.A2DD13E28@bazooka.unixfreak.org>; from dima@unixfreak.org on Sat, May 05, 2001 at 11:08:55AM -0700
References:  <20010505184509.A5508@skriver.dk> <20010505180855.A2DD13E28@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 05, 2001 at 11:08:55AM -0700, Dima Dorfman wrote:
> Jesper Skriver <jesper@FreeBSD.org> writes:
> > On Sat, May 05, 2001 at 11:03:14AM +0200, Jesper Skriver wrote:
> > > Yes, it get something together, but man pages is woodoo to me, any good
> > > guides ?
> > 
> > If someone could have a look at the diff I've made at 
> > 
> > http://people.FreeBSD.org/~jesper/ifconfig.8.diff
> 
> Looks pretty good.  I've cleaned up the markup and English a little,
> and fixed your spacing problem (description snipped).  Diff attached.

Thanks a lot

/Jesper

> Hope this helps,
> 
> 					Dima Dorfman
> 					dima@unixfreak.org
> 
> 
> Index: ifconfig.8
> ===================================================================
> RCS file: /st/src/FreeBSD/src/sbin/ifconfig/ifconfig.8,v
> retrieving revision 1.35
> diff -u -r1.35 ifconfig.8
> --- ifconfig.8	2001/02/01 16:32:06	1.35
> +++ ifconfig.8	2001/05/05 18:07:06
> @@ -44,7 +44,7 @@
>  .Ar interface
>  .Op Ar address_family
>  .Oo
> -.Ar address
> +.Ar address Ns Op Cm / Ns Ar prefixlength
>  .Op Ar dest_address
>  .Oc
>  .Op Ar parameters
> @@ -87,6 +87,11 @@
>  .Tn DARPA
>  Internet address expressed in the Internet standard
>  .Dq dot notation .
> +.Pp
> +It is also possible to use the CIDR notation (also known as the
> +slash notation) to include the netmask.
> +That is, one can specify an address like
> +.Dl 192.168.0.1/16
>  .\" For the Xerox Network Systems(tm) family,
>  .\" addresses are 
>  .\" .Ar net:a.b.c.d.e.f ,
> @@ -325,6 +330,11 @@
>  The mask should contain at least the standard network portion,
>  and the subnet field should be contiguous with the network
>  portion.
> +.Pp
> +The netmask can also be specified in CIDR notation after the address.
> +See the
> +.Ar address
> +option above for more information.
>  .It Cm prefixlen Ar len
>  (Inet6 only)
>  Specify that
> 

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager   @ AS3292 (Tele Danmark DataNetworks)
Private: FreeBSD committer @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010505214721.A7747>