Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1571 connectés 

  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Réseaux

  Vlan sur un switch HP 1910 -48G

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Vlan sur un switch HP 1910 -48G

n°104126
zoumzoum69​005
Posté le 12-12-2012 à 12:36:09  profilanswer
 

Bonjour à tous
 
Est ce que vous avez déjà testé la mise en place de Vlan sur switch hp V1910 ?
En matériel j'ai un pc et un switch.
Je souhaiterai diviser le switch en 2 vlan.
Donc j'ai vlan1 et vlan2
J'ai crée 2 interfaces ip pour les 2 vlans  
le premier est en 192.168.2.0 et le second vlan en 192.168.3.0  
Les ports doivent être en tagged ou untagged ?
J'arrive à pinguer le vlan1 quand mon pc est branché sur le port membre du vlan 1 mais que je me branche sur un port du vlan 2 je n'arrive pas à pinguer l'adresse 192.168.3.3 (ip de l'interface du vlan 2)
 
Merci pour vos précieux conseils

mood
Publicité
Posté le 12-12-2012 à 12:36:09  profilanswer
 

n°104129
still_at_w​ork
Posté le 12-12-2012 à 13:17:59  profilanswer
 

Fais un "show run" et poste la conf


---------------
In my bed, but still_at_work.
n°104130
zoumzoum69​005
Posté le 12-12-2012 à 13:28:08  profilanswer
 

en telnet je n'ai pas accès à la commande "show run"
j'ai fais un export de la configuration à partir de l'interface web :  
#
 version 5.20, Release 1513P05
#
 sysname HP V1910 Switch
#
 domain default enable system  
#
 telnet server enable  
#
 ip ttl-expires enable
#
vlan 1
#
vlan 2
#
radius scheme system
#
domain system  
 access-limit disable  
 state active  
 idle-cut disable  
 self-service-url disable  
#
user-group system
#
local-user admin
 authorization-attribute level 3
 service-type ssh telnet terminal
#
 stp mode rstp
 stp enable
#
interface NULL0
#
interface Vlan-interface1
 ip address 192.168.2.3 255.255.255.0  
#
interface Vlan-interface2
 ip address 192.168.3.3 255.255.255.0  
#
interface GigabitEthernet1/0/1
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/2
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/3
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/4
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/5
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/6
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/7
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/8
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/9
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/10
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/11
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/20
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/21
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/22
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/23
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/25
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/26
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/27
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/28
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/29
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/30
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/31
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/32
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/33
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/34
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/35
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/36
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/37
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/38
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/39
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/40
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/41
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/42
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/43
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/44
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/45
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/46
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/47
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/48
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 tagged
 stp edged-port enable
#
interface GigabitEthernet1/0/49
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/50
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/51
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/52
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
 snmp-agent
 snmp-agent local-engineid 800063A203D07E28128816
 snmp-agent community read public  
 snmp-agent community write private  
 snmp-agent sys-info version all
#
user-interface aux 0
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
return

n°104131
still_at_w​ork
Posté le 12-12-2012 à 13:30:12  profilanswer
 

Pour ton VLAN2, il faut que tes ports soient en untagged.


---------------
In my bed, but still_at_work.
n°104133
zoumzoum69​005
Posté le 12-12-2012 à 13:36:49  profilanswer
 

et voila les ports membres du Vlan 2 sont passés en untagged
#
 version 5.20, Release 1513P05
#
 sysname HP V1910 Switch
#
 domain default enable system  
#
 telnet server enable  
#
 ip ttl-expires enable
#
vlan 1
#
vlan 2
#
radius scheme system
#
domain system  
 access-limit disable  
 state active  
 idle-cut disable  
 self-service-url disable  
#
user-group system
#
local-user admin
 authorization-attribute level 3
 service-type ssh telnet terminal
#
 stp mode rstp
 stp enable
#
interface NULL0
#
interface Vlan-interface1
 ip address 192.168.2.3 255.255.255.0  
#
interface Vlan-interface2
 ip address 192.168.3.3 255.255.255.0  
#
interface GigabitEthernet1/0/1
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/2
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/3
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/4
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/5
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/6
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/7
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/8
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/9
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/10
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/11
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/20
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/21
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/22
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/23
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/25
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/26
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/27
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/28
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/29
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/30
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/31
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/32
 port link-type hybrid
 port hybrid vlan 1 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/33
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/34
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/35
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/36
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/37
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/38
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/39
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/40
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/41
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/42
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/43
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/44
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/45
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/46
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/47
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/48
 port link-type hybrid
 undo port hybrid vlan 1
 port hybrid vlan 2 untagged
 stp edged-port enable
#
interface GigabitEthernet1/0/49
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/50
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/51
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
interface GigabitEthernet1/0/52
 port link-type hybrid
 undo port hybrid vlan 1
 stp edged-port enable
#
 snmp-agent
 snmp-agent local-engineid 800063A203D07E28128816
 snmp-agent community read public  
 snmp-agent community write private  
 snmp-agent sys-info version all
#
user-interface aux 0
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
return

n°104135
still_at_w​ork
Posté le 12-12-2012 à 13:55:21  profilanswer
 

Et si tu fais à nouveau l'essai ?


---------------
In my bed, but still_at_work.
n°104139
zoumzoum69​005
Posté le 12-12-2012 à 14:43:05  profilanswer
 

du coup j'ai les 2vlans qui sont en untagged
Ca ne veut pas
J'arrive a pinger la vlan 1 mais pas le vlan 2
 

n°104140
still_at_w​ork
Posté le 12-12-2012 à 14:58:50  profilanswer
 

Tu branches bien ton PC sur un port du VLAN 2 ? Tu a changé l'adresse IP de ton PC ?


---------------
In my bed, but still_at_work.
n°104143
zoumzoum69​005
Posté le 12-12-2012 à 15:14:27  profilanswer
 

bon finalement ca a marché
j'ai passé tous les ports du switch en type "access"
ils étaient en hybrid avant
de ce fait le ping passe sur les 2 vlans
 
Merci bcp pour ton aide !
 

n°104961
@rnaud
Posté le 11-01-2013 à 18:58:58  profilanswer
 

oui en access ça passe, mais si tu le mets en hybride il faut penser à mettre le PVID


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Réseaux

  Vlan sur un switch HP 1910 -48G

 

Sujets relatifs
Perte de réseaux intempestive Windows 7 / SwitchQuestion bête switch HP Procurve E2510 et E2910
CISCO 3560 VLAN DATA/VOIXVlan et Wi-Fi besoin d'aide
Centrex Orange + VLAN[?] Uplink sur switch moderne = performance ?
équilibrage de charge avec 1 vlan et 1 adsl en éntrée ?probleme sur switch dgs-3100
Plusieurs VLAN's et & DHCP Etendues 
Plus de sujets relatifs à : Vlan sur un switch HP 1910 -48G


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR