Re: two networks sharing one router
I think those DSL routers usually have four ethernet ports on them... Could you configure two of the ports with different Netmasks and use the DSL router as the gateway instead of adding additional hardware?
Proud Debian user and coffeeaholic
Mobile: +353 87 400 6312
Direct: +353 1 616 1416
Direct Fax: +353 1 616 1445
Windows User Wrote
>"I'm afraid Holy Water would short it out so someone please help me,"
Replying to the message sent by Harry Penner on Thu, 09 Oct 2003 10:59:24 -0500, received at 17:44:03 on 09/10/2003. Harry Penner wrote:
>You could also replace Rou1 and Rou2 in your diagram with a single
>router with multiple NICs, no?
>And as long as you're doing that, you almost may as well use 3 NICs and
>dump the DSL router -- making this a relatively standard firewall
>On Thu, 2003-10-09 at 10:21, Volker Tanger wrote:
>> On Thu, 9 Oct 2003 17:25:46 +0300 "M. Civan CAMKIRAN" <firstname.lastname@example.org>
>> > I have two networks which belong to two different companies in a
>> > building and one broadband internet connection. I decided to buy an
>> > inexpensive 4 port router and plug each hub to 2 of the 4 ports on
>> > this router. Questions are:
>> Please define "inexpensive 4port router":
>> - a cheap (DSL) router with builtin 4port switch/hub, thus effectively
>> only a 2port router with the second port multiplied by an internal
>> hub/switch (usually in the $50+ range)
>> - a router with 4 full/independent LAN/WAN interfaces (e.g. Cisco 26xx,
>> usually above $1000)
>> > 1. Is it possible to have both networks use the same internet
>> > connection in this way?
>> Yes - but usually the cheap DSL routers don't allow multiple independent
>> networks on the inside interface/hub.
>> > 2. Is it possible to prevent the computers see the other network's
>> > computers? If yes, how?
>> Full router: yes, just set the proper ACLs.
>> DSL router with hub/switch: no
>> Depending on your brand, cheap broadband routers MIGHT be able
>> (depending on built-in options) to do just routing ethernet/ethernet. If
>> so, you'd need two more routers, each one hiding the individual company
>> network, then connecting to the common DSL router. ASCII art below:
>> | |
>> | |
>> Rou1 Rou2
>> | |
>> | |
>> --+-- --+--
>> LAN1 LAN2
>> You'd be probably better/cheaper off with a multiport (!) DSL-enabled
>> Good luck!
>> Volker Tanger