Problemme de connexion cisco 860

Résolu/Fermé
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012 - Modifié par brupala le 18/12/2012 à 09:40
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012 - 18 déc. 2012 à 10:44
Bonjour,

j'ai configurer un routeur cisco 860 je suis connecte a l'internet depuis mon routeur , mais lorsque je liée un pc j'arrive pas a connecte a WAN

le Nat et bien configure dans le vlan1

voila la configuration



User Access Verification

Username: admin
Password:

ena
Password:
#sh run
Building configuration...

Current configuration : 3992 bytes
!
version 15.1
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service sequence-numbers
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable password 7
!
aaa new-model
!
!
aaa authentication login userauth local
aaa authorization network groupauthor local
!
!
!
!
!
aaa session-id common
wan mode dsl
no ipv6 cef
ip source-route
ip cef
!
!
!
!
ip dhcp pool Fonex
import all
network 192.168.70.0 255.255.255.0
default-router 192.168.70.1
dns-server 196.2.80.1 196.2.80.2
!
!
!
!
trunk group word
!
password encryption aes
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3500717277
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3500717277
revocation-check none
rsakeypair TP-self-signed-3500717277
!
!
crypto pki certificate chain TP-self-signed-3500717277
certificate self-signed 01
3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33353030 37313732 3737301E 170D3032 30343037 30363038
34325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 35303037
31373237 3730819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009BBC 23CE5AD3 CECE5FA5 D2873986 0C11038B 1C3ED52F 90301E26 C90F5D43
DEB08AD5 D7F0C9E1 E0A39D2B 13B31F96 42327A53 C1AB2CFB 6EB97CF1 1F8185DC
245A2D02 4518C967 569413A5 819DE53E A3E71638 3DAE629E 4CF8BAC0 88E6A5C7
567E6953 07D6AABA C95CD214 889181CA 6051E999 1F0D6C01 CD74423B 86F5D2AC
12510203 010001A3 64306230 0F060355 1D130101 FF040530 030101FF 300F0603
551D1104 08300682 046F6D63 65301F06 03551D23 04183016 80143C1B 01481D31
3D440738 E6D4164D 5D950868 ED45301D 0603551D 0E041604 143C1B01 481D313D
440738E6 D4164D5D 950868ED 45300D06 092A8648 86F70D01 01040500 03818100
04794C63 C0969708 E3E59CDB EC831557 3FE16BED 4A357E8B A1B33D96 69D66630
06CB2E6A 6768E84B FDA5B39D 8BF612A1 FBE3E0DB 14C5B0A2 6D699DCE 53442FD8
44AB008E 3EB30D4B B1C1236B 1C6106E0 D00F492A FD0A73DB 9E64145D 3E687D27
B69EF7A5 003A54C7 7D33CF7C 2BF38BA6 8A7A432D 89B49325 06B2AB49 30AA18F4
quit
!
!
username admin privilege 15 password 7 011703084F0A
!
!
controller VDSL 0
!
!
!
!
!
interface ATM0
no ip address
ip nat outside
ip virtual-reassembly in
no ip route-cache
load-interval 30
no atm ilmi-keepalive
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface ATM0.1 point-to-point
ip nat outside
ip virtual-reassembly in
no ip route-cache
shutdown
!
interface Ethernet0
no ip address
shutdown
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface GigabitEthernet0
no ip address
shutdown
duplex auto
speed auto
!
interface Virtual-Template1 type tunnel
ip unnumbered Dialer0
!
interface Vlan1
ip address 192.168.70.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
dialer string 102
dialer-group 1
async mode dedicated
no keepalive
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname xxxxxxx
ppp chap password 7
ppp pap sent-username xxxxxxx
no cdp enable
!
interface Dialer1
no ip address
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
!
!
!
control-plane
!
!
line con 0
password 7 xxxxxxx
no modem enable
line aux 0
line vty 0 4
password 7 xxxxxxxx
transport input all
!
scheduler allocate 60000 1000
end

#
si je fais un ping de mon routeur vers un address public c'est bien , je suis connecte a l'internet je vois mon address public

Merci d'avances


4 réponses

Bonjour,

