Home Forums Software discussion OS – ubuntu Each network interface has the same MAC address

This topic contains 13 replies, has 6 voices, and was last updated by  anubisg1 6 months, 1 week ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1662

    adonesp
    Participant

    Why is Espressobin having the same mac address for all interfaces (lan0, lan1, eth0 and wan) ?
    Here is my ifconfig -a | grep HWaddr:

    bond0 Link encap:Ethernet HWaddr 2a:03:ca:d9:b1:e4
    br0 Link encap:Ethernet HWaddr e6:26:e1:a5:ad:72
    eth0 Link encap:Ethernet HWaddr f0:ad:4e:05:34:b8
    lan0 Link encap:Ethernet HWaddr f0:ad:4e:05:34:b8
    lan1 Link encap:Ethernet HWaddr f0:ad:4e:05:34:b8
    wan Link encap:Ethernet HWaddr f0:ad:4e:05:34:b8

    #1663

    armbian
    Participant

    Did you upgrade u-boot to the latest? Which OS image do you use? Which year kernel was made?

    #1665

    adamierymenko
    Participant

    We are seeing the same thing as well as something else related to this: we ordered a bunch of boards, and multiple boards come up with the same MAC addresses!

    One MAC address we see on three different boards is “00:50:43:01:02:03” for eth0, which is then copied to lan0, lan1, and wan. Other boards see f0:ad MAC addresses similar to this one. The 00:50 MAC is weird since this is not the MAC on the sticker.

    We’ve worked around this by randomizing the eth0, lan#, and wan port MAC addresses, but then we have to set eth0 into promiscuous mode for the sub-ports to work. That is also weird.

    #1674

    adonesp
    Participant

    I have not updated u-boot, afraid I might break the board as this is the only board I have. I’m using the kernel provided by Espressobin TechSpec.

    #1675

    adonesp
    Participant

    Ubuntu 16.04
    Kernel version 4.4.8

    #1676

    adonesp
    Participant

    I successfully updated uboot using the one provided in TechSpec U-Boot 2017.03-armada-17.10.1-gaee49fc (Jan 29 2018 – 18:21:49 +0800)
    I’m now using armbian Xenial with kernel 4.14.23-mvebu64

    root@portal:~# ifconfig | grep HWaddr
    br0 Link encap:Ethernet HWaddr d2:2e:99:e7:e7:28
    eth0 Link encap:Ethernet HWaddr f0:ad:4e:03:64:7f
    lan0 Link encap:Ethernet HWaddr f0:ad:4e:03:64:7f
    lan1 Link encap:Ethernet HWaddr f0:ad:4e:03:64:7f
    wan Link encap:Ethernet HWaddr f0:ad:4e:03:64:7f

    It’s ok now since I only need the two interfaces br0 and wan to be of different MAC.

    There was another weird problem I encountered though. The wan interface was bridged to br0. When I plugged the network interface to wan interface, the IP address was assigned to br0. I don’t know if this by design or what. To fix this, I replaced the /etc/systemd/system/nework with the contents from archlinux ARM source since it always worked fine for my needs. The setup from archlinux’s network configuration is br0 is a bridge interface for lan0 and lan1 and wan is the wan interface as expected.

    #1680

    adamierymenko
    Participant

    Tried this and it didn’t fix the issue for us. It also made PCI-e WiFi cards stop working. Going back to original image and we’re going to e-mail support.

    #1681

    adamierymenko
    Participant

    (deleted)

    #2098

    Molvizar
    Participant

    I have the same problem. I have 2 boards and both of them have the same Mac address 00:51:xx:xx:xx:xx

    How can I solve that?

    Thanks in advance.

    #2102

    armbian
    Participant

    If you use Armbian, you need to alter /boot/armbianEnv.txt

    eth1addr=00:50:43:25:fb:84
    eth2addr=00:50:43:84:25:2f
    eth3addr=00:50:43:0d:19:18

    or u-boot environment.

    #3028

    DougLorenz
    Participant

    I have the same problem. No matter what I set the ethaddr variables in either u-boot or /boot/armbianEnv.txt, I keep getting my mac addresses all assigned as f0:ad:4e:03:64:7f.

    Anything?

    #3030

    armbian
    Participant

    Please provide all possible data about your setup, u-boot version & console logs … and put it here: https://forum.armbian.com/forum/32-armada-a388-a3700/

    #3038

    DougLorenz
    Participant

    Ok, I’ll post over there once I get my board up and running again. It’s bricked at the moment…

    #7408

    anubisg1
    Participant
Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop