cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
840
Views
0
Helpful
6
Replies

VLAN with 2 gateway

commercial
Level 1
Level 1

Hello,

I have 2 networks (3 pc's and a gateway each) to be connected to the same manageable switch.

This 2 networks have a common hardware (multifonctionnal printer).

2 VLan's ? but for the hardware ?

Many htank's for your help.

Lilian.

6 Replies 6

Richard Burts
Hall of Fame
Hall of Fame

Lilian

There are things about what you describe that I do not understand and therefore can not yet provide any advice. Can you provide clarification about whether this manageable switch is a layer 2 switch or a layer 3 switch? It would also be helpful to know what vlan is used for each network and what IP subnet is used by each network.

HTH

Rick

HTH

Rick

Hello, the schematic show you the implementation.

For the moment, Router 2 was removed to prevent conflict with Router 1.

"Imprimante Multifonction" is a common device.

For the moment there is no VLan, because i dont known how separate the two Office with a common device.

Many thank's.

Lilian.

Lilian

The additional information is helpful. There are still some things that we do not know which could impact the advice that we would give on how to achieve this. For example does each Internet router have its own path to the Internet? Or would one office use the path to the Internet through the other office? Also should office 1 and office 2 be able to communicate with each other or should each office be isolated from the other office?

Also it is not clear whether the layer 3 switch would be the default gateway for the devices in the offices or would each office router be the gateway for its own devices?

Given the diagram I would suggest creating three vlans on the layer 3 switch. I would put office 1 into a vlan, put office 2 into a second vlan, and put the multifunction printer into a third vlan. Then which ever device is doing the routing for each office can route traffic to the multifunction printer and can route traffic to the Internet, but could keep the offices separate if that is desired.

HTH

Rick

HTH

Rick

Hello Mr Burts,

To answer to your few questions, yes each router have its own path to internet (Each router is the gateway of its own device.), and no, Office 1 must not communicate with Office 2.

I'm going to try your suggestion.

Many thank's for your help !

Lilian.

Lilian

Thanks for the additional information. If the two offices need to be separated and should not communicate with each other then I believe that creating three vlans, with one for each office and one for the printer is the best solution. The router for each office can have a route for the printer but not a route for the other office which should keep them separate and if you want to really enforce separation you could also configure access lists to filter traffic going toward the switch and deny traffic to and from the other office.

HTH

Rick

HTH

Rick

Manu thank's again Richard,

I will try this next week.

Lilian