User Tools

Site Tools


documentation:examples:nat64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:examples:nat64 [2019/06/06 16:54] – [Stateless (stl)] olivierdocumentation:examples:nat64 [2019/06/06 18:30] – Errors on Ipv6 address in table T46 and T64 and stateless testing fabien
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:db8:12::2 +${fwcmd} table T46 add 2.2.1.1 2001:db8:12::1 
-${fwcmd} table T64 add 2001:db8:12::2.2.1.1+${fwcmd} table T64 add 2001:db8:12::2.2.1.1
 ${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 249: 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:
  
-To Do+<code> 
 +[root@VM1]~# ping6 -c 3 64:ff9b::2.2.2.3 
 +PING6(56=40+8+8 bytes) 2001:db8:12::1 --> 64:ff9b::202:203 
 +16 bytes from 64:ff9b::202:203, icmp_seq=0 hlim=63 time=1.037 ms 
 +16 bytes from 64:ff9b::202:203, icmp_seq=1 hlim=63 time=1.048 ms 
 +16 bytes from 64:ff9b::202:203, icmp_seq=2 hlim=63 time=1.560 ms 
 + 
 +--- 64:ff9b::2.2.2.3 ping6 statistics --- 
 +3 packets transmitted, 3 packets received, 0.0% packet loss 
 +round-trip min/avg/max/std-dev = 1.037/1.215/1.560/0.244 ms 
 +</code> 
 + 
 +From IPv4 only host, ping NAT64 IPv4 address corresponding to VM3 IPv6 address: 
 +<code> 
 +[root@v4TST64]~# ping -c 3 2.2.1.1 
 +PING 2.2.1.1 (2.2.1.1): 56 data bytes 
 +64 bytes from 2.2.1.1: icmp_seq=0 ttl=63 time=17.147 ms 
 +64 bytes from 2.2.1.1: icmp_seq=1 ttl=63 time=1.409 ms 
 +64 bytes from 2.2.1.1: icmp_seq=2 ttl=63 time=5.017 ms 
 + 
 +--- 2.2.1.1 ping statistics --- 
 +3 packets transmitted, 3 packets received, 0.0% packet loss 
 +round-trip min/avg/max/stddev = 1.409/7.858/17.147/6.732 ms 
 +</code> 
 + 
 +and check on VM3 
 + 
 +<code> 
 +[root@rTST64]~# ipfw nat64stl NAT64 stats 
 +nat64stl NAT64 
 +        6 packets translated from IPv6 to IPv4 
 +        6 packets translated from IPv4 to IPv6 
 +        0 IPv6 fragments created 
 +        0 IPv4 fragments received 
 +        0 output packets dropped due to no bufs, etc. 
 +        0 output packets discarded due to no IPv4 route 
 +        0 output packets discarded due to no IPv6 route 
 +        0 packets discarded due to unsupported protocol 
 +        0 packets discarded due to memory allocation problems 
 +        0 packets discarded due to some errors 
 +</code>
  
documentation/examples/nat64.txt · Last modified: 2020/01/02 19:36 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki