home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 21738 
 The Natural Philosopher to All 
 Re: RPi associating two IPs with its one 
 29 Dec 25 13:08:25 
 
MSGID: <10itug9$1029n$5@dont-email.me> 69313334
REPLY:  aa2d52d9
PID: PyGate 1.5.2
TID: PyGate/Linux 1.5.2
CHRS: CP1252 2
TZUTC: 0000
REPLYADDR tnp@invalid.invalid
REPLYTO 3:633/10 UUCP
On 29/12/2025 10:59, Richard Kettlewell wrote:
> Jim Diamond  writes:
>> Richard Kettlewell  wrote:
>>> Jim Diamond  writes:
>>>> I was looking at my network and discovered an IP which I didn't know
>>>> about; after a few seconds of investigation I discovered that one of
>>>> my Pis (which is on wifi only, and only has one wifi card) has two
>>>> IPs.
>>>
>>> Where are you finding the two addresses?
>>>
>>> What does
>>>    ip addr show
>>> display?
>>>
>>>> Two of my other Pis are running the same version of Raspberry Pi OS
>>>> (i.e., "Debian GNU/Linux 12 (bookworm)").  They don't do this.
>>>>
>>>> Looking around the net, there are claims that this is because Pis
>>>> might try to netboot, and that later on in the boot process they also
>>>> get their usual IP the "usual" way.  (In my case I am using
>>>> networkmanager.)
>>>
>>> What does
>>>    rpi-eeprom-config
>>> display?
>>
>> BOOT_UART=0
>> WAKE_ON_GPIO=1
>> POWER_OFF_ON_HALT=0
> 
> What model of Pi is it?
> 
>> (Nothing there about BOOT_ORDER, altho my Pi5 (not the computer that showed
>> up with two IPs) does have BOOT_ORDER=0xf461.  But it would appear I'd need
>> a 0x2 in there fairly early for it to try a netboot.)
> 
> Elsewhere:
> 
>> No, the Pi thought two IPs were associated with the one and only wifi
>> card.  (In fact, I discovered which device it was by ssh-ing in after
>> nmap told me that it was listening on the sshd port.)
> 
> i.e. the interface has two addresses after booting has completed.  I
> would put network boot at the bottom of the list of possible causes.
> AIUI the kernel starts from a blank slate, it doesn?t inherit interface
> configuration from the boot loader.
> 
IIRC in my setup I had static setup via a hand edited file somewhere, 
and it was booting into DHCP before it read that file

-- 
For in reason, all government without the consent of the governed is the 
very definition of slavery.

Jonathan Swift



--- PyGate Linux v1.5.2
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 105/81 106/201 128/187 129/14 305 153/7715 154/110 218/700
SEEN-BY: 226/30 227/114 229/110 112 134 200 206 300 317 400 426 428
SEEN-BY: 229/470 616 664 700 705 266/512 291/111 292/854 320/219 322/757
SEEN-BY: 342/200 396/45 460/58 633/10 280 414 418 420 422 509 2744
SEEN-BY: 712/848 770/1 902/26 2320/105 5020/400 5075/35
PATH: 633/10 280 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca