how to deny incoming packet with internal source ip address

Feb 01, 2007 3 Replies

Hello,



When a router gets an incoming packet with source ip address that belongs to the router's subnet, what should happen?



I understand that it is wrong, but I am having a problem where some time the packet gets discarded but other time it gets through. I don't know why. I think it has something to do with the router's configuration but cannot determine which one (it may be the access- list configuration).



Any idea? Thank you very much.



John



Thanks. One of the router's interface is 10.10.0.20 and the router discards the packets with source ip address 10.10.0.10 from external for example. The ACL configuration in the router is 'access-list 5 permit 10.10.0.0 0.0.7.255'. I am not sure if it does the job. And, do you think if I add 'access-list 5 permit any' will make the packet through?

Thanks, John

You are right in that it probably has something to do with access-lists. Why don't you post your router's config (mask out any real IP's).

I am not clear about your configuration or what you want to achieve, but you should have something like:

access-list 5 deny 10.10.0.0 0.0.0.255 . < ...Other statements....>

access-list 5 permit any

and apply it to your incoming traffic.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required