03-26-2008 03:22 PM - edited 03-03-2019 09:17 PM
I want to configure router map that will forward all 172.23.0.0 traffic out to particular interface. Which acl will cover all of the 172.23.0.0 traffic?
access-list 122 permit tcp 172.23.0.0 0.0.255.255 10.0.0.0 eq any
access-list 122 permit ip 172.23.0.0 0.0.255.255 10.0.0.0
thanks for the help.
Solved! Go to Solution.
03-26-2008 03:42 PM
No it won't because you also have UDP ports, ICMP traffic etc. that are not covered by TCP. So if you want all traffic use "permit ip"
Also i meant to ask last time, do you want to do PBR for
all traffic from 172.23.0.0 0.0.255.255 to 10.0.0.0
or
all traffic from 172.23.0.0 0.0.255 255 to any IP address. If this one you need to modify your access-list
access-list 122 permit ip 172.23.0.0 0.0.255.255 any
HTH
Jon
03-26-2008 03:26 PM
Hi
If you want all traffic from 172.23.0.0/16 to 10.0.0.0 then your second line but you need a subnet mask for 10.0.0.0 ie.
access-list 122 permit ip 172.23.0.0 0.0.255.255 10.0.0.0
or do you just want all TCP ports ?
HTH
Jon
03-26-2008 03:35 PM
I want to the acl to cover all traffic from 172.23.0.0, so I am kind of confused what the difference is between using the ip and tcp in this case. If I choose the access-list 122 permit tcp 172.23.0.0 0.0.255.255 10.0.0.0 0.0.0.255 eq any won't that be the same as
access-list 122 permit ip 172.23.0.0 0.0.255.255 10.0.0.0 0.0.0.255
03-26-2008 03:42 PM
No it won't because you also have UDP ports, ICMP traffic etc. that are not covered by TCP. So if you want all traffic use "permit ip"
Also i meant to ask last time, do you want to do PBR for
all traffic from 172.23.0.0 0.0.255.255 to 10.0.0.0
or
all traffic from 172.23.0.0 0.0.255 255 to any IP address. If this one you need to modify your access-list
access-list 122 permit ip 172.23.0.0 0.0.255.255 any
HTH
Jon
03-26-2008 03:44 PM
I just wanted to cover the 172.23.0.0 255.255.0 0 to 10.0.0.0 and not to any. Thanks for your help!!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide