Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filtering between Vlans

Status
Not open for further replies.

dhibsystel

Technical User
Jan 30, 2007
254
TN
I have created 2 vlans ( vlan "data" and vlan "server")

I assigned IP address 172.16.10.1/24 to vlan "data" and 192.168.1.1/24 to vlan "server"
I want to block traffic betwwen the 2 vlans.
PC from vlan "data" can't communictate with PC from Vlan "server"

many thanks
 
don't enable ipforwarding on the 2 VLANs or is there other vlans that need to access these? If so use the create access-list command to deny traffic between these networks.

hope this helps
 
I have more than 2 vlans
I have about 20 vlans.

have you an idea about implementing acces list
 
create access-list deny_data ip dest 192.168.1.0/24 source 172.16.10.0/24 deny ports any
 
I use XOS

if I implement this ACL and I I reboot a switch.
is till take effect ?
 
If you implement the following ACL
create access-list deny_data ip dest 192.168.1.0/24 source 172.16.10.0/24 deny ports any
then save the changes by using the save command, it will still take effect after a reboot. If you do not save it, then after the reboot the command will be lost.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top