NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Change MAC address in 4.0?



Lubomir Sedlacik wrote:
On Sat, Feb 16, 2008 at 06:40:53PM +0000, Steven M. Bellovin wrote:
On Sat, 16 Feb 2008 10:14:29 -0500 Steven Sartorius wrote:
Reading some of the posts on dslreports suggests that some people
have been able to pull an IP from Verizon by cloning the MAC address
of the router.  How can I do this in NetBSD 4.0?  A quick google
turned up nothing useful -- some mention of 'netgraph' in FreeBSD
but nothing for NetBSD.  Doesn't look like the NetBSD version of
'ifconfig' has the 'ether' option....
This was posted a few weeks ago.

[...]

# ifconfig tapN create
# sysctl -w net.link.tap.tapN=f0:0f:f0:0f:f0:0f  # which is wanted MAC address
# ifconfig bridgeN create
# brconfig bridgeN add tapN add epN
# ifconfig tapN up
# ifconfig epN up
# brconfig bridgeN up

for obvious reasons, this doesn't work on wireless networks, making
NetBSD unsuitable for e.g., penetration testing.

Is there a reason we don't allow changing MAC address with ifconfig?

-e.


Home | Main Index | Thread Index | Old Index