Default route problem on reboot - Solaris

This is a discussion on Default route problem on reboot - Solaris ; Hi folks, I have Solaris 10 x86 system that when I do a reboot, I am not getting the interface entry on my default route: # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Default route problem on reboot

  1. Default route problem on reboot

    Hi folks,

    I have Solaris 10 x86 system that when I do a reboot, I am not getting the
    interface entry on my default route:
    # netstat -rn

    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    -------------------- -------------------- ----- ----- ------ ---------
    192.168.5.0 192.168.5.215 U 1 5 elxl0
    224.0.0.0 192.168.5.215 U 1 0 elxl0
    default 192.168.5.215 UG 1 0
    127.0.0.1 127.0.0.1 UH 30 16680 lo0
    #

    In my /etc/defaultrouter file I only have the 192.168.5.215 IP address. If
    if use the commands:

    route delete default 192.168.5.215
    then
    route add default 192.168.5.215 0

    the interface is then added and life is good. What have I missed to get the
    proper entry for the interface?

    TIA
    BobW



  2. Re: Default route problem on reboot

    On Wed, 04 Jun 2008 17:44:30 -0700, Bob Woodward wrote:

    > I have Solaris 10 x86 system that when I do a reboot, I am not getting the
    > interface entry on my default route:


    Neither do I:

    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    -------------------- -------------------- ----- ----- ---------- ---------
    default 192.168.0.1 UG 1 35
    192.168.0.0 192.168.0.4 U 1 18 iprb0
    127.0.0.1 127.0.0.1 UH 2 574 lo0

    but,

    $ ping yahoo.com
    yahoo.com is alive


  3. Re: Default route problem on reboot

    On 2008-06-05 02:10:11 +0100, Dave Uhring said:

    > On Wed, 04 Jun 2008 17:44:30 -0700, Bob Woodward wrote:
    >
    >> I have Solaris 10 x86 system that when I do a reboot, I am not getting the
    >> interface entry on my default route:

    >
    > Neither do I:
    >
    > Routing Table: IPv4
    > Destination Gateway Flags Ref Use Interface
    > -------------------- -------------------- ----- ----- ---------- ---------
    > default 192.168.0.1 UG 1 35
    > 192.168.0.0 192.168.0.4 U 1 18 iprb0
    > 127.0.0.1 127.0.0.1 UH 2 574 lo0
    >
    > but,
    >
    > $ ping yahoo.com
    > yahoo.com is alive


    I see similar on a T1000 running 10u5:

    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    -------------------- -------------------- ----- ----- ---------- ---------
    default 172.16.0.1 UG 1 170
    172.16.0.0 172.16.0.27 U 1 181 bge0
    224.0.0.0 172.16.0.27 U 1 0 bge0
    127.0.0.1 127.0.0.1 UH 4 160 lo0

    It can also ping yahoo.com successfully.

    Cheers,

    Chris


  4. Re: Default route problem on reboot

    On Thu, 05 Jun 2008 17:35:10 +0100, Chris Ridd wrote:

    > I see similar on a T1000 running 10u5:
    >
    > Routing Table: IPv4
    > Destination Gateway Flags Ref Use Interface
    > -------------------- -------------------- ----- ----- ---------- ---------
    > default 172.16.0.1 UG 1 170


    There's no reason that there would be an Interface associated with the
    defaultroute. That IP address is not on the system.


  5. Re: Default route problem on reboot

    Bob Woodward wrote:
    > In my /etc/defaultrouter file I only have the 192.168.5.215 IP address. If
    > if use the commands:
    >
    > route delete default 192.168.5.215
    > then
    > route add default 192.168.5.215 0


    So you ARE your own default router? Or do you have a router at all?

    --
    Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/

  6. Re: Default route problem on reboot

    That was my problem. Instead of using the NIC's IP address, I needed to
    take one step past the system's NIC and use the DSL/Router's IP address
    which then pointed out to the ISP's IP address. Thanks for the slap up the
    back of the head. I needed it.

    wrote in message
    news:g2j3uq$jh5$1@Kil-nws-1.UCIS.Dal.Ca...
    > Bob Woodward wrote:
    > > In my /etc/defaultrouter file I only have the 192.168.5.215 IP address.

    If
    > > if use the commands:
    > >
    > > route delete default 192.168.5.215
    > > then
    > > route add default 192.168.5.215 0

    >
    > So you ARE your own default router? Or do you have a router at all?
    >
    > --
    > Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/




+ Reply to Thread