|
|
Configuration 3 Routers Ethernet Back to Back
Basic IP Configuration
All NAT connections get the interface IP of interface FastEthernet 0/1. This configurations is sometimes called PAT (Port Address Translation).
Configurations:
R1
R2
R3
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$34GF$ZInroRP0PmJxEYzLjQw0X.
!
no aaa new-model
memory-size iomem 5
ip cef
!
no ip domain lookup
!
interface Loopback0
ip address 172.17.0.1 255.255.255.255
!
interface FastEthernet0/0
description to R2 F0/0
ip address 192.168.100.1 255.255.255.252
speed 100
full-duplex
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 100
router-id 172.17.0.1
log-adjacency-changes
network 172.17.0.1 0.0.0.0 area 0
network 192.168.100.1 0.0.0.0 area 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
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
|
|
|