11-03-2014 04:03 AM
Hi all
I need your help
I have a Cisco SG500 (yeah I know, budget issues) which acts as L3 has 3 Vlans 200,300,400. If I configure all client nodes with static IP's, I'm able to ping between vlan's. Now that is not practical. I need to get automatic IP's on VLAN 200 and 300. I have to setup a DHCP server which I have on a Windows 2008R2 server with the correct settings. The problem is I'm not able to get any IP's on my client. PLEASE HELP
Following is my switch config
v1.3.5.58 / R750_NIK_1_35_647_358
CLI v1.0
set system mode router queues-mode 4
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 200,300,400
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
no ip arp proxy disable
ip dhcp relay address 10.2.2.21
ip dhcp relay enable
ip dhcp information option
bonjour interface range vlan 1
hostname Switch
logging console alerts
username cisco password encrypted
!
interface vlan 1
ip address 10.6.1.200 255.255.255.0
no ip address dhcp
!
interface vlan 200
ip address 10.2.2.1 255.255.255.0
!
interface vlan 300
ip address 10.3.1.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 400
name Switch1-VLAN
ip address 10.4.1.1 255.255.255.0
!
interface gigabitethernet1/1/1
ip address 192.168.1.100 255.255.255.0
!
interface gigabitethernet1/1/2
description Link_to_WLC2504
storm-control broadcast enable
storm-control broadcast level 10
spanning-tree link-type point-to-point
macro description "router "
macro auto smartport type router $native_vlan 1
!
interface gigabitethernet1/1/3
switchport trunk allowed vlan add 200,300
!
interface gigabitethernet1/1/4
spanning-tree disable
switchport mode access
switchport access vlan 300
!
interface gigabitethernet1/1/5
switchport mode access
switchport access vlan 300
!
interface gigabitethernet1/1/6
switchport mode access
switchport access vlan 300
!
interface gigabitethernet1/1/7
switchport mode access
switchport access vlan 300
!
interface gigabitethernet1/1/24
switchport mode access
switchport access vlan 200
!
interface gigabitethernet1/1/47
switchport mode access
switchport access vlan 300
!
interface gigabitethernet1/1/48
spanning-tree disable
switchport mode access
switchport access vlan 400
!
exit
ip helper-address all 10.2.2.21 37 42 49 53 137 138
ip default-gateway 10.6.1.1
Switch# exit
11-03-2014 04:32 AM
Hi,
I see that your DHCP server is on VLAN 200 and relay is set only on VLAN 300. So I guess on 200 is working fine as it is the same broadcast domain.
And when you are testing on VLAN 300 can you do packet capture on Windows 2008 server?
Note: perhaps Windows server DHCP services needs to be restarted after configuration.
Regards ,
Aleksandra
03-19-2016 01:48 PM
Hi,
I understand this post is from a year ago. Were you able to find out what's wrong? I'm facing the same problem.
Thanks!
11-15-2017 09:09 AM
Fix the problem use this.
The Cisco SMB switches operate differently.
The IP Helper command on these units is just for UDP forwarding of odd services.
There are dedicated commands for DHCP relay:
ip dhcp relay address XXX.XX.XX.XX
ip dhcp relay enable
ip dhcp information option
ipv6 dhcp relay destination XXXX:XXX:XXXX:XX:XX
Then, on each SVI, you enable DHCP Relay as needed (you do not enable DHCP relay on the SVI directly connected to the DHCP server):
interface vlan XX
ip dhcp relay enable
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