Update NAT lab
This commit is contained in:
115
myshixun/nat/R1_configs_i1_startup-config.cfg
Normal file
115
myshixun/nat/R1_configs_i1_startup-config.cfg
Normal file
@@ -0,0 +1,115 @@
|
||||
!
|
||||
|
||||
!
|
||||
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
|
||||
!
|
||||
!
|
||||
no aaa new-model
|
||||
memory-size iomem 5
|
||||
no ip icmp rate-limit unreachable
|
||||
!
|
||||
!
|
||||
ip cef
|
||||
no ip domain lookup
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
ip tcp synwait-time 5
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
interface FastEthernet0/0
|
||||
ip address 192.168.1.1 255.255.255.0
|
||||
ip nat inside
|
||||
ip virtual-reassembly
|
||||
duplex auto
|
||||
speed auto
|
||||
!
|
||||
interface FastEthernet0/1
|
||||
no ip address
|
||||
shutdown
|
||||
duplex auto
|
||||
speed auto
|
||||
!
|
||||
interface Serial1/0
|
||||
ip address 100.99.12.1 255.255.255.0
|
||||
ip nat outside
|
||||
ip virtual-reassembly
|
||||
serial restart-delay 0
|
||||
!
|
||||
interface Serial1/1
|
||||
no ip address
|
||||
shutdown
|
||||
serial restart-delay 0
|
||||
!
|
||||
interface Serial1/2
|
||||
no ip address
|
||||
shutdown
|
||||
serial restart-delay 0
|
||||
!
|
||||
interface Serial1/3
|
||||
no ip address
|
||||
shutdown
|
||||
serial restart-delay 0
|
||||
!
|
||||
!
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
ip forward-protocol nd
|
||||
!
|
||||
!
|
||||
ip nat inside source static 192.168.1.10 100.99.12.10
|
||||
ip nat inside source static 192.168.1.20 100.99.12.20
|
||||
!
|
||||
no cdp log mismatch duplex
|
||||
!
|
||||
!
|
||||
!
|
||||
control-plane
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
line con 0
|
||||
exec-timeout 0 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
line aux 0
|
||||
exec-timeout 0 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
line vty 0 4
|
||||
login
|
||||
!
|
||||
!
|
||||
end
|
||||
Reference in New Issue
Block a user