Advertisement
xxorza

broken

Sep 8th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. root@OpenWrt:~# reset; \
  2. > NET_IF="wan"; \
  3. > NET_DEV="$(uci get network.${NET_IF}.ifname)"; \
  4. > ifup "${NET_IF}"; sleep 10; \
  5. > tcpdump -v -n -i "${NET_DEV}" udp port 67 or udp port 68 & \
  6. > ip address show dev "${NET_DEV}"; \
  7. > kill -SIGUSR2 "$(pidof udhcpc)"; sleep 10; \
  8. > ip address show dev "${NET_DEV}"; \
  9. > kill -SIGUSR1 "$(pidof udhcpc)"; sleep 10; \
  10. > ip address show dev "${NET_DEV}"; \
  11. > killall tcpdump
  12. 10: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  13. link/ether 24:f5:a2:c4:7a:d0 brd ff:ff:ff:ff:ff:ff
  14. inet6 fe80::26f5:a2ff:fec4:7ad0/64 scope link
  15. valid_lft forever preferred_lft forever
  16. tcpdump: listening on eth1.2, link-type EN10MB (Ethernet), capture size 262144 bytes
  17. 10: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  18. link/ether 24:f5:a2:c4:7a:d0 brd ff:ff:ff:ff:ff:ff
  19. inet6 fe80::26f5:a2ff:fec4:7ad0/64 scope link
  20. valid_lft forever preferred_lft forever
  21. 05:51:26.279006 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
  22. 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 24:f5:a2:c4:7a:d0, length 300, xid 0xaada861a, Flags [none]
  23. Client-Ethernet-Address 24:f5:a2:c4:7a:d0
  24. Vendor-rfc1048 Extensions
  25. Magic Cookie 0x63825363
  26. DHCP-Message Option 53, length 1: Discover
  27. MSZ Option 57, length 2: 576
  28. Parameter-Request Option 55, length 8:
  29. Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
  30. Domain-Name, BR, NTP, Classless-Static-Route
  31. Vendor-Class Option 60, length 12: "udhcp 1.28.4"
  32. Hostname Option 12, length 7: "OpenWrt"
  33. 05:51:29.139002 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
  34. 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 24:f5:a2:c4:7a:d0, length 300, xid 0xaada861a, secs 3, Flags [none]
  35. Client-Ethernet-Address 24:f5:a2:c4:7a:d0
  36. Vendor-rfc1048 Extensions
  37. Magic Cookie 0x63825363
  38. DHCP-Message Option 53, length 1: Discover
  39. MSZ Option 57, length 2: 576
  40. Parameter-Request Option 55, length 8:
  41. Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
  42. Domain-Name, BR, NTP, Classless-Static-Route
  43. Vendor-Class Option 60, length 12: "udhcp 1.28.4"
  44. Hostname Option 12, length 7: "OpenWrt"
  45. 05:51:32.419000 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
  46. 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 24:f5:a2:c4:7a:d0, length 300, xid 0xaada861a, secs 6, Flags [none]
  47. Client-Ethernet-Address 24:f5:a2:c4:7a:d0
  48. Vendor-rfc1048 Extensions
  49. Magic Cookie 0x63825363
  50. DHCP-Message Option 53, length 1: Discover
  51. MSZ Option 57, length 2: 576
  52. Parameter-Request Option 55, length 8:
  53. Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
  54. Domain-Name, BR, NTP, Classless-Static-Route
  55. Vendor-Class Option 60, length 12: "udhcp 1.28.4"
  56. Hostname Option 12, length 7: "OpenWrt"
  57. 05:51:35.189002 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
  58. 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 24:f5:a2:c4:7a:d0, length 300, xid 0xaada861a, secs 9, Flags [none]
  59. Client-Ethernet-Address 24:f5:a2:c4:7a:d0
  60. Vendor-rfc1048 Extensions
  61. Magic Cookie 0x63825363
  62. DHCP-Message Option 53, length 1: Discover
  63. MSZ Option 57, length 2: 576
  64. Parameter-Request Option 55, length 8:
  65. Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
  66. Domain-Name, BR, NTP, Classless-Static-Route
  67. Vendor-Class Option 60, length 12: "udhcp 1.28.4"
  68. Hostname Option 12, length 7: "OpenWrt"
  69. 10: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  70. link/ether 24:f5:a2:c4:7a:d0 brd ff:ff:ff:ff:ff:ff
  71. inet6 fe80::26f5:a2ff:fec4:7ad0/64 scope link
  72. valid_lft forever preferred_lft forever
  73.  
  74. 4 packets captured
  75. 4 packets received by filter
  76. 0 packets dropped by kernel
  77. root@OpenWrt:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement