drivers/net/usb/asix - Re: WS-UL220G USB 2.0 Gigabit Ethernet Adapter in Dell Inspiron 700m laptop

Smoot Carl-Mitchell smoot at tic.com
Fri Jul 10 22:09:21 UTC 2009


On Fri, 2009-07-10 at 17:02 -0400, David Curtis wrote:

> > # route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > 172.22.22.0     0.0.0.0         255.255.255.0   U     29     0        0 eth2
> > 169.254.0.0     0.0.0.0         255.255.0.0     U     29     0        0 eth2
> > 0.0.0.0         172.22.22.2     0.0.0.0         UG    0      0        0 eth2
> 
> A metric of 29 is definitely an indication something is wrong, I
> believe that anything over 16 (hops) is considered unusable. And
> anyway the metric for the network segment (172.22.22.0) you're on
> should be 0. The unused default network (169.254.0.0) on my jaunty box
> has a metric of 1000. Something is definitely setting supposedly
> unused segments to 29. What's doing that? I dunno.  

Routing table metrics have nothing to do with Internet hop count or time
to live.  I believe the default TTL on the Internet tis set to 64 these
days.  Linux seems to set the default to this value.  Take a look
at /proc/sys/net/ipv4/ip_default_ttl.

The metrics in the routing table are only are relative to other local
routes.  The value is used to set routing preferences where there is
more than a single path to a remote network.

With that said, I have no idea why the metric is set to 29, but it will
not affect your routing.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list