День добрый.
Нашёл некорректную работу снупинга у себя в тестовой схеме.
Код:
# IPBIND
config address_binding ip_mac ports 2-3 state enable
config address_binding ip_mac ports 1-26 allow_zeroip enable
config address_binding ip_mac ports 1-26 forward_dhcppkt disable
disable address_binding acl_mode
enable address_binding trap_log
enable address_binding dhcp_snoop
config address_binding dhcp_snoop max_entry ports 1-2,4-26 limit 5
config address_binding dhcp_snoop max_entry ports 3 limit 2
Код:
Boot PROM Version : Build 5.00.009
Firmware Version : Build 6.00.B21
Код:
DES-3526:admin#show address_binding dhcp_snoop binding_entry
Command: show address_binding dhcp_snoop binding_entry
IP Address MAC Address Lease Time Port Status
--------------- ----------------- ---------- ---- --------
10.86.64.100 00-1B-FC-62-34-AA 2637 3 Active
Total entries : 1
Least Time 3600 seconds.
Вынимаю шнурок из ноутбука, вставляю обратно через 15 секунд, ноутбук переполучает адрес, дхцп сервер ему выдат его заново, а лиз тайм в снупинге не апдейтится.
Как уменьшался так и уменьшается.
Когда доходит до 0с, конечно же связка удаляется и компьютер без интернета.
Снова адрес переполучаю и всё поехало.
Код:
15:33:30.596856 IP (tos 0x0, ttl 126, id 2456, offset 0, flags [none], proto UDP (17), length 373) 10.35.127.200.68 > 10.86.2.3.67: [udp sum ok] BOOTP/DHCP, Request from 00:1b:fc:62:34:aa, length 345, hops 1, xid 0x5789fb9c, Flags [none] (0x0000)
Gateway-IP 10.35.127.200
Client-Ethernet-Address 00:1b:fc:62:34:aa
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:1b:fc:62:34:aa
Requested-IP Option 50, length 4: 10.86.64.100
Hostname Option 12, length 15: "computer-5d8300"
FQDN Option 81, length 19: "computer-5d8300."
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 11:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Vendor-Option Option 43, length 3: 220.1.0
Agent-Information Option 82, length 18:
Circuit-ID SubOption 1, length 6: ^@^D^EM-O^@^C
Unknown SubOption 2, length 8:
0x0000: 0006 001b 11b5 e7e8
15:33:30.597157 IP (tos 0x0, ttl 64, id 3510, offset 0, flags [none], proto UDP (17), length 339) 10.86.2.3.67 > 10.35.127.200.67: [bad udp cksum 7f69!] BOOTP/DHCP, Reply, length 311, hops 1, xid 0x5789fb9c, Flags [none] (0x0000)
Your-IP 10.86.64.100
Gateway-IP 10.35.127.200
Client-Ethernet-Address 00:1b:fc:62:34:aa
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 10.86.2.3
Lease-Time Option 51, length 4: 3600
Subnet-Mask Option 1, length 4: 255.255.252.0
Domain-Name Option 15, length 11: "domain"
Default-Gateway Option 3, length 4: 10.86.67.254
Domain-Name-Server Option 6, length 8: 10.86.2.2
Agent-Information Option 82, length 18:
Circuit-ID SubOption 1, length 6: ^@^D^EM-O^@^C
Unknown SubOption 2, length 8:
0x0000: 0006 001b 11b5 e7e8
Что я делаю не так?
Спасибо.