I even checked it out myself, my version of net tools does not show up this
magic flag but it does appear in the /proc/net/route, see the routes with
the 40008001 flag? the 8000 is "Magic" which means it was done when the
interface came up. Terry will be not happy to see they have 0 metrics. The
40000000 is a ip v6 paramter which is RTF_INTERFACE.
Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT TOS Class
pt0b FFFF882C 00000000 0001 0 0 0 FFFFFFFF 1500 0 300 00 fe
pt0b 5F08882C 00000000 0001 0 0 0 FFFFFFFF 1500 0 300 00 fe
pt0a FF08882C 00000000 0001 0 0 0 FFFFFFFF 1500 0 300 00 fe
pt0a 5708882C 00000000 0001 0 0 0 FFFFFFFF 1500 0 300 00 fe
ax0 7F0D882C 00000000 0001 0 0 0 FFFFFFFF 255 0 300 00 fe
eth0 100D882C 00000000 40008001 0 0 32767 F8FFFFFF 1500 0 300 00 fe
ax0 000D882C 00000000 40008001 0 0 32767 80FFFFFF 255 0 300 00 fe
pt0a 0008882C 00000000 40008001 0 0 32767 00FFFFFF 1500 0 300 00 fe
pt0b 0000882C 00000000 40008001 0 0 32767 0000FFFF 1500 0 300 00 fe
pt0b 0000002C 5F08882C 0003 0 0 0 000000FF 1500 256 300 00 fe
nr0 0000002C 00000000 40008001 0 0 32767 000000FF 235 0 300 00 fe
rose0 0000002C 00000000 40008001 0 0 32767 000000FF 128 0 300 00 fe
A.N.Kuznetsov is rumoured to of said:
> In article <spnm.lcsidrm@uklibk.ac.at> you wrote:
>
> : but, does this happen for *any* interface that is ifconfig'ed, ie SCC cards,
> : axattached interfaces...
>
> Exactly.
>
> : If so, does anyone know when (in kernel versions) this occurred roughly?
>
> 2.1.15
>
> : Do these "interface routes" appear in the kernel routing table
> : (/proc/net/route), if not where can they be tracked?
>
> Yes, they are in /proc/net/route. They are marked with RTF_MAGIC flag.
> Besides that, local addresses and broadcasts reside in /proc/net/rt_local
>
> : The reason why I am asking this is that a program I wrote that manipulates
> : the routing table probably needs to be updated and I want to make sure I get
> : all the facts straight.
>
> Do not make it! Do all the manipulations as nothing changed.
> It should not result in troubles (at least, I desired it).
>
> Alexey Kuznetsov.
>
*whew*.
Ok Simon, until you upgrade, you need that route there, I still have NFI why
your setup works.
- Craig vk2xlz
-- / /\ | | Craig Small VK2XLZ <qjow@mta.hu> |==||==|=| Finger hosr@uu.nl for PGP key. \ \/ | | fingerprint = AD 8D D8 63 6E BF C3 C7 47 41 B1 A2 1F 46 EC 90