On Thu, 18 Dec 2003 02:14 pm, you wrote:
> Ken you must be tired... there's probably heaps of people out there with
> second hand hubs & switches who can help Nicholas out :-) (heck I've got a
> spare 10Mb hub I'd part with for $20 neg.) Routing & subnets is just
> making a simple LAN difficult here.

Why do I always find out about these things after I�ve cooked my bankcard...
>
> Nicholas, you're going to have to manually set the IP addresses on each
> ethernet card in each operating system. To send packets from computer A to
> computer C via computer B is called routing, computer B will need routing
> enabled. If you persist without the hub setup IP's something like this
> perhaps.

Grant,

Thank you.

Yours is a good picture of the situation but with the following adjustments:

>
> [computer b] 192.168.2.3 
> (default route to 192.168.2.1)   xx alternate 
suggested?------[firewall]------------[Modem]------ ISP
> [Desktop PC with linux mdk 9.0 and crashware 98SE]
>    | crossover cable
>    |                                   file, print and internet share
>    |   192.168.2.1 eth0
>
> [computer a] 
>    x current setup -------[firewall]------------[Modem]------ ISP 
> [linux only - mdk 9.2]    |------ Printer
>    |   192.168.2.2 eth1    |------ Scanner
>    |
>    |                                   file, print share
>    | crossover cable
>
> [computer C] 192.168.2.4 (default route to 192.168.2.2)
> [Laptop with linux mdk 9.2]

> Assuming computer a is linux turn on routing in the file /etc/sysctl.conf
> (on redhat at least).. otherwise add
> echo 1 >/proc/sys/net/ipv4/ip_forward
> to the /etc/rc.d/rc.local file for example.
> Hey, there might even be an "enable routing" option in some gui
> somewhere... I don't know, I seem to find the gui ways last. (seems like my 
bargain hunting abilities..)

So what would it look like with the hub?

Is this any easier to do with usb links between the machines or is that not an 
appropriate means of connection?

>
> There's probably a way to do it in Windows too, don't ask here ;-)

I�m trying to avoid crashware entirely, believe me!
>
> As for sharing the net... lets try that another time ;-)
>
> On Thu, 18 Dec 2003, Ken Foskey wrote:
> > Make sure you have subnets 1 & 2.  for example:
> >
> > 192.168.0.X is the laptop side
> > 192.168.1.X is the Dual boot side.
> >
> > netmask would be 255.255.255.0
> >
> > Make the a) machine .1 on both those networks and make the gateway
> > address the .1 address for that network.
> >
> > If you want to cross across you need to add a route to allow b) talk to
> > c) and you also need to enable forwarding.
> >
> > >From a strictly security point of view the a) box has a lot on it.  This
> >
> > is a risk and it stops being a proper secure gateway.

Should I move the modem to box b?
> >
> > The other thing you may want is masquerade as well.  This "hides" your
> > private address from the Internet.

Gentlemen,

Thank you all, I�ll try these things and report back ASAP.

Nicholas Tomlin.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to