03-14-2018 08:32 PM - edited 03-08-2019 02:15 PM
HI, I'm working through the ccna voice lab manual, i have the setup on the router up to the point of getting DHCP setup on the router. I added the commands in the book to setup dhcp on the router but then it moves to testing the connectivity. It says to then connect a pc to the switch and check to see if it gets a DHCP assigned address out of the Data vlan. To me it seems like there would have to be some additional configuration on the switch for this to hand out DHCP addresses right? This is the ccna voice lab book, step 6, for anyone that may have it. Needless to say it did not receive any IP address out of the data vlan. I know I can just open the properties of the adapter and manually assign an address but I want to understand why its not working. I can post the output of the router and switch if needed.
Solved! Go to Solution.
03-16-2018 12:27 AM - edited 03-16-2018 01:27 AM
Hi,
You will have to debug dhcp traffic between your router and client. Run the following debug command on the router:
debug ip dhcp server packet detail
Thanks
John
03-14-2018 08:56 PM
Hi,
Post the config of the router and the switch.
Thanks
John
03-14-2018 09:15 PM
03-14-2018 09:16 PM
03-14-2018 10:20 PM
Hi,
You configs look fine. Can you confirm the vlan are created on the switch and active on the trunk. What is the output of "show vlan" and "show int trunk" on the switch?
thanks
John
03-14-2018 11:41 PM
Switch_1# Switch_1#sh vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Gi0/1, Gi0/2 10 Data active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 11 Management active 15 Voice active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 10 enet 100010 1500 - - - - - 0 0 11 enet 100011 1500 - - - - - 0 0 15 enet 100015 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
Switch_1#sh int trunk
Switch_1#sh int trunk
Switch_1#sh int trunk?
trunk
03-15-2018 12:16 AM
Hi,
Seems your trunk is not working. What interface on the switch connects to the router and what is the status of that interface?
Thanks
John
03-15-2018 01:27 PM
Complete rookie mistake, the interface on the router was down, I did a no shut on the port and now i get output from the sh int trunk command. Still getting an APIPA address for the ethernet connection to my computer instead of from the data VLAN. I'm connected to switchport 0/1, and to the fa0/1 port on the router.
Switch_1#sh int trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1-4094 Port Vlans allowed and active in management domain Fa0/1 1,10-11,15 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10-11,
03-16-2018 12:27 AM - edited 03-16-2018 01:27 AM
Hi,
You will have to debug dhcp traffic between your router and client. Run the following debug command on the router:
debug ip dhcp server packet detail
Thanks
John
03-16-2018 07:14 PM
I figured it out, turns out the connection was setup for fa0/0 and I was plugged into fa0/1. I moved the connection over and got addresses for the phone and pc. Thanks for the help!
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