Static nat routing
Step1:
Draw the implementation.
Step2:
Give ip address to all devices.
Step3:
configure in router.
.router0:
no
enable
conf t
int fa0/0
ip add 10.0.0.1 255.0.0.0
no shutdown
exit
int se2/0
ip add 20.0.0.1 255.0.0.0
clock rate 64000
no shutdown
exit
.router1:
no
enable
conf t
int fa0/0
ip add 40.0.0.1 255.0.0.0
no shutdown
exit
int se2/0
ip add 20.0.0.2 255.0.0.0
no shutdown
exit
.router0: (in conf mode)
ip route 0.0.0.0 0.0.0.0 se2/0
ip nat inside source static 10.0.0.2 20.0.0.5
ip nat inside source static 10.0.0.3 20.0.0.6
int fe0/0
ip nat inside
exit
int se2/0
ip nat outside
exit
.router1: (in conf mode)
ip route 0.0.0.0 0.0.0.0 se2/0
Step4:
Check the connection.
This is the static nat routing process.