Index: ifconfig.8 =================================================================== RCS file: /home/ncvs/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 16:40:53 @@ -45,6 +45,7 @@ .Op Ar address_family .Oo .Ar address +.Op Ar /prefixlength .Op Ar dest_address .Oc .Op Ar parameters @@ -87,6 +88,19 @@ .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 do things like +.Pp +.Bd -ragged -compact +.Nm +.Bq inet|inet6 +.Aq interface +.Aq address +/ +.Aq prefixlength +.Ed +.Pp .\" For the Xerox Network Systems(tm) family, .\" addresses are .\" .Ar net:a.b.c.d.e.f , @@ -325,6 +339,9 @@ 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 address for more information. .It Cm prefixlen Ar len (Inet6 only) Specify that