[Sunhelp] Confused about routing.
Rob Staab
rstaab at actbig.com
Thu Aug 24 15:31:48 CDT 2000
ndd -set /dev/ip ip_forwarding 1
Will turn IP forwarding on between Sun interfaces. This can be made
permanent by editing the /etc/init.d/inetinit startup script.
I believe this is what you're looking for then. Sorry, the extra routing
information threw me.
- Rob Staab
> Ok... let me put it this way. If I'm on a Cisco router I have to issue a
> specific command to turn on IP routing. If I'm on a NT box I
> have to launch
> a specific service to turn on IP routing. What I'm hearing you
> say is that
> running a routing daemon is NOT the specific mechanism that turns on IP
> routing on a Sol8 box? That's fine, but then what IS the procedure for
> turning IP routing on or off?
>
> >Checking your currently routing table is as easy as netstat -rn.
> >This lists your current routes and does not attempt to resolve names
> >which speeds things up considerable for a large table.
>
> Understood.
>
> >You do not need to run a routing daemon if you are only using static
> >routes and I would advise against running RIP for such a simple
> network as
> >there is no real benefit and you open yourself to some security issues
> >since RIP is very easy to poison/spoof.
>
> Yes, those were my opinions as well.
>
> >Your routing table should have a route for the network directly
> >connected to both hme0 and le0. It should then have a default route
> >to your ISP's router. That should be sufficient.
>
> Hmm. It does have those exact three, as I mentioned, but they
> don't seem to
> be sufficient. The only one I am adding via the gateways file is the
> default; the others are being added automagically, I assume as
> part of the
> normal initialization of the interfaces.
>
> >Assuming that you do not have a routing daemon running, you can
> >dynamically update and modify your routing table using hte route
> >commands. most common commands are "route add <destination network>
> ><gateway> <metric>" and "route> delete <destination network>
> ><gateway> <metric>"
>
> Yes.
>
> >Hope this helps.
> >
> >- Rob Staab
> >
> >_______________________________________________
> >SunHELP maillist - SunHELP at sunhelp.org
> >http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list