cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
968
Views
3
Helpful
6
Replies

Help with DHCP - Apipa being used

Repsak008
Level 1
Level 1

Hi everyone, 

I am having trouble with an assignment my instructor have given me. 

In this assignment i have to configure different things: VLAN, Inter-VLAN routing, OSPF, NAT etc. 

Right now i have setup VLANs, trunks, etherchannels, RSTP, Portfast & BPDU, port-security, Inter-VLAN, HSRP and OSPF - it is very certain that i have probably configured something wrong.. 

But right now i am trying to configure DHCPv4 and PC2 and PC4 needs to receive their IP-addresses from DHCP. 

I have configured router GW-R2 with the following:

GW-R2(config)#ip dhcp excluded-address 201.10.2.1 201.10.2.3

GW-R2(config)#ip dhcp pool GUEST

GW-R2(dhcp-config)#network 201.10.2.0 255.255.255.0

GW-R2(dhcp-config)#dns-server 201.10.10.10

GW-R2(dhcp-config)#default-router 201.10.2.1

GW-R2(dhcp-config)#domain-name H2aflevering.net

And router HQ-R3 and HQ-R4 with the following:

HQ-R3(config)#interface gi0/0/1.20

HQ-R3(config-subif)#ip helper-address 201.10.23.1

HQ-R4(config)#interface gi0/0/1.20

HQ-R4(config-subif)#ip helper-address 201.10.23.1

But it is not working. I am novice with this kind of work and i was hoping someone could find the time to take a look at my work so far. I have uploaded my packet tracer file and the layer 2 and layer 3 drawing i have received from my instructor. 

1 Accepted Solution

Accepted Solutions

It should. I also attached the file and it is working for me here. Take a look and compare the config.

Basically it work with adding the additional route on the OSPF, adding the ip helper-address on the interface and creating a new DHCP scope for Office.

Anything else seems to be ok.

View solution in original post

6 Replies 6

Repsak008
Level 1
Level 1

I forgot to mention that my instructor made an error in his drawings of the network: 

201.10.10.0/30 - It is supposed to be /24

201.10.23.0/30 - It is supposed to be /24

201.10.24.0/30 - It is supposed to be /24

Hi

  On the  HQ-R3 you forgot to add one route on the OSPF.

 

router ospf 10

router-id 2.2.2.2

log-adjacency-changes

network 201.10.23.0 0.0.0.255 area 0

network 201.10.1.0 0.0.0.255 area 0

network 201.10.34.0 0.0.0.3 area 0

network 201.10.2.0 0.0.0.255 area 0

 

And, for Vlan 10, you forgot the ip helper-address on the interface

 

 

interface GigabitEthernet0/0/1.10

description SUB-VLAN10

encapsulation dot1Q 10

ip address 201.10.1.2 255.255.255.0

ip helper-address 201.10.23.1

ipv6 address FE80::3 link-local

ipv6 address 2001:DB8:55:1::2/64

standby version 2

standby 1 ip 201.10.1.1

standby 1 priority 150

standby 1 preempt

standby 2 ipv6 autoconfig

standby 2 priority 150

standby 2 preempt

!

and you need to create on more DHCP scopo on the Router

 


!
ip dhcp excluded-address 201.10.1.1 201.10.1.3
!
ip dhcp pool OFFICE
network 201.10.1.0 255.255.255.0
default-router 201.10.1.1
dns-server 201.10.10.10
domain-name H2aflevering.net
!
!

 

Hi Flavio, 

Thank you for your reply - and your help It is appreciated. 

I corrected my configuration with your instructions but i unfortunately still cannot get PC2 and PC4 to get an IP address from DHCP. 

It should. I also attached the file and it is working for me here. Take a look and compare the config.

Basically it work with adding the additional route on the OSPF, adding the ip helper-address on the interface and creating a new DHCP scope for Office.

Anything else seems to be ok.

Thanks again Flavio I really am a novice.. I used part of your configuration on the wrong interface.... My bad. 

I really appreciate your help and especially your explanation - i get what i was doing wrong now  

I hope you have a nice weekend! 

@Repsak008 

 Great. Glad you find out. Go for it, you are on the right path. This topology was not simple and you did most of the job right. Congrats

 Have a lovely weekand yourself