[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Routing...where to start?



On Thu, 2 Mar 2000, Barrie Bremner wrote:

>  I`ve just added another PC to the flat LAN, and I can`t get the routing
> right at all.
> 
>  All machines have 192.168.0.x IP addresses. 
> 
> 192.168.0.1 is my IP masq`ing box - gateway to the world via dialup ppp.
> 192.168.0.2 - 192.168.0.5 are machines to be added to the network.
>  2 of those are windoze boxes.

What flavour of Windows?  

>  I can`t figure out how to set up routes from my box to the other
> machines and to my box from the other machines.

"Your box" being 192.168.0.1, right?

>  Lets say I del all routes on all machines and start from scratch - what
> shall I do?

Your routes should be as follows: (assume part-time PPP link)

192.168.0.1: One route, via eth0 (or whatever your LAN NID is) to net
192.168.0.0, netmask 255.255.255.0 (has route updated its interface yet so
you can do /24?  I don't think so.  Anyone?)

192.168.0.2-5: Two routes, one a net route as per the server, and one a
default gateway route via 192.168.0.1.

The windows boxes will be configured similarly, at least in the gateway part
(place 192.168.0.1 in their default gateway box).  I haven't done a Winbox
for so long I've forgotten whether they need the net route.  I think so, but
I can't remember how to do it... <g>

> Can I have exact lines to type, please...the examples in man
> route seem to be a bit shakey.

See my previous E-mail (no more than two days) on routing for command lines,
or, alternately, read the HOWTO (Net-3-HOWTO should have the necessary
stuff).  I didn't think the route man page was all that bad, though - try
reading the one for ioctl, for instance...


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@uow.edu.au

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.