2 VLANs to Print in one printer

Unanswered Question
May 6th, 2010

i have 3560 sw with vlan 1 & 2 i need to assign printer port to both vlan and vlan 2

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Federico Coto F... Thu, 05/06/2010 - 05:45

Hi,

The printer has only 1 NIC?

If this is so, it can only have a single IP and therefore assigned to a unique VLAN (not both VLANs)

Why do you need the printer to belong to both VLANs?

If it is for connectivity reasons, you can just have the printer belong to one VLAN, and access the printer from the other VLAN (it does not matter).

Federico.

m_sherifi Thu, 05/06/2010 - 06:27

yes it's for conectivity

how can user in vlan 1 access printer when it assign in vlan 2

Federico Coto F... Thu, 05/06/2010 - 06:39

Two options:

1. If you have a router in the picture (besides the switch 3560), and that router is the default gateway for the VLANs, the router will route the packets between VLANs and allow communication.

2. If there are no other devices (only the 3560), the you can enable IP routing on the 3560 and make it route between VLANs.

The commands to enable InterVLAN in the 3560 are: ip routing

Then, configure either an SVI or a L3 routed port on the 3560 for the connections to the end devices, and the 3560 will route packets between its directly connected VLANs.

Federico.

Actions

This Discussion