|
|
Configuration 3 Routers Ethernet Back to Back
NAT Pool Configuration
A pool is configured to make NAT.
Configurations:
R1
R2
R3
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$621A$VIV26Z7R/w724et/XIKDm0
!
no aaa new-model
memory-size iomem 5
ip cef
!
no ip domain lookup
!
!
interface Loopback0
ip address 172.17.0.2 255.255.255.255
!
interface FastEthernet0/0
description to R1 F0/0
ip address 192.168.100.2 255.255.255.252
ip nat inside
ip virtual-reassembly
speed 100
full-duplex
!
interface FastEthernet0/1
description to R3 F0/1
ip address 192.168.200.2 255.255.255.0
ip nat outside
ip virtual-reassembly
speed 100
full-duplex
!
router ospf 100
router-id 172.17.0.2
log-adjacency-changes
network 192.168.100.2 0.0.0.0 area 0
default-information originate always
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
ip nat pool OUTSIDE 192.168.200.10 192.168.200.20 prefix-length 24
ip nat inside source list 10 pool OUTSIDE
!
access-list 10 permit 192.168.100.0 0.0.0.3
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password network
login
!
end
|
|
|