qmi interface mac address
Dan Williams
dcbw at redhat.com
Mon May 1 21:55:51 UTC 2017
On Mon, 2017-05-01 at 22:28 +0200, Fabian Schörghofer wrote:
> I think the MAC is only "visible" on your host and not transmitted.
Correct. The MAC address you see from the host side is completely fake
. It is not transmitted over the air in any way, it is private between
the firmware on the module and the host.
Do not use it for any reason, since depending on the firmware, the
reported MAC can be the same between all modules of a model, or
randomly generated by the kernel.
The *only thing* that goes over the air here are the IP packets
encapsulated within that fake ethernet packet, and the WWAN protocol
framing necessary to transmit those IP packets between the module and
the BTS.
Also note that newer QMI modules (Sierra EM7455) do not support "802.3"
ethernet emulation at all, and do not support DHCP unless your DHCP
client is modified to work without ethernet framing.
If you do use DHCP on the core network to hand out IP addresses, please
use some identifier that makes sense, like the IMEI of the device or
the IMSI if the SIM, which I'm sure the network-side Packet Gateway has
some means of getting. Do not rely on DHCP options sent from the
client, since they can be easily faked, and may not even be present if
the module does not support DHCP.
Dan
> Am 01.05.2017 21:25, schrieb Yury Tsaregorodtsev:
> > Hello,
> > we are using qualcomm modules with QMI support on our private LTE
> > network
> > and need to do DHCP leases based on client qmi MAC.
> > but unfortunately all attempts to change it unsuccessful.
> > Any ideas how to fix it ?
> >
> >
> > Yury
> >
> >
> > _______________________________________________
> > libqmi-devel mailing list
> > libqmi-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
More information about the libqmi-devel
mailing list