I have been looking around and it seems list this would be a simple question so I am sorry if there is a duplicate somewhere.
I have a switch that is carrying a vlan 20 which is holding a /24 .
the network is 10.10.0.1 /24
ip access-list extended jimmys_wireless deny ip any 10.11.0.0 0.0.0.255 deny ip any 10.12.0.0 0.0.0.255 deny ip any 172.16.1.0 0.0.0.255 permit ip any any
I have tried doing something like
ip access-list extended jimmys_wireless permit ip any 10.10.0.0 0.0.0.255 permit ip any 10.10.0.1 0.0.0.255 # default gateway deny ip any any
I get an ip but cannot get out to the internet at all. this network should only have access to internet and its own network. I want this because if I change the network or add anything, I wound have to update the blacklist to deny it.
Edit I have this set this for in . I think I tried this for in and I couldn't get an IP.