access list urgent help

I want vlan 90 to be able to connect to 192.168.40.0/25 only
and 192.168.40.0/24 can be able to talk with vlan 90 as well

below is my config
client 192.168.40.200 is unable to ping to 192.168.90.99
what might be the problem

i am able to ping to both clients from router

!
interface FastEthernet0.40
 encapsulation dot1Q 40
 ip address 192.168.40.1 255.255.255.0
!
interface FastEthernet0.50
 encapsulation dot1Q 50
 ip address 192.168.50.1 255.255.255.0
!
interface FastEthernet0.60
 encapsulation dot1Q 60
 ip address 192.168.60.1 255.255.255.0
!
interface FastEthernet0.70
 encapsulation dot1Q 70
 ip address 192.168.70.1 255.255.255.0
!
interface FastEthernet0.80
 encapsulation dot1Q 80
 ip address 192.168.80.1 255.255.255.0
!
interface FastEthernet0.90
 encapsulation dot1Q 90
 ip address 192.168.90.1 255.255.255.0
 ip access-group 1 out
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.2
no ip http server
!
access-list 1 permit 192.168.90.0 0.0.0.255
access-list 2 permit 192.168.40.0 0.0.0.255
ammadeyy2020Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Don JohnstonConnect With a Mentor InstructorCommented:
First, without the ACL's, can the 90.0 devices ping the 40.0 devices?

Second, you need access-list 2 applied outbound on f0.90 interface and access-list 1 applied outbound on f0.40 interface.
0
All Courses

From novice to tech pro — start learning today.