This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: how to give static IP

Part Number: PROCESSOR-SDK-AM335X

I have referred two methods one from : https://e2e.ti.com/support/processors/f/processors-forum/556130/psdkla-3-00-eth1-static-ip-address-config-on-vayu-es-2-0-evm/2035119#2035119

i.e.Stop the dhcp  from /lib/systemd/network/80-container-host0.network and Modify the /lib/systemd/system/systemd-networkd.service file. But I am not able to assign static IP.

Another with method is by adding /etc/network/interfaces with 

iface eth1 inet static
address 10.114.56.10
netmask 255.255.255.0
gateway 10.114.56.1

And then I did  ip link set eth1 down and up. But with this it is assigning with DHCP not static ip.

Please help to assign static IP  in AM335x starter kit.

  • Hi,

    Assuming that the SDK file system and SystemD are being used the /etc/network/interfaces approach will not work.


    Please try this to see if this creates your static ip, create this file in this directory /etc/systemd/network/01-eth-static.network.

    ---- File contents -----
    [Match]
    Name=eth0

    [Network]
    Address=192.168.66.66
    Broadcast=192.168.66.255
    Netmask=255.255.255.0
    Gateway 192.168.66.1

    ----- EOF -----------

    Best Regards,
    Schuyler