Skip to content

Commit

Permalink
Add random MAC address
Browse files Browse the repository at this point in the history
  • Loading branch information
horia committed Dec 4, 2017
1 parent 79fc1e4 commit 609da8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/etc/hostname.athn0
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
-inet
-inet6
lladdr random
inet 10.0.0.1 255.255.255.0 10.0.0.255
inet6 2001:470:b35c:cafe::ace:face 64
inet6 alias fd80:1fe9:fcee:cafe::ace:face 64
media autoselect
mode 11g
mediaopt hostap
nwid "OpenBSD AP"
wpakey "secret"
wpaprotos wpa2
media autoselect
mediaopt hostap
mode 11g
chan 1
#-powersave
up
3 changes: 2 additions & 1 deletion src/etc/hostname.vether0
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-inet
-inet6
lladdr fe:e1:ba:d0:91:13
# Thwart the virtual interface from taking the MAC address of the first physical interface
lladdr random
inet 10.10.10.10 255.255.255.0 10.10.10.255
inet6 2001:470:b35c:1337::ace:face 64
inet6 alias fd80:1fe9:fcee:1337::ace:face 64

0 comments on commit 609da8c

Please sign in to comment.