TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: HANS-WERNER KNEITINGER
date: 2020-08-18 18:43:00
subject: RPi4 dont get default GW

Am 18.08.20 um 09:38 schrieb Hans-Werner Kneitinger:
Sorry for german, let me ask in my very unused school englisch.

> Hallo zusammen,
> ich käpfe hier mit einem sonderbaren Problem Mein RPi 4 hat kein Default
> GW gesetzt.

I Have a strange Problem with my Pi4 and latest fresh installed
Raspberry OS.

> Auf einem älteren Pi läuft dnsmasq. Dort ist u.A. die Option 3 für das
> StandarsGW mit der IP Adresse gesetzt.

An older RPi is setup as an DHCP/DNS Server via dnsmmasq. The dhcp option 3
is set to the IN-GW IP.

> Aktuelles RaspiOS IP via DHCP. In der dhclient.conf wird u.A. auch eine
> request auf routers gemacht.

The RPi4 requests via dhclint.conf the routers, too.

> Dem dnsmasq.log nach, wir das GW angefragt und auch gesendet. Es scheint
> aber nicht vom Rpi4 übernommen zu werden.

As the dnsmasq.log shows, there is a request for the router and it is
answerde corectly. But on the RPi4 it is not set. Other options like
domain or other routes are set.

> Nach Eingane von "route add default GW " hat der Pi4 bis zur
> nächsten DHCP Anfrage das DefaultGW und kann ins IN.

Doing "route add defaukt gw " manually did the job until leastime
ended and next dhcp requst is done by the RPi4

> Andere Parameter werden übernommen. Andere Geräte scheinen kein Problem
> zu haben. An einer anderen Stelle im Netzwerk hinter einem anderen
> Router bekommt der Pi sein default GW.

Other devices do well, RPi did well on an other segment in the network
with an other router DHCP/DNS.

> Das hier
> http://www.elektronik-kompendium.de/sites/raspberry-pi/2008011.htm habe
> ich schon gefunden, ich werde aber aus den vielen Lösungsmöglichkeiten
> nicht ganz schlau. Da der Pi im Netzwerk manchmal umzieht, ist ein
> statisches Default GW nicht wirklich hilfreich.

I found some Information abaut Network problems, but did not find a
usefull answer. Setting a static defaukt gw  via script at boot is no
option in my usecase.

> Wer kann mir bei der Problemlösung helfen und hat einen Rat?
Have somebody an idea wich can help to figure out the problem or help
debugging?

--
cu
hawe

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.