10-26-2018 12:07 AM - edited 10-26-2018 12:10 AM
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.
Solved! Go to Solution.
10-26-2018 12:21 AM - edited 10-26-2018 12:28 AM
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
10-26-2018 12:11 AM
Post router configuration.
Jon
10-26-2018 12:25 AM
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
10-26-2018 12:21 AM - edited 10-26-2018 12:28 AM
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
10-26-2018 12:30 AM
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 ?
10-26-2018 12:33 AM
Thank you for pointing out the errors, appreciate your help.
10-26-2018 12:48 AM
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide