documentation:examples:nat64
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:nat64 [2019/06/05 17:47] – [Stateful (lsn)] olivier | documentation:examples:nat64 [2019/06/06 16:54] – [Stateless (stl)] olivier | ||
---|---|---|---|
Line 217: | Line 217: | ||
</ | </ | ||
- | ==== Stateless ==== | + | ==== Stateless |
=== VM2 === | === VM2 === | ||
Line 234: | Line 234: | ||
${fwcmd} table T46 create type addr valtype ipv6 | ${fwcmd} table T46 create type addr valtype ipv6 | ||
${fwcmd} table T64 create type addr valtype ipv4 | ${fwcmd} table T64 create type addr valtype ipv4 | ||
+ | ${fwcmd} table T46 add 2.2.1.1 2001: | ||
+ | ${fwcmd} table T64 add 2001: | ||
${fwcmd} nat64stl NAT64 create table4 T46 table6 T64 | ${fwcmd} nat64stl NAT64 create table4 T46 table6 T64 | ||
${fwcmd} add allow icmp6 from any to any icmp6types 135,136 | ${fwcmd} add allow icmp6 from any to any icmp6types 135,136 | ||
Line 242: | Line 244: | ||
service ipfw start | service ipfw start | ||
- | sysctl net.inet.ip.fw.verbose=1 | ||
</ | </ | ||
=== Testing === | === Testing === | ||
Line 248: | Line 249: | ||
From IPv6 only host, ping NAT64 IPv6 address corresponding to VM3 IPv4 address: | From IPv6 only host, ping NAT64 IPv6 address corresponding to VM3 IPv4 address: | ||
- | Need to fix setup. | + | To Do |
documentation/examples/nat64.txt · Last modified: 2020/01/02 19:36 by olivier