Aruba & ProVision-based
1753822 Members
9326 Online
108805 Solutions
New Discussion

HP-5406zl access list

 
ladopetrucci
Occasional Visitor

HP-5406zl access list

hellow

 

i m lado from georgia

 

please tell me if you can, i have 4 group vlan, 192.168.1.0, 192.168.2.0, 192.168.3.0, 192.168.4.0 and i want to block vlan group 192.168.4.0 users, that they can not comunicate with other vlan groups. how i can make this? with access-list? i dont know commands to do this. please if you undarstand what i mean help me

 

best regards, 

lado

5 REPLIES 5
Vince-Whirlwind
Honored Contributor

Re: HP-5406zl access list

ip access-list extended "block-subnet-4"
deny ip 192.168.4.0 0.0.0.255 any
permit ip any any

vlan 4
ip access-group block-subnet-4 in

ladopetrucci
Occasional Visitor

Re: HP-5406zl access list

I have made this commands, and the Vlan 192.168.4.0 users cannot connect to the enternet, i want that they can conncet enternet but cannot comunicate with other vlan groups,  for example, 192.168.4.0 vlan group user cannot ping 192.168.3.0, 192.168.2.0, 192.168.1.0 vlan groups, is it possible?

Vince-Whirlwind
Honored Contributor

Re: HP-5406zl access list

Just replace the "any" in the deny line with a subnet you want to block, eg, "192.168.0.1 0.0.0.255".
Create another deny line for each subnet you need blocked.

ladopetrucci
Occasional Visitor

Re: HP-5406zl access list

thank you very much, 

 

and if you can tell me

 

if i want to permit Specific  IP ADDRESS from 192.168.4.0 vlan group , i can do this :

 

"permit ip 192.168.4.x 0.0.0.255 192.168.0.1 0.0.0.255" ?

 

Vince-Whirlwind
Honored Contributor

Re: HP-5406zl access list

Specific host to anything in the 192.168.1.0/24 subnet:

 permit ip host 192.168.4.43 192.168.1.0 0.0.0.255

 

Specific host to specific host:

 permit ip host 192.168.4.43 host 192.168.1.21

 

Put the most specific lines at the top of the list, so the logic is:

 permit specific host

 deny all other hosts