Wednesday, January 19, 2011

Ubuntu Karmic: purpose of route table entry for 'link-local' ?

I'm wondering what is the purpose of a routing table entry named 'link-local'.

root# route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         fritz.box       0.0.0.0         UG    0      0        0 eth0

when I print the routing table with -n I get:

root# route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 eth0

So it seems that link-local refers to 169.254.0.0. What's the purpose of it? I have never configured such a route, and I cannot find an entry for that in my fritz.box router.

0 comments:

Post a Comment