Advertisement
mar_w

Router R1 - tcpdump eth0

Jan 2nd, 2024
907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.51 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. TCPdump z eth0 z Routera1 (wysyła adres z własnego serwera DHCP i przerzuca zapytania ze zdalnego serwera DHCP "guest" z R2)
  5.  
  6. # tcpdump -i eth0 port 67 and 68 -ne
  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.527476 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
  10. 23:32:12.155667 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
  11. 23:32:12.156069 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
  12. 23:32:12.156293 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
  13. 23:32:12.156552 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
  14. 23:32:12.157195 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
  15. 23:32:15.158035 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
  16. 23:32:15.160093 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
  17. 23:32:15.160390 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.160770 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
  19. 23:32:15.160925 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
  20. ^C
  21. 11 packets captured
  22. 11 packets received by filter
  23. 0 packets dropped by kernel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement