Something is wrong as you dont have two network interfaces "eth0" & "eth0:0".
Instead you somehow managed to squeeze two IP addresses on one interface "eth0".
Whats in:
cat /etc/network/interfaces
And whats in:
tail -10 /etc/dhcpcd.conf
Something is wrong as you dont have two network interfaces "eth0" & "eth0:0".
Instead you somehow managed to squeeze two IP addresses on one interface "eth0".
Whats in:
cat /etc/network/interfaces
And whats in:
tail -10 /etc/dhcpcd.conf
pi@raspberrypi:~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
post-up iw wlan0 set power_save off
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto eth0:0
allow-hotplug eth0:0
iface eth0:0 inet static
address 192.168.0.32
netmask 255.255.255.0
pi@raspberrypi:~ $ tail -10 /etc/dhcpcd.conf
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
interface eth0
static ip_address=192.168.0.33/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
pi@raspberrypi:~ $
Sorry, I was mistaken, the "ip addr show" command is displaying the interfaces properly.
Am prepping some changed instructions but in meantime, whats output of below:
sudo netstat -nltup | grep 'Proto\|lighttpd\|nginx\|dnsmasq\|dhcpcd\|pihole-FTL'
please dont apologise!
it should be me apologising!
pi@raspberrypi:~ $ sudo netstat -nltup | grep 'Proto\|lighttpd\|nginx\|dnsmasq\|dhcpcd\|pihole-FTL'
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.0.33:80 0.0.0.0:* LISTEN 2644/lighttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 30751/dnsmasq
tcp6 0 0 :::53 :::* LISTEN 30751/dnsmasq
udp 0 0 0.0.0.0:53 0.0.0.0:* 30751/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 30751/dnsmasq
udp 0 0 0.0.0.0:68 0.0.0.0:* 660/dhcpcd
udp6 0 0 :::546 :::* 660/dhcpcd
udp6 0 0 :::547 :::* 30751/dnsmasq
udp6 0 0 :::53 :::* 30751/dnsmasq
Helped out via WebEx.
Turned out that the static IP addresses in the "intrerfaces" file are assigned before the ones in the "dhcpcd.conf" file.
Leaving dnsmasq to think the one in the "intrerfaces" file (the alias interface) to be the primary one and the one in the "dhcpcd.conf" file (physical interface) to be the secondary.
Only fix I could think of was move all the static IP address assignments from "dhcpcd.conf" into the "intrerfaces" file.
Tried other way around but no go as dhcpcd5 didnt work on the alias interface.
Stupid dhcpcd5