A quelle interface de ton routeur raccordes-tu ton PC et est-ce que celle-ci est "UP"?
0
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012
18 déc. 2012 à 09:31
oui a une interface eth qui est membre de vlan 1 , tout est fonctionnel sauf l'internet , je fais une ping depuis ma machine vers mon routeur est bien , je accéder au routeur depuis mon pc par putty
0
brupala Messages postés 109471 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 28 avril 2024 13 627
18 déc. 2012 à 09:46
Salut,
j'ai édité ta config pour supprimer les username et mots de passe.
bizarre comme config:
le pvc atm devrait être configuré sur la sous interface (qui est shutdown) pas sur l'interface principale étonnant que ça fonctionne ainsi.
peux tu copier le résultat de show ip int brief ?
peux tu faire un traceroute 8.8.8.8 ?
0
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012
18 déc. 2012 à 09:59
Bonjour , normalement je dois configure atm0 ,
je croix que c'est un problemme de NAT
que pensez vous de cette resulta ?
sh ip nat ?
nvi NVI information
statistics Translation statistics
translations Translation entries


#sh ip nat statistics
Total active translations: 0 (0 static, 0 dynamic; 0 extended)
Peak translations: 0
Outside interfaces:
ATM0, ATM0.1, Dialer0, Virtual-Access1
Inside interfaces:
Vlan1
Hits: 0 Misses: 0
CEF Translated packets: 0, CEF Punted packets: 0
Expired translations: 0
Dynamic mappings:

Total doors: 0
Appl doors: 0
Normal doors: 0
nat-limit statistics:
Queued Packets: 0
0
brupala Messages postés 109471 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 28 avril 2024 13 627
18 déc. 2012 à 10:18
j'avais pas demandé show ip route, mais show ip int brief, mais bon, pas grave, comme le traceroute fonctionne, c'est que la connexion est bonne via dialer 0
Mais effectivement il manque 2 commandes pour le nat.
access-list 1 permit 192.168.70.0 0.0.0.255
ip nat inside source list 1 interface dialer 0 overload

tu peux aussi supprimer le nat outside sur atm et atm 0.1 seul celui sur dialer 0 est utile.
0
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012
18 déc. 2012 à 10:34
Merci pour votre aide , je ne fais pas attention voila la resulta de la commande
sh ip int brief
Interface IP-Address OK? Method Status Protocol
ATM0 unassigned YES NVRAM up up
ATM0.1 unassigned YES unset up up
Async1 unassigned YES unset up down
Dialer0 196.2.87.147 YES IPCP up up
Dialer1 unassigned YES unset up up
Ethernet0 unassigned YES NVRAM down down
FastEthernet0 unassigned YES unset down down
FastEthernet1 unassigned YES unset up up
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
GigabitEthernet0 unassigned YES NVRAM administratively down down
NVI0 unassigned YES unset administratively down down
Virtual-Access1 unassigned YES unset up up
Virtual-Template1 196.2.87.147 YES unset up down
V
0
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012
18 déc. 2012 à 10:44
Merci pour aide il était un problème dans le NAT
c'est résolu Merci d'avance
0
drkamine85 Messages postés 8 Date d'inscription lundi 17 décembre 2012 Statut Membre Dernière intervention 18 décembre 2012
18 déc. 2012 à 09:57
Bonjour , voila la resulta
#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S* 0.0.0.0/0 is directly connected, Dialer0
10.0.0.0/32 is subnetted, 1 subnets
C 10.0.1.20 is directly connected, Dialer0
192.168.70.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.70.0/24 is directly connected, Vlan1
L 192.168.70.1/32 is directly connected, Vlan1
196.2.87.0/32 is subnetted, 1 subnets
C 196.2.87.147 is directly connected, Dialer0



#traceroute 8.8.8.8
Type escape sequence to abort.
Tracing the route to 8.8.8.8
VRF info: (vrf in name/id, vrf out name/id)
1 10.0.1.20 48 msec 48 msec 48 msec
2 10.0.1.1 48 msec 48 msec 44 msec
3 196.2.80.33 48 msec 48 msec 48 msec
4 81.192.1.233 52 msec 48 msec 56 msec
5 149.11.18.69 196 msec 56 msec 60 msec
6 * * *
7 * * *
8 * * *
9 * * *
10 154.54.62.66 100 msec
154.54.61.218 100 msec
154.54.62.66 100 msec
11 149.6.146.30 100 msec 100 msec 100 msec
12 209.85.255.78 96 msec 100 msec 96 msec
13 * * *
14 * * *
15 216.239.49.36 112 msec 112 msec 116 msec
16 * * *
17 8.8.8.8 112 msec 112 msec 116 msec


Merci d'avances
0