NAT configuration - RigPig/NET-330 GitHub Wiki

Network Diagram: We want 10.0.0.2 to be accessible as 50.0.0.1 from 30.0.0.2

R1 interfaces

R0 interfaces

Configure Routing

  • Need to tell R0 and R1 to forward packets coming from the 30.0.0.0 network address

NAT configuration

There is no route for the PCs connected to the switch to get to 10.0.0.2

.2 is the "outside" nat config, .1 is the "inside"

  • Now I set the rule

R1(config)#ip nat inside source static 10.0.0.2 50.0.0.1

PC's connected to the switch can now access the public IP of my server