03-19-2013 12:00 AM - edited 03-07-2019 12:20 PM
1) I have configured two vlan on my core switch(VLAn-100, VLAN-200)
2) HTTP , SMTP(mail server) & PC1 are there in vlan 100
3) PC4,PC5 & PC6 are there in vlan 200
what access-list should be created to below task:-
1) PC4 & PC5 in vlan 200 should be access only http server in vlan-100
can be access to Internet
2) PC6 in vlan 200 should be access only smtp server in vlan 100
can not be access to internet
3) PC1 in vlan 100 should not be access to any host in vlan 200 but it can be access to Internet
please find the network image for reference....
Regards
Suhas B.
03-19-2013 01:03 AM
Hello
VACL's are only be used for filtering traffic within the same vlan.
However RACL's should be able to accomplish your request
Re
Paul
Sent from Cisco Technical Support iPad App
03-21-2013 07:55 PM
Hi Pdriver,
can you help me, give me basic idea to creat that RACL...
Regards'
Suhas
03-22-2013 02:25 AM
Hello
access-list 100 remark Allow PCs 4-5-6 to HTTP&SMTP in vlan 100
access-list 100 permit tcp host 10.10.200.10 host 10.10.100.50 eq 80
access-list 100 deny ip host 10.10.200.10 any
access-list 100 permit tcp host 10.10.200.11 host 10.10.100.50 eq 80
access-list 100 deny ip host 10.10.200.11 any
access-list 100 permit tcp host 10.10.200.12 host 10.10.100.50 eq 25
access-list 100 deny ip host 10.10.200.12 any
access-list 100 permit ip any any
access-list 101 remark Deny PC1 to vlan 200
access-list 101 deny ip host 10.10.100.10 any
access-list 101 permit ip any any
interface Vlan100
ip access-group 101 in
interface Vlan200
ip access-group 100 in
Please don't forget to rate any posts that have been helpful.
Thanks.
03-22-2013 09:50 PM
Hi Pdriver,
u r information is helpful.
but u have created access-list 101 only for host 10.10.100.10
i want to deny all traffic from vlan 100 to vlan 200 & i have created following access-list
* access-list 101 deny ip 10.10.100.0 0.0.0.255 10.10.200.0 0.0.0.255
* access-list 101 permit ip any any
& apply to
interface vlan 100
ip access-group 101 in
but the problem that all traffic from vlan 200 to vlan 100 is restricted
that's why I apply
interface vlan 100
IP access-group 101 out
now vlan 200 hosts can access vlan 100 HTTP server and vlan 100 not access to vlan 200
please correct me...is this ok or not
Regards
Suhas
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