documentation:examples:nat64
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
documentation:examples:nat64 [2020/01/02 17:35] – [Stateful (lsn)] olivier | documentation:examples:nat64 [2020/01/02 19:33] – [Stateless (stl)] olivier | ||
---|---|---|---|
Line 131: | Line 131: | ||
</ | </ | ||
==== Testing ==== | ==== Testing ==== | ||
+ | |||
+ | From VM4, start a tcpdump to check IPv4 source address seen by VM3: | ||
+ | |||
+ | < | ||
+ | [root@VM3]~# | ||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on vtnet1, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | ... | ||
+ | </ | ||
From VM1 (IPv6 only host), ping NAT64 IPv6 address corresponding to VM3 IPv4 address: | From VM1 (IPv6 only host), ping NAT64 IPv6 address corresponding to VM3 IPv4 address: | ||
Line 146: | Line 155: | ||
</ | </ | ||
- | And check IPv4 source | + | From VM3, check source |
< | < | ||
- | [root@VM3]~# | + | ... |
- | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | + | |
- | listening on vtnet1, link-type EN10MB (Ethernet), capture size 262144 bytes | + | |
17: | 17: | ||
17: | 17: | ||
Line 158: | Line 164: | ||
0 packets dropped by kernel | 0 packets dropped by kernel | ||
</ | </ | ||
- | |||
===== IPFW NAT64 (kernel space) ===== | ===== IPFW NAT64 (kernel space) ===== | ||
Line 170: | Line 175: | ||
< | < | ||
- | service | + | service |
sysrc firewall_script="/ | sysrc firewall_script="/ | ||
echo "# Temporary fix to avoid panicing a 12-stable:" | echo "# Temporary fix to avoid panicing a 12-stable:" | ||
Line 224: | Line 229: | ||
< | < | ||
- | sysrc firewall_enable=YES | + | service ipfw enable |
sysrc firewall_script="/ | sysrc firewall_script="/ | ||
documentation/examples/nat64.txt · Last modified: 2020/01/02 19:36 by olivier