in.routed - mystery route added

From: gabriel borrageiro (gborrageiro@hotmail.com)
Date: Wed Mar 09 2005 - 03:41:16 EST


hello all,

It seems I have a 'mystery route' added to my Solaris 8 routing table and
I'm not quite sure how it got there.
It's not in any startup script, so I'm thinking pehaps that in.routed has
added it.

The scenario is as follows, I do not have a /etc/defaultrouter defined as my
default route is defined in an /etc/rc2.d/ startup script.
Would this invoke in.routed? I thought in.routed would only be invoked if I
defined a /etc/defaultrouter file but left it empty.
So when I created these two routes in my rc2.d script
/usr/sbin/route add net 10.99.0.0 -netmask 255.255.0.0 192.168.0.1 1
/usr/sbin/route add net 10.88.0.0 -netmask 255.255.0.0 192.168.0.1 1

I now have the following entries:
#netstat -nrv

IRE Table: IPv4
  Destination Mask Gateway Device Mxfrg Rtt
Ref Flg Out In/Fwd
-------------------- --------------- -------------------- ------ ----- -----
--- --- ----- ------
10.98.0.0 255.255.0.0 192.168.0.1 1500* 0
1 UG 0 0
10.99.0.0 255.255.0.0 192.168.0.1 1500* 0
1 UG 0 0
10.0.0.0 255.0.0.0 192.168.0.1
default 0.0.0.0 169.20.20.1 1500* 0
  1 UG 175 0

Am I correct in saying that RIP has summarised 10.0.0.0/8 via 192.168.0.1
because of the other entries defined?
How could I confirm that this is a RIP route and not a static route?

# route -v get 10.0.0.0
so_dst: inet 10.0.0.0; so_mask: inet 255.0.0.0; so_ifp: link ; RTM_GET:
Report Metrics: len 360, pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,STATIC>
locks: inits:
sockaddrs: <DST,NETMASK,IFP>
  10.0.0.0 255.0.0.0
    route to: 10.0.0.0
destination: 10.0.0.0
        mask: 255.0.0.0
     gateway: 192.168.0.1
   interface: qfe5 index 8 address 00 03 ba 5d c7 61
       flags: <UP,GATEWAY,DONE,STATIC>
  recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu
expire
        0 0 0 0 0 0 1500
  0

locks: inits: <rttvar,rtt,ssthresh,sendpipe,recvpipe,mtu>
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
10.0.0.0 192.168.0.1 255.0.0.0 qfe5:0.3.ba.5d.c7.61

This does not mention RIP any where?

Perhaps I am barking up the wrong tree.

You advise would be greatly appreciated.

best regards,

Gabriel
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:19 EDT