Cisco 1811

Fermé
Heri - 4 juin 2016 à 21:27
 Heri - 5 juin 2016 à 10:35
Bonjour a toutes et a tous,
Je suis un tout petit newbie Cisco et j ai besoin de votre aide,
Ca fait une semaine que je me casse les dents sur mon probleme :)

J ai creer 5 vlans du style
vlan2,3,4,5,6,7 et j y ai associe des ports
vlan2 port fa2 et 3
vlan3 port fa4 et 5
vlan4 port fa6
vlan5 port fa7
vlan6 port fa8
vlan7 port fa9

Mon routeur est branche a ma Livebox via son port wan fa1.
J ai mis une adresse ip statique a ce port dans ma box et dans le routeur.
J ai mis mon port wan dans la dmz de la box.

J arrive a pinguer entre lan, a pinguer ma Livebox et tout equipement branche
directement sur ma Livebox.
Mais impossible de sortir sur internet, quand je ping 8.8.8.8 j ai :

36 bytes from 192.168.3.254: Destination Host Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 a794 0 0000 3f 01 005c 192.168.3.1 8.8.8.8

Je vous joins ma config

En espérant avoir de l aide car je ne vois pas ou j ai commis une erreur qui doit etre enorme lol.
ps : Desole pour le manque d accent mais j ai un clavier qwerty

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router-domoticity
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
enable password ********
!
aaa new-model
!
!
aaa authentication login default local
!
!
aaa session-id common
!
crypto pki trustpoint TP-self-signed-2437419833
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2437419833
revocation-check none
rsakeypair TP-self-signed-2437419833
!
!
crypto pki certificate chain TP-self-signed-2437419833
certificate self-signed 01 nvram:IOS-Self-Sig#6.cer
dot11 syslog
ip source-route
!
!
!
ip dhcp pool pool_casa
network 192.168.2.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
ip dhcp pool pool_domoticity
network 172.100.100.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
ip dhcp pool pool_wifiinvite
network 192.168.3.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease 0 10
!
ip dhcp pool pool_vpn
network 172.10.10.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
ip dhcp pool pool_telephonie
network 172.20.20.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username domoticity secret 5 $1$r9uv$HUPxpvSPOJqX4.xD1dBDx/
!
!
!
archive
log config
hidekeys
!
!
ip ssh time-out 60
ip ssh port 2909 rotary 1
ip ssh logging events
ip ssh version 2
!
!
!
interface FastEthernet0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1
description ** WAN principal **
ip address 192.168.1.254 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet2
switchport access vlan 2
!
interface FastEthernet3
switchport access vlan 2
!
interface FastEthernet4
switchport access vlan 3
!
interface FastEthernet5
switchport access vlan 3
!
interface FastEthernet6
switchport access vlan 4
!
interface FastEthernet7
switchport access vlan 5
!
interface FastEthernet8
switchport access vlan 6
!
interface FastEthernet9
switchport access vlan 7
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 192.168.2.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan3
ip address 172.100.100.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan4
ip address 172.200.200.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan5
ip address 192.168.3.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan6
ip address 172.10.10.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan7
ip address 172.20.20.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Async1
no ip address
encapsulation slip
!
ip forward-protocol nd
ip http server
ip http port 2003
ip http secure-server
!
!
ip nat inside source list WANACCESS interface FastEthernet1 overload
!
ip access-list standard WANACCESS
permit 192.168.2.0 0.0.0.255
permit 192.168.3.0 0.0.0.255
permit 172.10.10.0 0.0.0.255
permit 172.20.20.0 0.0.0.255
permit 172.200.200.0 0.0.0.255
permit 172.100.100.0 0.0.0.255
!
!
!
!
!
!
!
control-plane
!
banner login 
    • **
    • **
    • Acces restreint **
    • **
    • **


banner motd 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ @@
@@ 00
@@ Routeur 00
@@ 00
@@ Domoticity 00
@@ 00
@@ @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

!
line con 0
line 1
modem InOut
stopbits 1
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
rotary 1
!
end


1 réponse

brupala Messages postés 109460 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 27 avril 2024 13 627
5 juin 2016 à 10:00
Salut,
c'est pas mal dans l'ensemble, mais il y a plusieurs erreurs:
Dans tes pools dhcp, la passerelle par défaut doit être l'adresse du cisco dans le pool, pas la box.
Tu dois faire une route par défaut statique:
ip route 0.0.0.0 0.0.0.0 192.168.1.1

voir commande sh ip route
0
Merci beaucoup brupala.
En quelques secondes tu as resolu mon problème sur lequel je suis depuis plusieurs jours. :)
0