From: Robin Roevens <robin.roevens@disroot.org>
To: development@lists.ipfire.org
Subject: Re: ARP ping instead of ICMP ping for gateway latency check ?
Date: Wed, 30 Apr 2025 22:05:03 +0200 [thread overview]
Message-ID: <122a43b09bc36cb391916169194aa5bdc731fdd5.camel@disroot.org> (raw)
In-Reply-To: <CANoCWNKeYbx6wXBN9GLTe9NCNEwAUKUm82gGdkfLdfX1oc+Xhg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2852 bytes --]
Hi
Tracepath returns a few bogon IP's and then no-reply for the gateway
address.
And TCP ping is not available on IPFire, I think. tcptracepath of lft
comes to mind, but none of those are available on IPFire.
Robin
fairmont schreef op vr 25-04-2025 om 08:57 [-0600]:
> Have you tried tracepath since it uses UDP?
>
> tracepath -4 -b <outside ipV4 address>
> or
> tracepath -6 -b <outside ipV6 address>
> or even
> tracepath -b www.google.com
>
> TCP ping would be another method.
>
>
> On Tue, Apr 22, 2025 at 8:35 AM Michael Tremer
> <michael.tremer@ipfire.org> wrote:
> > Hello Robin,
> >
> > > On 20 Apr 2025, at 23:52, Robin Roevens
> > <robin.roevens@disroot.org> wrote:
> > >
> > > Hi All
> > >
> > > I recently changed my internet provider and I noticed that both
> > the
> > > gateway graph on cgi-bin/netother.cgi and my Zabbix gateway ping
> > check
> > > no longer work.
> >
> > Yes, some ISPs don’t respond do ICMP echo requests to the gateway.
> > I have no idea why really, but it is not uncommon.
> >
> > > It seems that my current provider blocks ICMP pings on the
> > gateway
> > > address.
> > > So I was wondering if it wouldn't be better to use arping instead
> > of
> > > normal ping to check the latency of the gateway? This should
> > always
> > > works regardless of firewalls of the provider.. I think?
> >
> > This is a good idea. An ARP ping should always work, because
> > otherwise there is no way to discover the layer 2 address of the
> > gateway. But that obviously only applies to internet connections
> > that actually use ARP. PPP connections don’t use ARP for example.
> >
> > We are also using collectd which is using liboping and that only
> > supports ICMP.
> >
> > > I can quite easily change this Zabbix check. But I'm not sure
> > about the
> > > graph on netother.cgi; I can look into that if you all think that
> > > change would be a good idea? Or if anyone could give me some
> > pointers
> > > on where to start looking?
> >
> > I think so. It could be an option for the future.
> >
> > If the gateway does not respond to pings, you should automatically
> > fall back to ping.ipfire.org <http://ping.ipfire.org/> though. So
> > the graph should always have some data to show.
> >
> > Best,
> > -Michael
> >
> > >
> > > Regards
> > > Robin
> > >
> > > --
> > > Dit bericht is gescanned op virussen en andere gevaarlijke
> > > inhoud door MailScanner en lijkt schoon te zijn.
> > >
> > >
> >
> >
>
> --
> Dit bericht is gescanned op virussen en andere gevaarlijke
> inhoud doorMailScanner [1] en lijkt schoon te zijn.
[1] MailScanner http://www.mailscanner.info/
--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.
[-- Attachment #2: Type: text/html, Size: 4098 bytes --]
next prev parent reply other threads:[~2025-04-30 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-20 22:52 Robin Roevens
2025-04-22 14:35 ` Michael Tremer
2025-04-25 14:57 ` fairmont
2025-04-30 20:05 ` Robin Roevens [this message]
2025-04-30 21:04 ` Robin Roevens
2025-05-02 11:30 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=122a43b09bc36cb391916169194aa5bdc731fdd5.camel@disroot.org \
--to=robin.roevens@disroot.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox