Bonjour,
J'ai enfin presque réussi la conf que je souhaitais faire mais impossible d'accéder à mon modem et de sortir.
Après test : mon router ping toutes les interfaces et même internet. Mon switch et mon PC sur vlan10 ping toutes les interfaces (y compris interfaces router) sauf ma livebox 192.168.1.1
A savoir : mon router ping sans soucis www.google.fr
Conf de mon switch
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$FUmg$byeg7yuO1e2/.xRr9Lqsz.
!
no aaa new-model
switch 2 provision ws-c2960s-48fps-l
!
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.251
dns-server 8.8.8.8
!
ip dhcp pool vlan20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.251
dns-server 8.8.8.8
!
ip dhcp pool vlan30
network 192.168.30.0 255.255.255.0
default-router 192.168.30.251
dns-server 8.8.8.8
!
ip dhcp pool vlan40
network 192.168.40.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.40.251
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet2/0/48
switchport trunk allowed vlan 1,10,20,30,40
switchport mode trunk
!
interface Vlan1
ip address 192.168.3.250 255.255.255.0
!
interface Vlan10
ip address 192.168.10.250 255.255.255.0
!
interface Vlan20
ip address 192.168.20.250 255.255.255.0
!
interface Vlan30
ip address 192.168.30.250 255.255.255.0
!
interface Vlan40
ip address 192.168.40.250 255.255.255.0
!
ip default-gateway 192.168.2.254
ip http server
ip http secure-server
!
!
line con 0
line vty 5 15
!
end
Conf de mon router
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$BChv$x/QL8i6nA4ca9zwO9qUCe.
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
aaa session-id common
!
ip domain name ataworld.fr
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
license udi pid CISCO2901/K9 sn FCZ1749C153
!
username one privilege 15 password 0 xxxxxxxx
username atalec privilege 15 password 0 xxxxxxxx
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 192.168.1.254 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.2.254 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 1 native
ip address 192.168.3.251 255.255.255.0
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 192.168.10.251 255.255.255.0
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 20
ip address 192.168.20.251 255.255.255.0
!
interface GigabitEthernet0/1.30
encapsulation dot1Q 30
ip address 192.168.30.251 255.255.255.0
!
interface GigabitEthernet0/1.40
encapsulation dot1Q 40
ip address 192.168.40.251 255.255.255.0
!
ip default-gateway 192.168.1.1
ip forward-protocol nd
!
ip http server
ip http authentication local
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
control-plane
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
transport input none
!
scheduler allocate 20000 1000
!
end
Merci par avance