cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
374
Views
0
Helpful
2
Replies

why I am not getting ip on downstream switches? is there any  config

krahulbgp
Level 1
Level 1

Configured DHCP on R3 .why I am not getting ip on downstream switches? is there any  config left ? 

 

Router(config)#do sh running-config

Building configuration...

 

Current configuration : 707 bytes

!

version 15.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Router

!

 

ip dhcp excluded-address 10.0.0.2 10.0.0.100

!

ip dhcp pool Rahul

network 10.0.0.0 255.0.0.0

default-router 10.0.0.1

dns-server 10.0.0.1

!Q4.PNG

2 Replies 2

Hello,

 

What is the IP address and mask of the interface connected to the switch? It should be 10.0.0.1 255.0.0.0 This is how the router knows how to hand out ip addresses in that range to hosts in that subnet and what interface to use. If that is configured can you provide the full show run of the router and one of the switches?

 

-David

balaji.bandi
Hall of Fame
Hall of Fame
Configured DHCP on R3 .why I am not getting ip on downstream switches? is there any  config left ? 

make sure you also exclude gateway IP.

 

ip dhcp excluded-address 10.0.0.1 10.0.0.100

 

If all the switches are Layer 2 ( all in VLAN 1) the end node get IP address from Router3 DHCP Server.

 

Make sure you have right config on Switch 3 connected port to Router 3

 

example config :

 

Switch0(config)# interface gigabitethernet 0/0
Switch0(config-if)# switchport trunk encapsulation dot1q
Switch0(config-if)# switchport mode trunk


Router3(config)# interface gigabitethernet0/0
Router3(config-if)# no ip address
Router3(config-if)# interface gigabitethernet0/0.1
Router3(config-subif)# encapsulation dot1q 1 native
Router3(config-subif)# ip address 10.0.0.1 255.0.0.0

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card