12-06-2011 10:44 PM - edited 03-04-2019 02:32 PM
hi...I have 2 different network VLAN1 (10.74.1.x) and VLAN2 (10.20.1.x). the network printer is located at VLAN1. my question is can VLAN2 print using printer @ VLAN1? do i have to configure ACL? if so. how? tq
12-07-2011 01:27 AM
Yes it can as long as there's inter VLAN routing and no ACL between the two VLANs.
Are you able to ping from a host in VLAN 2 towards the printer in VLAN 1?
Sent from Cisco Technical Support iPhone App
12-07-2011 02:27 AM
Hi,
When you have a multiple vlan's and inter vlan routing is working fine and no restrictions between vlans (using ACL) you can print from vlan2 to printer in vlan1 without any ACL required.
Please rate the helpfull posts.
Regards,
Naidu.
12-08-2011 08:14 PM
Yes, i'm able to ping. But if i want to restricted VLAN2 to communicate with VLAN1 vice versa but allow only printer to go thru. How can i do that? Can you guys help me how to configure? tq
12-08-2011 09:31 PM
hi,
could you post a simple network diagram and running config of your devices? what are the subnets assigned for both VLANs 1 and 2 and what is the IP address assigned for the said printer?
12-08-2011 11:21 PM
Hi farozezan73,
You can do that simply like below...
Say for example your network printer IP is 10.74.1.25
int vlan 1
ip add 10.74.1.1
ip access-group vlan-1
int vlan 2
10.20.1.1
ip access-group vlan-2
Now define accesslist accordingly.
ip access ex vlan-1
permit ip host 10.74.1.25 10.20.1.0 0.0.0.255
ip access ex vlan-2
permit ip 10.20.1.0 0.0.0.255 host 10.74.1.25
Please rate the helpfull posts.
Regards,
Naidu.
12-09-2011 12:13 AM
Hi Naidu,
Why 2 ACLs on both SVIs ? if you apply only one ACL on one SVI it will work as the implicit deny will drop all other traffic including return traffic going to the other SVI. What do you think about it?
Regards.
Alain
12-09-2011 12:22 AM
Thats true Alain and can be done,
But what I want is hardcode the traffic by permitting only interesting traffic.
Please rate the helpfull posts.
Regards,
Naidu.
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