On Thu, Mar 24, 2011 at 9:45 AM, David Barton <[email protected]>wrote:

> When I run tunnel.py and configure the grX interface IP address I
> noticed using ifconfig that a seemingly random MAC address is assigned to
> the gr interface. Does ayone know if there is any logic to how the address
> is created?
>
> Thanks,
> Dave
>


tunnel.py uses the TUN/TAP interface. From my understanding, the kernel
autogenerates a MAC address when you create a new tun/tap device. I don't
know the actual internals of how it is generated though.

You should be able to change the address using the SIOCSIFHWADDR option for
ioctl(), though I haven't tried this myself on the device.

Tom
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to