WILDCARD MASKS
Hi people.
Am trying to understand some IOS firewall configs.
Can someone help me interpret these two lines?
access-list 102 deny host 255.255.255.255 any
access-list 102 deny host 0.0.0.0 any
Given that 'host' means a mask of 0.0.0.0
is it correct to rewrite them as
access-list 102 deny 255.255.255.255 0.0.0.0 any
access-list 102 deny 0.0.0.0 0.0.0.0 any ?
Does it then mean that the ACL is denying traffic from the hosts with ip addresses 255.255.255.255 and 0.0.0.0? If so,How are such IP's assigned to a host?
Any help is appreciated.
Am trying to understand some IOS firewall configs.
Can someone help me interpret these two lines?
access-list 102 deny host 255.255.255.255 any
access-list 102 deny host 0.0.0.0 any
Given that 'host' means a mask of 0.0.0.0
is it correct to rewrite them as
access-list 102 deny 255.255.255.255 0.0.0.0 any
access-list 102 deny 0.0.0.0 0.0.0.0 any ?
Does it then mean that the ACL is denying traffic from the hosts with ip addresses 255.255.255.255 and 0.0.0.0? If so,How are such IP's assigned to a host?
Any help is appreciated.
You were born to lead but have to become a leader just like you were born male but have to become a man-Myles Munroe.
Comments
-
dtlokee Member Posts: 2,378 ■■■■□□□□□□The case here is there should never be an address of 255.255.255.255 or 0.0.0.0 as the source IP address of a packet. The ACL you have shown is intended to drop traffic that has a spoofed (fake) source IP address of 255.255.255.255 or 0.0.0.0The only easy day was yesterday!
-
Mr.Ping Member Posts: 16 ■□□□□□□□□□Thanks DTLOKEE. Any ideas on which applications can assign such ip's?You were born to lead but have to become a leader just like you were born male but have to become a man-Myles Munroe.
-
rjbarlow Member Posts: 411dtlokee wrote:The case here is there should never be an address of 255.255.255.255 or 0.0.0.0 as the source IP address of a packet. The ACL you have shown is intended to drop traffic that has a spoofed (fake) source IP address of 255.255.255.255 or 0.0.0.0