cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2485
Views
5
Helpful
2
Replies

Devices behind Access switch 2960 not getting IP from DHCP

Hi,

The devices connected to 2960 are not getting ip addresses from windows dhcp server. IP helper is already configured. Below is the brief core and access switches config.

 

Core:

interface Port-channel1
description ** Uplink to Access Switches **
switchport mode trunk
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
no ip address
negotiation auto
!

 

interface GigabitEthernet2/0/47
description ** Uplink to Access-Switch **
switchport mode trunk

 

interface Vlan1
ip address 192.168.1.1 255.255.255.0

interface Vlan2
ip dhcp relay information trusted
ip address 172.16.16.1 255.255.255.0
ip helper-address 192.168.1.2

 

interface Vlan5
ip dhcp relay information trusted
ip address 172.16.225.1 255.255.255.0
ip helper-address 192.168.1.2

 

interface Vlan10
ip address 192.168.2.1 255.255.255.0

 

 

 

 

 

Access-Switch:

interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet1/0/1
switchport access vlan 2
switchport mode access
switchport voice vlan 1
spanning-tree portfast


interface GigabitEthernet1/0/24
description **Uplink to Core**
switchport mode trunk

 

interface Vlan1
no ip address
ip helper-address 192.168.1.2
!
interface Vlan10
ip address 192.168.2.6 255.255.255.0
!
ip default-gateway 192.168.2.1

 

 

 

 

2 Replies 2

Firstly try ping dhcp server, do you seccuss?

Hello,

 

the configuration of your access switch won't work. You can only have one active (management) Vlan interface on a layer 2 (access) switch. On the access switch, shut interface Vlan 1. Also, I would use a different Vlan the Vlan 1 as voice Vlan.

 

interface Vlan1
no ip address
--> shut

 

And put the ip helper information on the core switch only:

 

interface Vlan1
ip address 192.168.1.1 255.255.255.0

--> ip dhcp relay information trusted
--> ip helper-address 192.168.1.2

!

interface Vlan2
ip dhcp relay information trusted
ip address 172.16.16.1 255.255.255.0
ip helper-address 192.168.1.2

 

interface Vlan5
ip dhcp relay information trusted
ip address 172.16.225.1 255.255.255.0
ip helper-address 192.168.1.2

 

interface Vlan10
ip address 192.168.2.1 255.255.255.0

--> ip dhcp relay information trusted
--> ip helper-address 192.168.1.2

Review Cisco Networking for a $25 gift card