0

I created a static IP address for eth0 to use with a USB dongle (connected to my PC) in dhcpcd.conf file.

interface eth0
static ip_address=169.254.2.13/16
static routers=169.254.11.25

Is there anything I'm doing wrong?

YamiYukiSenpai
  • 103
  • 1
  • 5
  • What exactly is your definition of "not working" here, and why would you use static addresses together with DHCPCD instead of one or the other? – RalfFriedl Feb 03 '19 at 08:31
  • I was looking up on how to create static address, and that came up. Apparently, /etc/network/interface is the "old way" – YamiYukiSenpai Feb 03 '19 at 08:56

1 Answers1

1

169.254.2.13/16 is a Link-local address

This is not routable, and makes no sense.

Milliways
  • 59,890
  • 31
  • 101
  • 209