Не могу заставить работать DHCP relay на DES-3828.
Код:
config vlan default delete 1-28
config vlan default advertisement disable
create vlan Access tag 2
config vlan Access add untagged 1-24
config vlan Access advertisement disable
create vlan Trunk tag 33
config vlan Trunk add untagged 27-28
config vlan Trunk advertisement disable
...
config ipif System vlan default ipaddress 10.90.90.90/8 state disable proxy_arp disable
create ipif Access 192.168.150.49/28 Access state enable proxy_arp disable
create ipif Trunk 192.168.151.66/30 Trunk state enable proxy_arp disable
...
enable dhcp_relay
config dhcp_relay hops 4 time 0
config dhcp_relay option_82 state enable
config dhcp_relay option_82 check enable
config dhcp_relay option_82 policy replace
config dhcp_relay add ipif Access 192.168.151.52
Хост подключен к 1-му порту, делает запрос DHCP Discover, сервер отвечает Offer, но Offer не доходит до хоста.
tcpdump на dhcp-сервере:
Код:
IP (tos 0x10, ttl 15, id 1648, offset 0, flags [none], length: 328) 192.168.151.66.68 > 192.168.151.52.67: [udp sum ok] BOOTP/DHCP, Request from 00:03:47:ba:0d:5d, length: 300, hops:1, xid:0x485c7359, flags: [none]
Gateway IP: 192.168.150.49
Client Ethernet Address: 00:03:47:ba:0d:5d
Vendor-rfc1048:
DHCP:DISCOVER
RQ:192.168.152.2
HN:"ThinkPad"
PR:SM+BR+TZ+DG+DN+NS+HN
ACKT:1.6.0.4.0.2.0.1.2.8.0.6.0.19.70.130.8.0
IP (tos 0x0, ttl 64, id 49948, offset 0, flags [none], length: 327) 192.168.151.52.67 > 192.168.151.66.68: [udp sum ok] BOOTP/DHCP, Reply, length: 299, hops:1, xid:0x485c7359, flags: [none]
Your IP: 192.168.150.50
Gateway IP: 192.168.150.49
Client Ethernet Address: 00:03:47:ba:0d:5d
Vendor-rfc1048:
DHCP:OFFER
SID:192.168.151.52
LT:600
SM:255.255.255.240
BR:192.168.150.63
TZ:21600
DG:192.168.150.49
DN:"domain.ru"
NS:192.168.151.35,192.168.150.2