05-06-2010 05:13 AM - edited 03-06-2019 10:57 AM
i have 3560 sw with vlan 1 & 2 i need to assign printer port to both vlan and vlan 2
05-06-2010 05:45 AM
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.
05-06-2010 06:27 AM
yes it's for conectivity
how can user in vlan 1 access printer when it assign in vlan 2
05-06-2010 06:39 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide