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?
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?
169.254.2.13/16
is a Link-local address
This is not routable, and makes no sense.
/etc/interfaces
method?
– YamiYukiSenpai
Feb 03 '19 at 00:40
/etc/network/interface
, even though it's the "old way"
– YamiYukiSenpai
Feb 03 '19 at 08:57
/etc/network/interfaces
then you should notice the second line in it: Please note that this file is written to be used with dhcpcd and take care of Differences between /etc/dhcpcd.conf and /etc/network/interfaces?.
– Ingo
Feb 03 '19 at 12:53
/etc/network/interface
is the "old way" – YamiYukiSenpai Feb 03 '19 at 08:56