IPv6 Static NAT Configuration
Hi ! everyone on today we are going to learn about IPv6 static NAT configuration. Which will be shown as screenshots to understand properly with topology as follows.
In this screenshot we can see two networks on Left hand side is IPv6 Network which represents in blue color and in the right hand side is IPv4 Network in pink color.
Step 1: First we should assign IPv6 and IPv4 address for configuration on Gateway-Router
On the screenshot we can see that the changed of state to up in green color for the Gateway-Router connecting both the switches.
Step 2: Configure IPv6 address by assigning on both the Routers
Router1
Router2
Step 3: Now we should do IPv4 configuration on both the Routers
Router3
Router4
Finally we can see that all the routers and switches are connected by the changed state to up in green colors.
Step 5: We should configure IPv6 static route on Router1 and Router2
Router1
Router1(config)#ipv6 route 2001:12::/96 2000:ABCD::1
Router2
Router2(config)#ipv6 route 2001:12::/96 2000:ABCD::1
Step 6: Then we should configure IPv4 static route on both the Routers
Router3
Router3(config)#ip route 20.0.0.0 255.0.0.0 10.0.0.1
Router4
Router4(config)#ip route 20.0.0.0 255.0.0.0 10.0.0.1
Step 7: Now test your Gateway-Router IP communication using ping command
Step 8: Configure both Static NAT for IPv4 to IPv6 transformation and IPv6 to IPv4 transformation on Gateway-Router
IPv4 to IPv6 transformation on Gateway-Router
Gateway-Router(config)#ipv6 nat prefix 2001:12::/96
Gateway-Router(config)#ipv6 nat v4v6 source 10.0.0.2 2001:12::2
Gateway-Router(config)#ipv6 nat v4v6 source 10.0.0.3 2001:12::3
IPv6 to IPv4 transformation on Gateway-Router
Gateway-Router(config)#ipv6 nat v6v4 source 2000:ABCD::2 20.0.0.2
Gateway-Router(config)#ipv6 nat v6v4 source 2000:ABCD::3 20.0.0.3
Gateway-Router(config)#ipv6 nat v6v4 source 2000:ABCD::3 20.0.0.3
Step 9: Now we have to tell the Gateway-Router about NAT configuration
Gateway-Router>enable
Gateway-Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Gateway-Router(config)#interface FastEthernet0/0
Gateway-Router(config-if)#ipv6 nat
Gateway-Router(config-if)#exit
Gateway-Router(config)#interface FastEthernet0/1
Gateway-Router(config-if)#ipv6 nat
Gateway-Router(config-if)#exit
Step 10: Test the network communication by checking all the Routers
Finally, We can test communication from IPv4 network to IPv6 network using ping command
No comments:
Post a Comment