I need help. I don't know what i did wrong because i have configured the dhcp pool, subinterfaces and dhcp relay agent. Gateway pc uses static ip address while Branch pc acquired their ip address through dhcp server which is the Gateway router. The only problem now is the pc on the Branch side is not getting the ip address.
--Gateway router--
ip dhcp excluded-address 192.168.1.0 192.168.1.5 ip dhcp excluded-address 202.188.1.0 202.188.1.5 ip dhcp excluded-address 172.16.1.0 172.16.1.5 ! ip dhcp pool ADMIN network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 ip dhcp pool STAFF network 202.188.1.0 255.255.255.0 default-router 202.188.1.1 ip dhcp pool GUEST network 172.16.1.0 255.255.255.0 default-router 172.16.1.1 ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface GigabitEthernet0/0/0 no ip address duplex auto speed auto ! interface GigabitEthernet0/0/0.10 encapsulation dot1Q 10 ip address 192.168.1.1 255.255.255.0 ! interface GigabitEthernet0/0/0.20 encapsulation dot1Q 20 ip address 202.188.1.1 255.255.255.0 ! interface GigabitEthernet0/0/0.30 encapsulation dot1Q 30 ip address 172.16.1.1 255.255.255.0 ! interface GigabitEthernet0/0/1 no ip address duplex auto speed auto shutdown ! interface GigabitEthernet0/0/2 no ip address duplex auto speed auto shutdown ! interface Serial0/1/0 ip address 10.0.0.1 255.255.255.252 clock rate 128000 ! interface Serial0/1/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router ospf 1 router-id 1.1.1.1 log-adjacency-changes network 10.0.0.0 0.0.0.3 area 0 network 192.168.1.0 0.0.0.255 area 0 network 202.188.1.0 0.0.0.255 area 0 network 172.16.1.0 0.0.0.255 area 0 ! ip classless !
--GWSwitch--
spanning-tree mode pvst spanning-tree extend system-id ! interface FastEthernet0/1 switchport access vlan 10 switchport mode access ! interface FastEthernet0/2 switchport access vlan 10 switchport mode access ! interface FastEthernet0/3 switchport access vlan 10 switchport mode access ! interface FastEthernet0/4 switchport access vlan 10 switchport mode access ! interface FastEthernet0/5 switchport access vlan 10 switchport mode access ! interface FastEthernet0/6 switchport access vlan 20 switchport mode access ! interface FastEthernet0/7 switchport access vlan 20 switchport mode access ! interface FastEthernet0/8 switchport access vlan 20 switchport mode access ! interface FastEthernet0/9 switchport access vlan 20 switchport mode access ! interface FastEthernet0/10 switchport access vlan 20 switchport mode access ! interface FastEthernet0/11 switchport access vlan 30 switchport mode access ! interface FastEthernet0/12 switchport access vlan 30 switchport mode access ! interface FastEthernet0/13 switchport access vlan 30 switchport mode access ! interface FastEthernet0/14 switchport access vlan 30 switchport mode access ! interface FastEthernet0/15 switchport access vlan 30 switchport mode access ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet0/1 switchport trunk native vlan 99 switchport mode trunk ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address shutdown ! ! ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! ! ! end
--Branch Router--
ip dhcp excluded-address 192.168.1.0 192.168.1.5 ip dhcp excluded-address 202.188.1.0 202.188.1.5 ip dhcp excluded-address 172.16.1.0 172.16.1.5 ! ip dhcp pool ADMIN ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface GigabitEthernet0/0/0 no ip address duplex auto speed auto ! interface GigabitEthernet0/0/0.10 encapsulation dot1Q 10 ip address 192.168.1.2 255.255.255.0 ip helper-address 10.0.0.1 ! interface GigabitEthernet0/0/0.20 encapsulation dot1Q 20 ip address 202.188.1.2 255.255.255.0 ip helper-address 10.0.0.1 ! interface GigabitEthernet0/0/0.30 encapsulation dot1Q 30 ip address 172.16.1.2 255.255.255.0 ip helper-address 10.0.0.1 ! interface GigabitEthernet0/0/1 no ip address duplex auto speed auto shutdown ! interface GigabitEthernet0/0/2 no ip address duplex auto speed auto shutdown ! interface Serial0/1/0 ip address 10.0.0.2 255.255.255.252 ! interface Serial0/1/1 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! router ospf 1 router-id 2.2.2.2 log-adjacency-changes network 10.0.0.0 0.0.0.3 area 0 network 192.168.1.0 0.0.0.255 area 0 network 202.188.1.0 0.0.0.255 area 0 network 172.16.1.0 0.0.0.255 area 0 !
--BSwitch--
interface FastEthernet0/1 switchport access vlan 10 switchport mode access ! interface FastEthernet0/2 switchport access vlan 10 switchport mode access ! interface FastEthernet0/3 switchport access vlan 10 switchport mode access ! interface FastEthernet0/4 switchport access vlan 10 switchport mode access ! interface FastEthernet0/5 switchport access vlan 10 switchport mode access ! interface FastEthernet0/6 switchport access vlan 20 switchport mode access ! interface FastEthernet0/7 switchport access vlan 20 switchport mode access ! interface FastEthernet0/8 switchport access vlan 20 switchport mode access ! interface FastEthernet0/9 switchport access vlan 20 switchport mode access ! interface FastEthernet0/10 switchport access vlan 20 switchport mode access ! interface FastEthernet0/11 switchport access vlan 30 switchport mode access ! interface FastEthernet0/12 switchport access vlan 30 switchport mode access ! interface FastEthernet0/13 switchport access vlan 30 switchport mode access ! interface FastEthernet0/14 switchport access vlan 30 switchport mode access ! interface FastEthernet0/15 switchport access vlan 30 switchport mode access ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet0/1 switchport mode trunk ! interface GigabitEthernet0/2 !