PDA

View Full Version : Added static IP, but still have DHCP address



bazcurtis
2022-01-28, 14:36
Hi,

I have install Kali Linux on my Raspberry Pi 400. I have give it a static address and that is working fine, but it still has the DHCP address. How can I stop this?

This is my interfaces.d file
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.0.1.16/24
gateway 10.0.1.1