You are on page 1of 4

4886F70D 01010405

4A337783 5FCEB6BE
F7D7D827 69C9F597
1F547015 A90C8894
77DF60C9 B31B3F77
quit

00038181
FE73B80B
2B5A6F4A
8BA8BC3A
852050A2

00957B42
52D1A3B4
EDEEB9D7
7A547458
7C

F349365D
D51AEF43
0969E162
F5305F5F

BD0612C9
FE3B2E26
D1D79F0D
C2F13FE6

F792D784
BE38D85B
E4FFD186
40E56F53

0E9E7868
F32C3344
3DE56CAA
F25DED64

!
!
username netadmin privilege 15 password 7 04550E120E25414707
archive
log config
hide eys
!
!
!
!
!
ip ssh version 2
!
!
!
!
interface FastEthernet0/0
ip address 10.4.4.3 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address dhcp client-id FastEthernet0/1
ip nat inside
ip virtual-reassembly
shutdown
router3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
router3(config)#int fa 0/1
router3(config-if)#no shut
router3(config-if)#^Z
router3#
*Apr 19 03:07:57.842: %SYS-5-CONFIG_I: Configured from console by console
router3#
*Apr 19 03:07:58.490: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state t
o up
*Apr 19 03:07:59.490: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et0/1, changed state to up
router3#
router3#
router3#
router3#show dhcp lease
router3#show dhcp lease
Temp IP addr: 172.20.23.1 for peer on Interface: FastEthernet0/1
Temp sub net mas : 255.255.255.0
DHCP Lease server: 172.20.23.254, state: 4 Requesting
DHCP transaction id: 1603
Lease: 86400 secs, Renewal: 0 secs, Rebind: 0 secs
Next timer fires after: 00:00:03
Retry count: 1 Client-ID: 0017.9406.1a29

Client-ID hex dump: 001794061A29


Hostname: router3
router3#deu
*Apr 19 03:08:10.178: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/1 assigned
DHCP address 172.20.23.1, mas 255.255.255.0, hostname router3
router3#debug ip nat
IP NAT debugging is on
router3#
*Apr 19 03:08:34.862: NAT*: s=10.4.4.11->172.20.23.1, d=172.20.23.254 [20]
*Apr 19 03:08:34.862: NAT*: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [20]
*Apr 19 03:08:34.866: NAT*: s=10.4.4.11->172.20.23.1, d=172.20.23.254 [21]
*Apr 19 03:08:34.866: NAT*: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [21]
*Apr 19 03:08:34.870: NAT*: s=10.4.4.11->172.20.23.1, d=172.20.23.254 [22]
*Apr 19 03:08:34.870: NAT*: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [22]
*Apr 19 03:08:34.874: NAT*: s=10.4.4.11->172.20.23.1, d=172.20.23.254 [23]
*Apr 19 03:08:34.874: NAT*: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [23]
*Apr 19 03:08:34.878: NAT*: s=10.4.4.11->172.20.23.1, d=172.20.23.254 [24]
router3#
*Apr 19 03:08:34.878: NAT*: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [24]
router3#sh ip nat trans
Pro Inside global
Inside local
Outside local
Outside global
icmp 172.20.23.1:6164 10.4.4.11:6164
172.20.23.254:6164 172.20.23.254:6164
icmp 172.20.23.1:6165 10.4.4.11:6165
172.20.23.254:6165 172.20.23.254:6165
icmp 172.20.23.1:6166 10.4.4.11:6166
172.20.23.254:6166 172.20.23.254:6166
icmp 172.20.23.1:6167 10.4.4.11:6167
172.20.23.254:6167 172.20.23.254:6167
icmp 172.20.23.1:6168 10.4.4.11:6168
172.20.23.254:6168 172.20.23.254:6168
router3#
*Apr 19 03:09:35.234: NAT: expiring 172.20.23.1 (10.4.4.11) icmp 6164 (6164)
*Apr 19 03:09:35.234: NAT: expiring 172.20.23.1 (10.4.4.11) icmp 6165 (6165)
*Apr 19 03:09:35.234: NAT: expiring 172.20.23.1 (10.4.4.11) icmp 6166 (6166)
*Apr 19 03:09:35.234: NAT: expiring 172.20.23.1 (10.4.4.11) icmp 6167 (6167)
*Apr 19 03:09:35.234: NAT: expiring 172.20.23.1 (10.4.4.11) icmp 6168 (6168)
router3#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
router3#config t
Enter configuration commands, one per line. End with CNTL/Z.
router3(config)#interface s0/0/0
router3(config-if)#encapsulation ppp
router3(config-if)#ip address 10.140.3.2 255.255.255.0
router3(config-if)#description Lin to Main Office
router3(config-if)#no shutdown
router3(config-if)#
*Apr 19 03:20:17.478: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
router3(config-if)#
*Apr 19 03:20:18.490: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/
0, changed state to up
router3(config-if)#end
router3#
*Apr 19 03:20:45.774: %SYS-5-CONFIG_I: Configured from console by console
router3#show interface s0/0/0
Serial0/0/0 is up, line protocol is up
Hardware is GT96K Serial
Description: Lin to Main Office
Internet address is 10.140.3.2/24
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, LCP Open


