warner3615
Messages postés1Date d'inscriptionlundi 12 décembre 2016StatutMembreDernière intervention12 décembre 2016
-
12 déc. 2016 à 14:22
Bonjour,
j'ai un problème de config du nat sur mon c2800: je n'ai pas accès à internet et le nat ne fonctionne pas. J'ai besoin de votre aide.
en faisant un 'debug ip packet' on voit que le nat ne passe pas
Dec 12 10:58:25.379: IP: tableid=0, s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255 (FastEthernet0/1), routed via RIB
Dec 12 10:58:25.379: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255 (FastEthernet0/1), len 78, output feature, NAT Inside(7), rtype 1, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE
Dec 12 10:58:25.379: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255 (FastEthernet0/1), len 78, output feature, Stateful Inspection(20), rtype 1, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE
Dec 12 10:58:25.379: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255 (FastEthernet0/1), len 78, rcvd 3
Dec 12 10:58:25.379: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255, len 78, stop process pak for forus packet
Dec 12 10:58:26.127: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255, len 78, input feature, Stateful Inspection(4), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE
Dec 12 10:58:26.127: IP: s=192.168.147.3 (FastEthernet0/1), d=192.168.147.255, len 78, input feature, Virtual Fragment Reassembly(21), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE
et pourtant 'show ip nat trans'
Router#sh ip nat trans
Pro Inside global Inside local Outside local Outside global
icmp 41.159.144.25:51 192.168.147.3:51 41.159.144.25:51 41.159.144.25:51
Router#
Voici ma configuration
Building configuration...
Current configuration : 1727 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
no network-clock-participate wic 0
!
dot11 syslog
ip source-route
!
!
ip cef
ip dhcp excluded-address 192.168.147.1
ip dhcp excluded-address 192.168.147.2
!
ip dhcp pool LAN
network 192.168.147.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.147.1
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
controller E1 0/0/0
!
!
!
!
!
interface FastEthernet0/0
description "Interface connecte a Internet"
ip address 41.159.144.26 255.255.255.248
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.147.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
router rip
version 2
network 192.168.147.0
!
ip default-gateway 41.159.144.25
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
no ip http server
no ip http secure-server
!
!
ip nat pool natWAN 41.159.144.25 41.159.144.27 prefix-length 29
ip nat inside source list 1 pool natWAN overload
!
access-list 1 permit 192.168.147.0 0.0.0.255
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
voice-port 0/2/0
!
voice-port 0/2/1
!
voice-port 0/2/2
!
voice-port 0/2/3
!
voice-port 0/3/0
!
voice-port 0/3/1
!
voice-port 0/3/2
!
voice-port 0/3/3
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end