mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
21 lines
565 B
Python
21 lines
565 B
Python
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ping6.py
|
|
|
|
> Check if an IPv6 host is reachable using ICMPv6.
|
|
> Sends ICMPv6 echo requests and listens for echo replies.
|
|
> Note: Requires root privileges for raw socket access (e.g., run with `sudo`).
|
|
> Part of the Impacket suite.
|
|
> More information: <https://github.com/fortra/impacket>.
|
|
|
|
- Ping an IPv6 host from a specified source IPv6 address:
|
|
|
|
`ping6.py {{source_ipv6}} {{destination_ipv6}}`
|
|
|
|
- Ping 2001:db8::2 from 2001:db8::1:
|
|
|
|
`ping6.py 2001:db8::1 2001:db8::2`
|