diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-02 21:16:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-02 21:16:25 +0000 |
commit | 40d137d475c45d4ee163af9ba08de492a1c3522d (patch) | |
tree | bec42ee1706463024e3106d6ce67fd2cdb64ea25 /sbin/ifconfig/ifconfig.8 | |
parent | 5d64cae3dddd201039a5cc78631fd30d111ce2a4 (diff) |
randomized mac addresses, avaliable via 'ifconfig $if lladdr random'.
Note that not all device drivers do the work of the SIOCSIFLLADDR ioctl
correctly, but this is just more reason to get them fixed.
ok beck kettenis
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index e3195a2327c..52efd5a2038 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.192 2009/11/23 19:58:10 jmc Exp $ +.\" $OpenBSD: ifconfig.8,v 1.193 2010/04/02 21:16:24 deraadt Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -31,7 +31,7 @@ .\" .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 .\" -.Dd $Mdocdate: November 23 2009 $ +.Dd $Mdocdate: April 2 2010 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -286,9 +286,10 @@ for some Ethernet cards. Refer to the man page for the specific driver for more information. .It Fl link[0-2] Disable special processing at the link level with the specified interface. -.It Cm lladdr Ar etheraddr +.It Cm lladdr Ar etheraddr\*(Ba Ns Cm random Change the link layer address (MAC address) of the interface. -This should be specified as six colon-separated hex values. +This should be specified as six colon-separated hex values, or can +be chosen randomly. .It Cm media Op Ar type Set the media type of the interface to .Ar type . |