6in4 Paket mit ICMPv6 Echo Request:
>>> i4=IP() >>> i4.src='10.0.1.1' ## Tunnel Src >>> i4.dst='10.0.2.1' ## Tunnel Dst >>> i6=IPv6() >>> i6.src='fd00:141:64:1::1' ## IPv6 Src, beliebig >>> i6.dst='fd00:141:64:2::1' ## IPv6 Dst, beliebig >>> q=ICMPv6EchoRequest() >>> p=i4/i6/q
Das Paket als *.pcap speichern (ohne Ethernet Header)
wrpcap("test.pcap", p)
Basic Transition Mechanisms for IPv6 Hosts and Routers - rfc 4213
Hop Limit: rfc2893