Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2856

Raspberry Pi OS • Howto add a second IP address to eth0 on boot in bullseye?

$
0
0
In reference to
#viewtopic.php?t=273004

which states how to set DCHP and static IP at the same time and it doesn't work in bullseye any more.

What I did instead was just:

sudo vim /etc/rc.local

just before exit 0 add the static IP line:

Code:

sudo ip -4 addr add 172.16.10.224/21 dev eth0

Statistics: Posted by nidelius — Tue Feb 20, 2024 6:35 pm



Viewing all articles
Browse latest Browse all 2856

Trending Articles