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

DHCP relay partially working

tschertel
Level 1
Level 1

I have a CSB350, where I've created a VLAN and gave an IP to it (192.168.103.5), then enabled DHCP Relay to this VLAN.
But it doesn't work so far. I can see (using wireshark) the Discover reaching the DHCP server and the Discover/Offer being sent to the client. But the client gets nothing from the DHCP server.
Just to be clear, I'm not a network focused guy. But I'm the IT guy here.

My config is:

Hyper-V VM running the production DHCP server (192.168.93.2), with two scopes, the main 192.168.93.0/24 scope and the scope to this VLAN, 192.168.103.0/24. This scope goes from .10 to .100.
In other Hyper-V I have the client, with a dedicated Virtual Switch attached directly to the switch VLAN port.

The switch DHCP server port is configured as TRUNK.
The switch client port is configured as access.

Client sending the discover:

tschertel_0-1669822130817.png

DHCP server receiving the discover and sending back the offer:

tschertel_1-1669822178290.png

Inside the discover package:

tschertel_2-1669822378992.png

Inside the offer package:

tschertel_3-1669822407393.png

 

What's missing to make it work?

Thanks for your help.

2 Replies 2

Hi,

Are you able to connect to console port, access with putty and run show running-config command and paste here?

tschertel
Level 1
Level 1

switchf27fed#show running-config
config-file-header
switchf27fed
v3.1.1.7 / RCBS3.1_930_871_081
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink te
unit-type unit 2 network gi uplink te
unit-type unit 3 network gi uplink te
unit-type unit 4 network gi uplink te
unit-type-control-end
!
vlan database
vlan 103
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
ip dhcp relay address 192.168.93.2
ip dhcp relay enable
bonjour interface range vlan 1
hostname switchf27fed
username
ip ssh server
ip http timeout-policy 0 http-only
ip domain name medok.local
ip name-server 192.168.93.3 192.168.93.2
!
interface vlan 1
ip address 192.168.93.30 255.255.255.0
no ip address dhcp
!
interface vlan 103
ip address 192.168.103.5 255.255.255.0
ip dhcp relay enable
!
interface GigabitEthernet1/0/34
description "DHCP Client VLAN 103"
ip dhcp snooping trust
switchport access vlan 103
switchport trunk native vlan 103
!
interface GigabitEthernet1/0/36
description "DHCP server"
ip dhcp snooping trust
!
exit
ip dhcp snooping
no ip dhcp snooping verify
ip dhcp snooping information option allowed-untrusted
ip dhcp information option
switchf27fed#