cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1194
Views
0
Helpful
3
Replies

2 VLANs to Print in one printer

m_sherifi
Level 1
Level 1

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

3 Replies 3

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.

yes it's for conectivity

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco