Cisco IOS access-list involving DHCP IP address [on hold]

        I want to setup an access-list to grant access to a service bound to a specific interface's IP. However, that interface has its IP address assigned via DHCP. So I do not know what IP address or even the subnet that it will be on. How can I make an access-list that allows certain traffic to reach the interface?
interface Gi0
 ip address dhcp
interface Gi1
 ip address
 ip access-group only-allow-access-Gi0 in

Leave Your Comment

Leave a Reply

%d bloggers like this: