Compare cert salaries and plan your next career move
Chris_ wrote: » It's all possible with access lists. Why don't you have a go first with the help of some docs and then post your config up if you are having problems. It's always best to give it a go.
Router wrote: interface FastEthernet0/0 no ip address duplex auto speed auto ! interface FastEthernet0/0.10 encapsulation dot1Q 10 ip address 10.10.10.1 255.255.255.0 ip helper-address 10.10.40.10 ! interface FastEthernet0/0.20 encapsulation dot1Q 20 ip address 10.10.20.1 255.255.255.0 ip helper-address 10.10.40.20 ! interface FastEthernet0/0.30 encapsulation dot1Q 30 ip address 10.10.30.1 255.255.255.0 ip helper-address 10.10.40.30 ! interface FastEthernet0/0.40 encapsulation dot1Q 40 ip address 10.10.40.1 255.255.255.0 ! interface FastEthernet0/0.99 encapsulation dot1Q 99 native ip address 10.10.99.1 255.255.255.248 ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown
Router Access List Config wrote: Router(config)#access 110 permit ip 10.10.30.0 0.0.0.255 10.10.10.0 0.0.0.255 <<Allow users from VLAN 30 to access VLAN 10 Router(config)#access 110 deny ip 10.10.10.0 0.0.0.255 10.10.30.0 0.0.0.255 <<Deny users from VLAN 10 to access VLAN 30 Router(config)#access 110 permit ip 10.10.99.0 0.0.0.255 10.10.10.0 0.0.0.255 <<Allow users from VLAN 99 to access VLAN 10 Router(config)#access 110 deny ip 10.10.10.0 0.0.0.255 10.10.99.0 0.0.0.255 <<Deny users from VLAN 10 to access VLAN 99 Router(config)#access 110 permit ip any any <<Allow users from VLAN 10 to access the rest of the VLANs Router(config)#int fa0/0.10 Router(config-subif)#ip access-group 110 in
tomaifauchai wrote: » You're mixing up things now, if you apply an access list to the IN direction, you can't block vlan 30 or vlan 99 from entering subinterface 10, because it's considered OUT You can just control vlan 10 users by applying a IN acl and this is the way to go with extended ones. This is good Router(config)#access 110 deny ip 10.10.10.0 0.0.0.255 10.10.30.0 0.0.0.255 <<Deny users from VLAN 10 to access VLAN 30 Router(config)#access 110 deny ip 10.10.10.0 0.0.0.255 10.10.99.0 0.0.0.255 <<Deny users from VLAN 10 to access VLAN 99 Router(config)#access 110 permit ip any any <<Allow users from VLAN 10 to access the rest of the VLANs Router(config)#int fa0/0.10 Router(config-subif)#ip access-group 110 in You have to create an ACL 130 and apply it under fa0/0.30 interface IN and an ACL 199 under fa0/0.99 IN
Compare salaries for top cybersecurity certifications. Free download for TechExams community.