Hi All,
I''m using a BPI M2 Zero, where a 100 MBit ethernet Interface is implemented on the board. Since I'm using DHCP for this interface, I found that the MAC Address of this eth0 interface changes on every boot. The MAC Address of the wlan0 interface is permanent and don't changes during boots.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Di 30. Jun xx:xx:xx CEST 2020
Debian GNU/Linux 10 (buster)
5.4.45-sunxi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17:42:11 up 25 min, 2 users, load average: 0,00, 0,00, 0,05 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 8a:aa:ea:69:67:50 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:46:04 up 0 min, 2 users, load average: 2,48, 0,70, 0,24 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 5e:af:c0:93:75:72 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:47:07 up 0 min, 2 users, load average: 1,92, 0,44, 0,14 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 56:e7:62:af:35:55 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:48:23 up 0 min, 2 users, load average: 1,69, 0,39, 0,13 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 96:57:7c:ed:85:e0 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
Is there a way to set the MAC address of the eth0 interface to a fix value ?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
wollik
Hi All,
I''m using a BPI M2 Zero, where a 100 MBit ethernet Interface is implemented on the board. Since I'm using DHCP for this interface, I found that the MAC Address of this eth0 interface changes on every boot. The MAC Address of the wlan0 interface is permanent and don't changes during boots.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Di 30. Jun xx:xx:xx CEST 2020
Debian GNU/Linux 10 (buster)
5.4.45-sunxi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17:42:11 up 25 min, 2 users, load average: 0,00, 0,00, 0,05
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 8a:aa:ea:69:67:50 txqueuelen 1000 (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:46:04 up 0 min, 2 users, load average: 2,48, 0,70, 0,24
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 5e:af:c0:93:75:72 txqueuelen 1000 (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:47:07 up 0 min, 2 users, load average: 1,92, 0,44, 0,14
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 56:e7:62:af:35:55 txqueuelen 1000 (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
17:48:23 up 0 min, 2 users, load average: 1,69, 0,39, 0,13
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 96:57:7c:ed:85:e0 txqueuelen 1000 (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet)
Is there a way to set the MAC address of the eth0 interface to a fix value ?
Regards
WolliK
Link to comment
Share on other sites
27 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.