Advertisement
mar_w

Klient R1 - tcpdump eth0

Jan 2nd, 2024 (edited)
940
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.68 KB | None | 0 0
  1. Klient1 <-(eth0+eth0.3)-> Router1 <---(WG+GRETAP)---> Router2
  2.  
  3. Klient 1 - restart interfejsu eth0 (+ eth0.3 który jest razem z nim)
  4. Pobieranie dwóch adresów, jeden z sieci LAN1 a drugi z odległej sieci "guest"
  5.  
  6. # tcpdump -i eth0 -ne port 68 and 67
  7. tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
  8. listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
  9. 23:32:08.480410 08:00:27:81:94:27 > 08:00:27:17:ee:b0, ethertype 802.1Q (0x8100), length 346: vlan 3, p 0, ethertype IPv4 (0x0800), 10.10.0.227.68 > 10.10.0.2.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  10. 23:32:08.481045 08:00:27:81:94:27 > 08:00:27:a1:33:0d, ethertype IPv4 (0x0800), length 342: 192.168.3.227.68 > 192.168.3.2.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  11. 23:32:12.109335 08:00:27:81:94:27 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 3, p 0, ethertype IPv4 (0x0800), 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  12. 23:32:12.109813 08:00:27:81:94:27 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  13. 23:32:12.110225 08:00:27:17:ee:b0 > 08:00:27:81:94:27, ethertype 802.1Q (0x8100), length 346: vlan 3, p 0, ethertype IPv4 (0x0800), 10.10.0.2.67 > 10.10.0.227.68: BOOTP/DHCP, Reply, length 300
  14. 23:32:12.110302 08:00:27:81:94:27 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 3, p 0, ethertype IPv4 (0x0800), 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  15. 23:32:12.111106 08:00:27:17:ee:b0 > 08:00:27:81:94:27, ethertype 802.1Q (0x8100), length 355: vlan 3, p 0, ethertype IPv4 (0x0800), 10.10.0.2.67 > 10.10.0.227.68: BOOTP/DHCP, Reply, length 309
  16. 23:32:15.111724 08:00:27:81:94:27 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  17. 23:32:15.114244 08:00:27:a1:33:0d > 08:00:27:81:94:27, ethertype IPv4 (0x0800), length 342: 192.168.3.2.67 > 192.168.3.227.68: BOOTP/DHCP, Reply, length 300
  18. 23:32:15.114422 08:00:27:a1:33:0d > 08:00:27:81:94:27, ethertype IPv4 (0x0800), length 342: 192.168.3.2.67 > 192.168.3.227.68: BOOTP/DHCP, Reply, length 300
  19. 23:32:15.114559 08:00:27:81:94:27 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:81:94:27, length 300
  20. 23:32:15.114925 08:00:27:a1:33:0d > 08:00:27:81:94:27, ethertype IPv4 (0x0800), length 351: 192.168.3.2.67 > 192.168.3.227.68: BOOTP/DHCP, Reply, length 309
  21. ^C
  22. 12 packets captured
  23. 12 packets received by filter
  24. 0 packets dropped by kernel
  25.  
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement