I am building this topology here my PC here should receive ip from central router via DHCP. My PC is on vlan10 and port between switch and office router is trunked on vlan10. DHCP pool is created on central router. office router port fa0/0.10 is on ip 192.168.1.1 and I have configured ip-helper for this port to be 10.0.0.2. But my PC still doesn’t get the ip from central server
Topology Photo
Central router config
Router1> enable
Router1# configure terminal
Router1(config)# interface FastEthernet0/0
Router1(config-if)# ip address 10.0.0.2 255.255.255.0
Router1(config-if)# no shutdown
Router1(config-if)# exit
Router1(config)# ip dhcp pool VLAN10
Router1(dhcp-config)# network 192.168.1.0 255.255.255.0
Router1(dhcp-config)# default-router 192.168.1.1
Router1(dhcp-config)# dns-server 8.8.8.8
Router1(dhcp-config)# exit
Router1(config)# ip dhcp excluded-address 192.168.1.1 192.168.1.1
Router1(config)# exit
Office router config
Router0> enable
Router0# configure terminal
Router0(config)# interface FastEthernet0/0.10
Router0(config-subif)# encapsulation dot1Q 10
Router0(config-subif)# ip address 192.168.1.1 255.255.255.0
Router0(config-subif)# exit
Router0(config)# interface FastEthernet0/1
Router0(config-if)# ip address 10.0.0.1 255.255.255.0
Router0(config-if)# no shutdown
Router0(config-if)# exit
Router0(config)# interface FastEthernet0/0.10
Router0(config-subif)# ip helper-address 10.0.0.2
Router0(config-subif)# exit
Router0(config)# exit
Switch config
Switch> enable
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# name v10
Switch(config-vlan)# exit
Switch(config)# interface FastEthernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# exit
Switch(config)# interface FastEthernet0/2
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan 10
Switch(config-if)# exit
Switch(config)# exit