07-31-2017 03:11 AM - edited 03-01-2019 04:39 AM
Hi All,
I have some problems regarding getting dhcp config for switch.
I have topology: DHCP server (192.168.1.50) <-- GRE over IPsec--> Router <--------> Switch.
Router config:
interface GigabitEthernet0/0/1.99
description Mgmt
encapsulation dot1Q 99
vrf forwarding VRF-NAME
ip address X.X.1.1 255.255.255.248
ip helper-address global 192.168.1.50
no ip redirects
no ip proxy-arp
pnp startup-vlan 99.
When switch booted Pnp creating configuration:
vlan 99
interface vlan 99
ip address dhcp
interface GigabitEthernet1/0/1
switchport access vlan 99
macro description CISCO_SMI_EVENT
Switch is not getting IP from DHCP.
I tried to configure dhcp server locally on router:
ip dhcp pool SW_Provisioning
vrf VRF
network XXX.XXX.1.0 255.255.255.248
default-router XXX.XXX.1.1
option 43 ascii "5A1N;B2;K4;IXXX.XXX.XXX.XXX;J80"
And got same result - fail.
Switch which I'm using is - 2960X Version 15.2(2)E6.
One thing that I'm aware of is that switchport access vlan 99 shouldn't be on the switch trunk port, it should be something like switchport mode trunk because router subinterface is tagged.
Any suggestions?
Solved! Go to Solution.