I have the following config:
ip dhcp pool Vlan10 network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 interface GigabitEthernet0/0 ! interface GigabitEthernet0/0.10 encapsulation dot1Q 10 ip address 192.168.1.1 255.255.255.0 ip nat inside description TrunkToSwitch int FastEthernet0/0 switchport access vlan 10
DHCP doesn't give IP to the PC connected to int f0/0. I cannot use the switch because from g0/0 because it's on another building. What am I doing wrong?