Open: IPCP, CDPCP, loopbac not set
Keepalive set (10 sec)
CRC chec ing enabled
Last input 00:00:19, output 00:00:07, output hang never
Last clearing of "show interface" counters 00:05:29
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 pac ets/sec
5 minute output rate 0 bits/sec, 0 pac ets/sec
23 pac ets input, 1512 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
18 pac ets output, 942 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 un nown protocol drops
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=down DTR=up RTS=up CTS=up
router3#ping 192.168.23.200
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.200, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
router3#traceroute 192.168.23.200
Type escape sequence to abort.
Tracing the route to 192.168.23.200
1 172.20.23.254 4 msec 0 msec 0 msec
2 172.20.23.254 !H * !H
router3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.20.23.254 to networ 0.0.0.0
172.20.0.0/24 is subnetted, 1 subnets
172.20.23.0 is directly connected, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 mas s
C
10.4.4.0/24 is directly connected, FastEthernet0/0
C
10.140.3.1/32 is directly connected, Serial0/0/0
C
10.140.3.0/24 is directly connected, Serial0/0/0
S* 0.0.0.0/0 [254/0] via 172.20.23.254
router3#config t
Enter configuration commands, one per line. End with CNTL/Z.
router3(config)#ip route 192.168.23.0 255.255.255.255.0 10.140.3.1
^
% Invalid input detected at '^' mar er.

router3(config)#ip route 192.168.23.0 255.255.255.255.0 10.140.3.1


*Apr 19 03:29:14.826: NAT*: s=10.4.4.11->172.20.23.1, d=10.1.1.1 [5218]

*Apr 19 03:29:14.826: NAT: s=172.20.23.254, d=172.20.23.1->10.4.4.11 [31428]


router3(config)#ip route 192.168.23.0 255.255.255.0 10.140.3.1
router3(config)#end
router3#
*Apr 19 03:29:37.502: %SYS-5-CONFIG_I: Configured from console by console
router3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.20.23.254 to networ

0.0.0.0

172.20.0.0/24 is subnetted, 1 subnets


172.20.23.0 is directly connected, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 mas s
C
10.4.4.0/24 is directly connected, FastEthernet0/0
C
10.140.3.1/32 is directly connected, Serial0/0/0
C
10.140.3.0/24 is directly connected, Serial0/0/0
S
192.168.23.0/24 [1/0] via 10.140.3.1
S* 0.0.0.0/0 [254/0] via 172.20.23.254
router3#
*Apr 19 03:30:15.154: NAT: expiring 172.20.23.1 (10.4.4.11) tcp 445 (445)
router3#ping 192.168.23.200

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.23.200, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
router3#traceroute 192.168.23.200
Type escape sequence to abort.
Tracing the route to 192.168.23.200
1 10.140.3.1 16 msec * 12 msec
router3#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
router3#

You might also like