Page 1 of 1

ip a shows 2 working addresses for eth0

Posted: Tue Feb 11, 2020 2:00 pm
by kevin.shumaker
Raspberry pi 4 4GB
Raspbian Buster 20200205 (latest, fully updated) (netboot and local boot) (Full and Lite

Issue: lo shows single inet address 127.0.0.1
wlan0 shows single inet address received from dhcp
eth0 shows 2 working dhcp addresses
Where to start looking as to why?
Doesn't happen with Pi3B+ with same setup.

login as: pi
pi@rpi4-full's password:
Linux rpi4-full 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 10 20:32:02 2020 from 192.168.2.224
pi@rpi4-full:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether dc:a6:32:03:a7:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.131/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet 192.168.2.111/24 brd 192.168.2.255 scope global secondary dynamic noprefixroute eth0
valid_lft 1145sec preferred_lft 995sec
inet6 fe80::dea6:32ff:fe03:a741/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether dc:a6:32:03:a7:42 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.123/24 brd 192.168.2.255 scope global dynamic noprefixroute wlan0
valid_lft 1153sec preferred_lft 1003sec
inet6 fe80::75c6:e37:3c8a:bc4/64 scope link
valid_lft forever preferred_lft forever

Re: ip a shows 2 working addresses for eth0

Posted: Tue Feb 11, 2020 2:52 pm
by pcmanbob
Have you set a static IP on your pi ?

if so how ?