10-19-2020 03:46 PM
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
10-19-2020 05:08 PM
Firstly try ping dhcp server, do you seccuss?
10-20-2020 12:36 AM
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
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