cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1505
Views
0
Helpful
6
Replies

Unable to connect to DHCP in InterVLAN Routing..

huud
Level 1
Level 1

Hi,

 

I'm kind of stuck with this currently.

 

What I have is a simple configuration, a PC in a VLAN 55, the DHCP server in another VLAN 44, Router-On-A-Stick configuration, the default gateway is setup on both the switch and the DHCP server, IP routes are set on sub-interfaces, but still the PC is unable to get an IP from the DHCP.

 

Router, Switch and DHCP Server are in the same network 192.168.10.0, DHCP server is configured with IP Pool 172.168.0.1 for 512 users. The connection between switch is trunk.

 

Am I missing something.

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

I found below issues with your lab:

 

1. DHCP Scope was not added for VLAN 55 on the DHCP server. 

2. Default Gateway was not mentioned on the DHCP Server.

3. IP Helper-Address was not mentioned on the Router Subinterface (VLAN 55).

 

Please find attached file as your working lab.

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

 

Post router configuration. 

 

Jon

Building configuration...

 

Current configuration : 910 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

spanning-tree mode pvst

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface FastEthernet0/1.44

encapsulation dot1Q 44

ip address 192.168.10.1 255.255.255.0

!

interface FastEthernet0/1.55

encapsulation dot1Q 55

ip address 172.168.10.1 255.255.0.0

!

interface Vlan1

no ip address

shutdown

 

ip classless

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

ip route 172.168.0.0 255.255.0.0 FastEthernet0/1.44

ip route 192.168.10.0 255.255.255.0 FastEthernet0/1.55

 

ip flow-export version 9

line con 0

line aux 0

line vty 0 4

login

end

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

I found below issues with your lab:

 

1. DHCP Scope was not added for VLAN 55 on the DHCP server. 

2. Default Gateway was not mentioned on the DHCP Server.

3. IP Helper-Address was not mentioned on the Router Subinterface (VLAN 55).

 

Please find attached file as your working lab.

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thanks for the clarifying the mistake, your file is NOT compatible with my version.

 

I did add the DHCP scope for 172 network in serverpool, does it mean I have to name the pool as VLAN 55 ?

Thank you for pointing out the errors, appreciate your help.

Hello,

 

on a side note, if you install the latest/highest version of Packet Tracer (which is currently 7.2) you can open all files including those made with lower versions...