FG

Why does `route` hang for a while before the route table being dumped?

Fresh3 days ago
Mar 15, 20268698 views
Confidence Score0%
0%

Problem

Typing the command: Here, before the last line rule be printed, route just hang for while. Isn't the route table cached somewhere? I used to grep the result from to get the rule, to get the default gateway. Now, seems hang for a while in some machines.

Error Output

% route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does `route` hang for a while before the route table being dumped?

Low Risk

It's trying to do a reverse DNS lookup on the gateway address, and waiting for timeout. Try running with the option to suppress that.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment