netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: route metric signing
@ 2010-03-10 15:41 Curtis Doty
  0 siblings, 0 replies; only message in thread
From: Curtis Doty @ 2010-03-10 15:41 UTC (permalink / raw)
  To: Linux Network Development

The metric set is not the metric displayed. I'm presuming it's a cosmetic 
error in iproute2?

# ip route add 192.0.2.42 via 127.0.0.1 metric 4294967295
# ip route ls 192.0.2.42
192.0.2.42 via 127.0.0.1 dev lo  metric -1

And...

# ip route add 192.0.2.42 via 127.0.0.1 metric 2147483648
# ip route ls 192.0.2.42
192.0.2.42 via 127.0.0.1 dev lo  metric -2147483648

But this one appears OK...

# ip route add 192.0.2.42 via 127.0.0.1 metric 2147483647
# ip route ls 192.0.2.42
192.0.2.42 via 127.0.0.1 dev lo  metric 2147483647

Test platform is Fedora 12.

# rpm -q iproute
iproute-2.6.29-4.fc12.x86_64

# rpm -q kernel
kernel-2.6.32.9-70.fc12.x86_64

../C


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-10 15:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 15:41 bug: route metric signing Curtis Doty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).