🔔If you experience any difficulties before or after finalizing your order, please reach out to us through email at support@ciscoforall.com

Static NAT Configuration

in CCNA Labs on June 12, 2014

You are interested in testing a NAT configuration. Host A (on the left) should be setup with an IP address of 192.168.101.2 /24 and a default gateway of 192.168.101.1. Host B (on the right) should be setup with an IP address of 192.168.100.2 /24 and a default
gateway of 192.168.100.1. The Ethernet interface of Router1 (on the left) should use an IP address of 192.168.101.1 /24 and the Serial interface of Router1 should use an IP address of 192.168.1.1 /24. The Ethernet interface of Router2 (on the right) should use
an IP address of 192.168.100.1 /24 and the Serial interface of Router2 should use an IP address of 192.168.1.2 /24. You have a DCE cable connected to Router1. The serial link should have speed of 64K. Configure the routers with RIP, do not advertise the network
off of the ethernet 0 interface of Router1. Setup static NAT so that Host A appears as the IP address 192.168.1.100.

Static NAT
R1:
hostname router1
!
interface Ethernet0
ip nat inside
ip address 192.168.101.1 255.255.255.0
no shut
!
interface Serial0
ip nat outside
ip address 192.168.1.1 255.255.255.0
clock rate 64000
no shut
!
ip nat inside source static 192.168.101.2 192.168.1.100
!
router rip
network 192.168.1.0
network 192.168.101.0

R2:
hostname router2
!
interface Ethernet0
ip address 192.168.100.1 255.255.255.0
no shut
!
interface Serial0
ip address 192.168.1.2 255.255.255.0
no shut
!
router rip
network 192.168.1.0
network 192.168.100.0
Host A:
Ipconfig /IP 192.168.101.2 255.255.255.0
Ipconfig /DG 192.168.101.1
Host B:
Ipconfig /IP 192.168.100.2 255.255.255.0
Ipconfig /DG 192.168.100.1

 

Back

Categories: CCNA Labs

Cart (0)

  • Your cart is empty.