Мучаю MES1124M, прошивка 1.1.47
Клиент не получает ответ от DHCP сервера. В логах сервера только DHCPOFFER в ответ на DHCPREQUEST.
Дамп на стороне сервера:
Код: Выделить всё
15:19:54.796914 IP (tos 0x0, ttl 63, id 62591, offset 0, flags [none], proto UDP (17), length 353)
192.168.222.253.68 > 172.28.32.59.67: [udp sum ok] BOOTP/DHCP, Request from e8:11:32:c8:ef:85, length 325, hops 1, xid 0xeb54e76f, secs 3072, Flags [Broadcast] (0x8000)
Gateway-IP 192.168.222.253
Client-Ethernet-Address e8:11:32:c8:ef:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether e8:11:32:c8:ef:85
Hostname Option 12, length 8: "user9180"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 12:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Agent-Information Option 82, length 23:
Circuit-ID SubOption 1, length 13: eth 100/1:460
Remote-ID SubOption 2, length 6: M-(M-yK,M-BM-@
END Option 255, length 0
PAD Option 0, length 0, occurs 13
15:19:54.797179 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 407)
172.28.32.59.67 > 192.168.222.253.67: [bad udp cksum 8afa!] BOOTP/DHCP, Reply, length 379, hops 1, xid 0xeb54e76f, secs 3072, Flags [Broadcast] (0x8000)
Your-IP 192.168.18.199
Gateway-IP 192.168.222.253
Client-Ethernet-Address e8:11:32:c8:ef:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 172.28.32.59
Lease-Time Option 51, length 4: 7200
Subnet-Mask Option 1, length 4: 255.255.255.0
Domain-Name Option 15, length 15: "DVGK.rao-esv.ru"
Default-Gateway Option 3, length 4: 192.168.18.254
Domain-Name-Server Option 6, length 8: 172.28.32.90,172.28.32.93
Netbios-Name-Server Option 44, length 8: 172.28.32.90,172.28.32.93
Netbios-Node Option 46, length 1: h-node
Classless-Static-Route Option 121, length 21: (192.168.0.0/16:192.168.18.254),(172.16.0.0/12:192.168.18.254),(10.100.0.0/16:192.168.18.254)
Classless-Static-Route-Microsoft Option 249, length 21: (192.168.0.0/16:192.168.18.254),(172.16.0.0/12:192.168.18.254),(10.100.0.0/16:192.168.18.254)
Agent-Information Option 82, length 23:
Circuit-ID SubOption 1, length 13: eth 100/1:460
Remote-ID SubOption 2, length 6: M-(M-yK,M-BM-@
END Option 255, length 0
Клиентские порт и влан - fa1/0/1 и 460
Аплинк - gi1/0/4 и 450
Конфиг коммутатора:
Код: Выделить всё
console#show run
ip dhcp relay address 172.28.32.59
ip dhcp relay enable
ip dhcp information option
ip dhcp relay information option suboption-type custom
ip dhcp snooping
ip dhcp snooping information option allowed-untrusted
ip dhcp snooping vlan 460
!
vlan database
vlan 450,460
exit
!
interface fastethernet 1/0/1
switchport access vlan 460
exit
!
interface gigabitethernet 1/0/4
switchport mode trunk
switchport trunk allowed vlan add 450,460
exit
!
interface vlan 450
ip address 192.168.222.253 255.255.255.0
exit
!
interface vlan 460
ip dhcp relay enable
exit
!
ip default-gateway 192.168.222.254
!
console#
Debug:
Код: Выделить всё
DHCPP_relay_msg: in function
DHCP Relay: rx request - src IP 0.0.0.0
giaddr 0.0.0.0
DHCP Relay: DHCPP_bootp_oper_req_CNS case
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCP Relay: tx - scr IP (giaddr) 192.168.222.253, dst IP 172.28.32.59
DHCPP_relay_msg: in function
DHCP Relay: rx reply - src IP 172.28.32.59
giaddr 192.168.222.253
DHCP Relay: DHCPP_bootp_oper_rep_CNS case
out_ipif_id - 3909c20
input interface - 3909c20
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCPP_option82: unknown remoteIdType 168
DHCPP_is_dhcp_relay_active_on_ifindex: relay is disables on ifIndex - 100449
DHCP Relay req: wrong relay mode - 1 on ifIndex - 100449
DHCPP_relay_msg: in function
DHCP Relay: rx request - src IP 0.0.0.0
giaddr 0.0.0.0
DHCP Relay: DHCPP_bootp_oper_req_CNS case
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCP Relay: tx - scr IP (giaddr) 192.168.222.253, dst IP 172.28.32.59
DHCPP_relay_msg: in function
DHCP Relay: rx reply - src IP 172.28.32.59
giaddr 192.168.222.253
DHCP Relay: DHCPP_bootp_oper_rep_CNS case
out_ipif_id - 3909c20
input interface - 3909c20
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCPP_option82: unknown remoteIdType 168
DHCPP_is_dhcp_relay_active_on_ifindex: relay is disables on ifIndex - 100449
DHCP Relay req: wrong relay mode - 1 on ifIndex - 100449
DHCPP_relay_msg: in function
DHCP Relay: rx request - src IP 0.0.0.0
giaddr 0.0.0.0
DHCP Relay: DHCPP_bootp_oper_req_CNS case
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCP Relay: tx - scr IP (giaddr) 192.168.222.253, dst IP 172.28.32.59
DHCPP_relay_msg: in function
DHCP Relay: rx reply - src IP 172.28.32.59
giaddr 192.168.222.253
DHCP Relay: DHCPP_bootp_oper_rep_CNS case
out_ipif_id - 3909c20
input interface - 3909c20
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCPP_option82: unknown remoteIdType 168
DHCPP_is_dhcp_relay_active_on_ifindex: relay is disables on ifIndex - 100449
DHCP Relay req: wrong relay mode - 1 on ifIndex - 100449
DHCPP_relay_msg: in function
DHCP Relay: rx request - src IP 0.0.0.0
giaddr 0.0.0.0
DEBUG>
DHCP Relay: DHCPP_bootp_oper_req_CNS case
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCP Relay: tx - scr IP (giaddr) 192.168.222.253, dst IP 172.28.32.59
DHCPP_relay_msg: in function
DHCP Relay: rx reply - src IP 172.28.32.59
giaddr 192.168.222.253
DHCP Relay: DHCPP_bootp_oper_rep_CNS case
out_ipif_id - 3909c20
input interface - 3909c20
DHCPP_treat_options:start print
DHCPP_treat_options:DHCPP_tag_option_82_CNS len = 23
DHCPP_treat_options:end print
DHCPP_option82: unknown remoteIdType 168
DHCPP_is_dhcp_relay_active_on_ifindex: relay is disables on ifIndex - 100449
DHCP Relay req: wrong relay mode - 1 on ifIndex - 100449