solaris9x86 as a router

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Re: solaris9x86 as a router

    <snip>
    > But from the WinWorkstation residing on 172.16.0.0 net with IP
    > 172.16.0.144
    > I CAN
    > ping to 172.16.0.220 (iprb1 on Solx86_9)
    > ping to 193.87.54.220 (iprb0 on Solx86_9)
    > I CANNOT
    > ping to x.x.x.240 (for example)
    > ping to x.x.x.129 (gateway/router to internet for x.x.x.128 address
    > range)
    > and this is valid both for ip_forwarding = 0 and ip_forwarding = 0
    > (manualy set)
    Routing 101 ;-)

    Chances are the machines on 193.87.54.128/25 do not have a route
    pointing back to 193.87.54.220 for the 172.16.0.0 network, so they will
    be sending the return ping packets out their default route to the
    internet instead of sending them back to the solaris machine.

    Easiest way to fix is to add a route to the x.x.x.129 box for the
    172.16.0.0 network and have the other hosts bounce of that. Or you could
    configure routes on everything on 193.87.54.128/25.

    The problem is NOT on the solaris box. Run snoop on the interfaces to
    see what's happening.

    Rgs,
    Kot

    MrKotter Guest

  2. Similar Questions and Discussions

    1. router
      is it possible to set a windows 2k3 computer up as a router.
    2. FTP through a router!!
      On Sun, 13 Jul 2003 14:23:10 -0700, "Sam" <sam_flower2003@hotmail.com> wrote: If you need to access your ftp server in pasv mode (dependent on...
    3. Can't get ip from Router
      I just get default windows ip of 169.254.62.214 & can't see the rest of network. Network connection icon shows 100mb packets are sent but none...
    4. DSL router
      I am trying to connect an XP machine to an Actiontec 1520 DSL router. It works on a 98 machine and an ME machine but there must be a setting or...
    5. WOL behind router
      Hey folks, I have a great Linksys NIC that allows for both wake-on-LAN via magic packets (useless for my needs) or via ping / any other access...
  3. #2

    Default Re: solaris9x86 as a router

    MrKotter wrote:
    >> But from the WinWorkstation residing on 172.16.0.0 net with IP
    >> 172.16.0.144
    >> I CAN
    >> ping to 172.16.0.220 (iprb1 on Solx86_9)
    >> ping to 193.87.54.220 (iprb0 on Solx86_9)
    >> I CANNOT
    >> ping to x.x.x.240 (for example)
    >> ping to x.x.x.129 (gateway/router to internet for x.x.x.128 address
    >> range)
    >> and this is valid both for ip_forwarding = 0 and ip_forwarding = 0
    >> (manualy set)
    >
    >
    > Routing 101 ;-)
    Nope. Or, partly. NATting should be the clue.

    With a routing entry on your router (or the half-external hosts) you
    might reach the external router, but you cannot get to internet with
    your 172.16.X.X addresses.
    Either your SUNBox (preferably) or your InternetRouter must do this job
    and hide the internal addresses behind something that gets routed
    through the internet (e.g. its own external ip).

    Martin


    Martin Schoen Guest

  4. #3

    Default Re: solaris9x86 as a router

    Dusan <dkulisie@truni.sk> wrote:
    > But NO ip_forwarding has been enabled after reboot. I know that due to
    > the algorithm of routing after the system had found a file
    > defaultrouter no in.rdisc and in.routed had been started. But
    > sunSupportDoc mentioned above claims that static routing only will be
    > enabled (and this is what I would like the most) when the
    > corresponding startup script inetinit finds more than one network
    > interface (which is clearly true in my case).
    I believe this behavior has changed over timer. You may prefer to force
    ip_forwarding on via ndd in a startup script. It appears that the stock
    script will force ip_forwarding off if there is a default router
    configured.

    if [ -z "$defrouters" ]; then
    [snip]
    else
    /usr/sbin/ndd -set /dev/ip ip_forwarding 0
    fi

    However, as others have said, this won't make everything work. The
    internet as a whole will not have a router for traffic from 172.16.0.0.
    You'd need to put them on the class C which the ISP has given you, or
    you'd need to do NAT on the solaris box.

    --
    Darren Dunham [email]ddunham@taos.com[/email]
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Dunham Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139