Problème communication inter-VLAN & routeur

Fermé
lazoglu27 Messages postés 11 Date d'inscription mardi 26 mai 2009 Statut Membre Dernière intervention 28 juillet 2010 - 28 juil. 2010 à 14:50
lazoglu27 Messages postés 11 Date d'inscription mardi 26 mai 2009 Statut Membre Dernière intervention 28 juillet 2010 - 28 juil. 2010 à 15:50
Bonjour,

J'ai mis en place une architecture 1 routeur + 1 switch + 3 pcs (chacun dans un VLAN). Je rencontre un problème, les pcs d'un Vlan ne communiquent pas avec ceux des autres VLANs.
Je ne peux pinger le routeur.

Merci pour votre analyse :

Configuration routeur :

!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!

interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 10
ip address 192.168.2.254 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 20
ip address 192.168.3.254 255.255.255.0
!
interface FastEthernet0/0.4
encapsulation dot1Q 30
ip address 192.168.4.254 255.255.255.0
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
!
!

!
line con 0
line vty 0 4
login
!
!
!
end


Configuration switch :

!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end

Les pcs sont configurés correctement avec l'a@IP qui vont bien.

Merci de votre aide

2 réponses

totojordi Messages postés 318 Date d'inscription mardi 20 juillet 2010 Statut Membre Dernière intervention 17 mars 2013 22
28 juil. 2010 à 15:37
Le but d'un VLAN c'est qu'il ne communique pas avec les autres VLAN.

Donc à priori c'est normal.

Pourquoi ta carte FA 0/0 du routeur n'est pas shutdown ?


Et quel est l'adresse du routeur que tu essaies de pinger ?
0
lazoglu27 Messages postés 11 Date d'inscription mardi 26 mai 2009 Statut Membre Dernière intervention 28 juillet 2010
28 juil. 2010 à 15:50
Le routeur permet de communiquer justement, c'est au niveau 3. J'ai mi un .254 comme passerelle pour chaque vlan, ce sont les sous interfaces.
0