On Fri, 31 May 2002, Richard Hayes wrote:

> Does anyone know a multiport ethernet that does not act as a switch/hub.
>
> What I am trying to do to use the Linux box to phyically join a network
> without purchasing a managed switch but keeping the various segments private.
>
> eg Router ->Linux box  -> port1 192.168.0.x -> port 2 192.168.1.0 -> port 3
> 192.168.2.x  etc

You *can* buy hubs which will allow you to "segment" groups of ports -
usually 6 or 8 at a time - from each other, but they're not cheap. It'd be
cheaper to buy a switch.

However, I think you need to check your networking concepts somewhat. From
what I can see, you're attempting to use a Linux box with one network card
to serve three different network segments. You need some form of routing
device _between_ the segments, or none of them will be able to speak to
the Linux box.

You can either do something like this.

                    ->eth0 ---> 192.168.0.x
                    |
                    |
Router --> Linux Box|>eth1 ---> 192.168.1.x
                    |
                    |
                    ->eth2 ---> 192.168.2.x

perhaps even adding a 4th card with another network to the Linux box for
NAT/connecting the router.

or you can buy an intelligent switch, with a router built in, and do
something like this

                           -> 192.168.0.x
                           |
Router-->Linux box-->switch|> 192.168.1.x
                           |
                           -> 192.169.2.x

Or you can use IP aliasing on the Linux box to assign it 3 different IP
addresses, one in each network like this

eth0:0 192.168.0.x
eth0:1 192.168.1.x
eth0:2 192.168.2.x

but this is a _really_ bodgy solution, and for reasons explained in my
last email it can cause network meltdown, especially on a larger {I.E.
more than 10 PC's} network.

If I'm reading what you want to do here wrong, please let me know, but I
don't think I am.

DaZZa

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to