In article
<b0459d5c0801170822gcbb69fcp6ee9c70d7c63acdd mail.gmail.com>,
matthew sporleder <msporleder gmail.com> wrote:
>On 1/17/08, comfooc <comfooc gmail.com> wrote:
>> On Jan 17, 2008 4:51 PM, matthew sporleder
<msporleder gmail.com> wrote:
>> >
>> > If I recall correctly, you can setup an
etherip(4) virtual
>> > interface/tunnel to achieve this. You then
set the mac address with a
>> > sysctl(8).
>> >
>>
>> Thanks, that will help...
>> But still i would like to know why there is nothing
in ifconfig like
>> OpenBSD's lladdr or FreeBSD's link.
>
>Well.. I think the discussions came down to points about
how netbsd
>supported actually changing the mac address of a card in
its firmware
>sometimes, so "faking it" on cards that didn't
support such activities
>didn't seem clean. I personally like the idea of using
a virtual
>interface when I'm doing this sort of thing.
The problem was that the ifconf ioctls did not have space to
store the lladdr.
This has changed now, and we can fix it so that for the
cards that support
changing the mac address we can do it directly.
christos
|