cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
588
Views
0
Helpful
1
Replies

Access list inbound and outbound traffic

Fida jlassi
Level 1
Level 1

Hi all,

Did this command "access-list 41 permit 192.168.143.0 0.0.0.255" allow outbound and inbound traffic from the range of IP address 192.168.140.0 0.0.0.255? or only the inbound traffic? I explain the device which is running this command had an IP 192.168.141.2, is it possible to access to the this router from this range of  IP address 192.168.143.64/27? thanks.

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

"Did this command "access-list 41 permit 192.168.143.0 0.0.0.255" allow outbound and inbound traffic from the range of IP address 192.168.140.0 0.0.0.255? or only the inbound traffic?"

It depends how the ACL is applied.  I.e. inbound or outbound.

As your ACL is a standard ACL, the ACL will match against source IP.  So it would permit traffic from 192.168.143.0/24.  Again, whether that's for inbound or outbound, depends on whether the ACL is applied for in or out.  It also depends on whether it's an ingress or egress interface.

"I explain the device which is running this command had an IP 192.168.141.2, is it possible to access to the this router from this range of  IP address 192.168.143.64/27? thanks."

Ah, but you didn't explain the topology or interface or in/out being used.  That said, 192.168.143.64/27 is a subset of 192.168.143.0/24.

Review Cisco Networking for a $25 gift card