Code:
[root]$ tcpdump -i `nvram get wan_ifname` -nvvv -s 1500 port 67 or port 68
tcpdump: listening on vlan2, link-type EN10MB (Ethernet), capture size 1500 bytes
23:50:57.138292 IP (tos 0x0, ttl 64, id 3795, offset 0, flags [DF], proto UDP (17), length 311)
10.48.103.89.68 > 83.102.233.205.67: [udp sum ok] BOOTP/DHCP, Request from 00:26:18:4c:bb:69, length 283, xid 0x4b7dc75, secs 3, Flags [none] (0x0000)
Client-IP 10.48.103.89
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:26:18:4c:bb:69
Vendor-Class Option 60, length 12: "udhcp 1.17.3"
MSZ Option 57, length 2: 768
Parameter-Request Option 55, length 10:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, Static-Route, NTP
Classless-Static-Route, Classless-Static-Route-Microsoft
END Option 255, length 0
23:50:57.138781 IP (tos 0x0, ttl 64, id 3795, offset 0, flags [DF], proto UDP (17), length 287)
10.48.103.89.68 > 83.102.233.205.67: [udp sum ok] BOOTP/DHCP, Request from 00:26:18:4c:bb:69, length 259, xid 0x6e5f8f4f, Flags [none] (0x0000)
Client-IP 10.48.103.89
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Release
Client-ID Option 61, length 7: ether 00:26:18:4c:bb:69
Server-ID Option 54, length 4: 83.102.233.205
END Option 255, length 0
23:51:24.634526 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 311)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:26:18:4c:bb:69, length 283, xid 0x5e9c2563, secs 3, Flags [none] (0x0000)
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether 00:26:18:4c:bb:69
Vendor-Class Option 60, length 12: "udhcp 1.17.3"
MSZ Option 57, length 2: 576
Parameter-Request Option 55, length 10:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, Static-Route, NTP
Classless-Static-Route, Classless-Static-Route-Microsoft
END Option 255, length 0
23:51:25.953426 IP (tos 0x0, ttl 60, id 4482, offset 0, flags [DF], proto UDP (17), length 561)
10.7.34.75.67 > 10.48.103.89.68: [udp sum ok] BOOTP/DHCP, Reply, length 533, hops 2, xid 0x5e9c2563, secs 3, Flags [none] (0x0000)
Your-IP 10.48.103.89
Gateway-IP 10.7.34.75
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 83.102.233.205
Lease-Time Option 51, length 4: 604800
Subnet-Mask Option 1, length 4: 255.255.248.0
Default-Gateway Option 3, length 4: 10.48.96.1
Domain-Name-Server Option 6, length 8: 85.21.192.3,213.234.192.8
Static-Route Option 33, length 104: (89.179.135.67:10.48.96.1),(195.14.50.26:10.48.96.1),(195.14.50.16:10.48.96.1),(85.21.52.254:10.48.96.1),(85.21.88.130:10.48.96.1),(195.14.50.93:10.48.96.1),(195.14.50.21:10.48.96.1),(194.67.1.130:10.48.96.1),(194.67.1.115:10.48.96.1),(194.67.1.14:10.48.96.1),(194.67.18.19:10.48.96.1),(194.67.1.13:10.48.96.1),(194.67.18.72:10.48.96.1)
Classless-Static-Route-Microsoft Option 249, length 127: (233.33.210.0/24:10.48.103.89),(10.0.0.0/8:10.48.96.1),(85.21.79.0/24:10.48.96.1),(85.21.90.0/24:10.48.96.1),(85.21.138.208/28:10.48.96.1),(83.102.146.96/27:10.48.96.1),(78.107.196.0/22:10.48.96.1),(85.21.72.80/28:10.48.96.1),(217.118.84.213/32:10.48.96.1),(217.118.84.249/32:10.48.96.1),(78.107.23.0/24:10.48.96.1),(85.21.108.16/28:10.48.96.1),(83.102.231.32/28:10.48.96.1),(78.107.51.0/28:10.48.96.1),(78.107.235.4/30:10.48.96.1)
END Option 255, length 0
PAD Option 0, length 0, occurs 20
23:51:25.956947 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 323)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:26:18:4c:bb:69, length 295, xid 0x5e9c2563, secs 3, Flags [none] (0x0000)
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:26:18:4c:bb:69
Vendor-Class Option 60, length 12: "udhcp 1.17.3"
MSZ Option 57, length 2: 768
Requested-IP Option 50, length 4: 10.48.103.89
Server-ID Option 54, length 4: 83.102.233.205
Parameter-Request Option 55, length 10:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
Domain-Name, BR, Static-Route, NTP
Classless-Static-Route, Classless-Static-Route-Microsoft
END Option 255, length 0
23:51:26.396486 IP (tos 0x0, ttl 60, id 4488, offset 0, flags [DF], proto UDP (17), length 561)
10.7.34.75.67 > 10.48.103.89.68: [udp sum ok] BOOTP/DHCP, Reply, length 533, hops 2, xid 0x5e9c2563, secs 3, Flags [none] (0x0000)
Your-IP 10.48.103.89
Gateway-IP 10.7.34.75
Client-Ethernet-Address 00:26:18:4c:bb:69
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 83.102.233.205
Lease-Time Option 51, length 4: 604800
Subnet-Mask Option 1, length 4: 255.255.248.0
Default-Gateway Option 3, length 4: 10.48.96.1
Domain-Name-Server Option 6, length 8: 85.21.192.3,213.234.192.8
Static-Route Option 33, length 104: (89.179.135.67:10.48.96.1),(195.14.50.26:10.48.96.1),(195.14.50.16:10.48.96.1),(85.21.52.254:10.48.96.1),(85.21.88.130:10.48.96.1),(195.14.50.93:10.48.96.1),(195.14.50.21:10.48.96.1),(194.67.1.130:10.48.96.1),(194.67.1.115:10.48.96.1),(194.67.1.14:10.48.96.1),(194.67.18.19:10.48.96.1),(194.67.1.13:10.48.96.1),(194.67.18.72:10.48.96.1)
Classless-Static-Route-Microsoft Option 249, length 127: (233.33.210.0/24:10.48.103.89),(10.0.0.0/8:10.48.96.1),(85.21.79.0/24:10.48.96.1),(85.21.90.0/24:10.48.96.1),(85.21.138.208/28:10.48.96.1),(83.102.146.96/27:10.48.96.1),(78.107.196.0/22:10.48.96.1),(85.21.72.80/28:10.48.96.1),(217.118.84.213/32:10.48.96.1),(217.118.84.249/32:10.48.96.1),(78.107.23.0/24:10.48.96.1),(85.21.108.16/28:10.48.96.1),(83.102.231.32/28:10.48.96.1),(78.107.51.0/28:10.48.96.1),(78.107.235.4/30:10.48.96.1)
END Option 255, length 0
PAD Option 0, length 0, occurs 20
6 packets captured
181 packets received by filter
0 packets dropped by kernel
Это я запустил нажал дисконнект потом коннект