Raspberry Pi 3B - Static ip for eth0 with systemd-networkd

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Raspberry Pi 3B - Static ip for eth0 with systemd-networkd

Postby Hog » Fri Dec 16, 2016 12:41 pm

Hello, i'm new to the forum. I've allready asked on the Rpi forums and they sent me here. I've quickly searched the forum but didn't find an answer though my question seems relatively simple.

I am trying to establish a LAN with static IP from my desktop-pc to my Rpi with a relatively fresh install of Archlinux-ARM-4.4.37-1. Scince i had issues with netctl i'm using systemd-networkd. The problem is that i can't assign a static ip address to eth0.

Code: Select all
[alarm@alarmpi network]$ cat /etc/systemd/network/eth0.network


systemd-networkd seems to be working fine for wlan0 with dhcp, but for eth0 i get:

Code: Select all
[alarm@alarmpi ~]$ ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether b8:27:eb:01:fa:35 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::ba27:ebff:fe01:fa35/64 scope link
       valid_lft forever preferred_lft forever

networkctl says it's "degraded".

Code: Select all
[alarm@alarmpi ~]$ networkctl status eth0
● 2: eth0
       Link File: /usr/lib/systemd/network/99-default.link
    Network File: /etc/systemd/network/eth0.network
            Type: ether
           State: degraded (configured)
            Path: platform-3f980000.usb-usb-0:1.1:1.0
          Driver: smsc95xx
          Vendor: Standard Microsystems Corp.
           Model: SMSC9512/9514 Fast Ethernet Adapter
      HW Address: b8:27:eb:01:fa:35 (Raspberry Pi Foundation)
         Address: fe80::ba27:ebff:fe01:fa35

what am i doing wrong? Thank you
Posts: 1
Joined: Fri Dec 16, 2016 12:12 pm

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests