Пытаюсь настроить доступ в Инет. Шлюз провайдера пингуется, а дальше нет. Using 2951 out of 196600 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname cisco1841
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 $1$bHXM$YfQPK3qv3H6m9hVVf/nsE.
enable password 7 04590E14082D454107
!
no aaa new-model
no ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
ip domain name yourdomain.com
ip name-server 212.188.4.10
ip name-server 195.34.32.116
!
!
crypto pki trustpoint TP-self-signed-1000422412
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1000422412
revocation-check none
rsakeypair TP-self-signed-1000422412
!
!
interface FastEthernet0/0
description Lan
ip address 192.168.0.50 255.255.255.0
ip nat inside
ip virtual-reassembly
speed auto
full-duplex
no mop enabled
!
interface FastEthernet0/1
description Inet
ip address ХХ.ХХ.ХХ.46 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
!
interface Vlan1
no ip address
shutdown
!
ip forward-protocol nd
ip route 192.168.0.0 255.255.255.0 ХХ.ХХ.ХХ.45
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 1 interface FastEthernet0/0 overload
!
access-list 1 permit 192.168.0.0 0.0.0.255
!
!
control-plane
!
line con 0
login local
line aux 0
line vty 0 4
privilege level 15
password 7 03065E190103284340
login local
transport input telnet
line vty 5 15
privilege level 15
password 7 03065E190103284340
login local
transport input telnet
!
scheduler allocate 20000 1000
end
Есть одна непонятность в:
cisco1841#sh 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 not set
81.0.0.0/30 is subnetted, 1 subnets
C ХХ.ХХ.ХХ.44 is directly connected, FastEthernet0/1
C 192.168.0.0/24 is directly connected, FastEthernet0/0
cisco1841#
Откуда ХХ.ХХ.ХХ.44 ? Ведь я указываю ХХ.ХХ.ХХ.45!!!
cisco1841#sh ip nat statistics
Total active translations: 0 (0 static, 0 dynamic; 0 extended)
Outside interfaces:
FastEthernet0/1
Inside interfaces:
FastEthernet0/0
Hits: 0 Misses: 0
CEF Translated packets: 0, CEF Punted packets: 0
Expired translations: 0
Dynamic mappings:
-- Inside Source
[Id: 1] access-list 1 interface FastEthernet0/0 refcount 0
Appl doors: 0
Normal doors: 0
Queued Packets: 0
cisco1841#