Вы находитесь на странице: 1из 4

no ip domain lookup

!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 200.1.1.1 255.255.255.248
ip nat outside
!
interface Serial0/0/1
no ip address
shutdown
clock rate 125000
!
interface Serial0/1/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 2000000
!
router eigrp 1
network 192.168.1.0
network 200.1.1.0
auto-summary
!
!
!
no ip http server
ip nat pool NAT-POOL1 200.1.1.3 200.1.1.6 netmask 255.255.255.248
ip nat inside source list 1 pool NAT-POOL1
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
R1#
R1#
R1#sh
R1#show ip
R1#show ip n
R1#show ip na
R1#show ip nat tr
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 200.1.1.3:1 192.168.1.2:1 200.1.1.14:1 200.1.1.14:1
tcp 200.1.1.3:49722 192.168.1.2:49722 200.1.1.14:80 200.1.1.14:80
tcp 200.1.1.3:49724 192.168.1.2:49724 200.1.1.14:80 200.1.1.14:80
tcp 200.1.1.3:49727 192.168.1.2:49727 200.1.1.14:80 200.1.1.14:80
--- 200.1.1.3 192.168.1.2 --- ---
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.2:1 200.1.1.2:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.9:1 200.1.1.9:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.10:1 200.1.1.10:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.13:1 200.1.1.13:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.14:1 200.1.1.14:1
--- 200.1.1.4 192.168.1.3 --- ---
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 200.1.1.3:1 192.168.1.2:1 200.1.1.14:1 200.1.1.14:1
tcp 200.1.1.3:49722 192.168.1.2:49722 200.1.1.14:80 200.1.1.14:80
tcp 200.1.1.3:49724 192.168.1.2:49724 200.1.1.14:80 200.1.1.14:80
tcp 200.1.1.3:49727 192.168.1.2:49727 200.1.1.14:80 200.1.1.14:80
--- 200.1.1.3 192.168.1.2 --- ---
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.2:1 200.1.1.2:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.9:1 200.1.1.9:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.10:1 200.1.1.10:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.13:1 200.1.1.13:1
icmp 200.1.1.4:1 192.168.1.3:1 200.1.1.14:1 200.1.1.14:1
--- 200.1.1.4 192.168.1.3 --- ---
R1#
R1#
R1#sh
R1#show runn
R1#show running-config
Building configuration...
Current configuration : 1095 bytes
!
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
!
resource policy
!
memory-size iomem 15
ip cef
!
!
!
!
no ip domain lookup
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 200.1.1.1 255.255.255.248
ip nat outside
!
interface Serial0/0/1
no ip address
shutdown
clock rate 125000
!
interface Serial0/1/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 2000000
!
router eigrp 1
network 192.168.1.0
network 200.1.1.0
auto-summary
!
!
!
no ip http server
ip nat pool NAT-POOL1 200.1.1.3 200.1.1.6 netmask 255.255.255.248
ip nat inside source list 1 pool NAT-POOL1
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
R1#
R1#
R1#
R1#

Вам также может понравиться