Modérateur: Barbapapa
---------> Subnet 1
Modem ----> Switch |
---------> Subnet 2
@lex99 a écrit :Bonjour,
J'ai besoin de segmenter mon LAN tout en donnant accès à internet aux deux segments, mais ils ne peuvent pas se voir.
J'ai un switch L3 dans lequel j'ai créé un 2° subnet séparé du premier, sur un VLAN séparé.
You often hear the terms Subnet and VLAN used interchangeably. With the ubiquitous nature of IP these days, when are the two not considered roughly the same from a high-level, understanding that VLANs are L2 and Subnets are L3. In other words, are there any cases for having a VLAN without a Subnet, and still have IP (L3) communication? [Also ignoring that all networks are not subnets when considering classful networks which all are really just CIDR prefixes these days.]
f they are used interchangeably then they are used incorrectly.
Subnet refers to particular IP network, such as 192.0.2.0/28
VLAN refers to 802.1Q standard, in which you can essentially give each port unique MAC address table, effectively separating them from each other.
VLAN may transport one or more subnet (but does not have to, it may be transporting something else than IP entirely). Subnet may be configured for VLAN, but does not have to be, it could be without 802.1Q or over some completely different L2 technology than ethernet.
Subnets (L3) and VLANs (L2) are on different layers. The terms should not be used interchangeably. A VLAN can contain one or more L3 prefixes ("Subnets"). For a layman this could cause confusion. Often people don't understand that these two are connected but not the same. People might say The host located in our server subnet or The server located in the DMZ VLAN and mean the same thing.
esperlu a écrit :Si ton switch est L3, c'est là que tu dois définir tes routes. La Bbox en mode bridge (comme modem) vers le switch.
- Code : Tout sélectionner
---------> Subnet 1
Modem ----> Switch |
---------> Subnet 2
J'essayerai de te faire un schéma plus détaillé ce soir.
NuxPowa a écrit :Logique, un switch n'est pas un routeur.
esperlu a écrit :NuxPowa a écrit :Logique, un switch n'est pas un routeur.
Mais un L3 switch bien!
NuxPowa a écrit :N'importe quel switch utilise layout/couche 3
NuxPowa a écrit :
@lex: normal que ton Bbox ne fonctionne pas, il ne gère pas le subnet, la Bbox est bridée à la base.
Ce qu'il te faut est: soit bridger la Bbox.
Si tu ne le fais pas, c'est ce qu'on appelle la "cascade" de deux routeurs en LAN et NAT ou DMZ et en ayant un bon routeur derrière (flashé en DD-WRT) pour le subnet.
NuxPowa a écrit :esperlu a écrit :NuxPowa a écrit :Logique, un switch n'est pas un routeur.
Mais un L3 switch bien!
N'importe quel switch utilise layout/couche 3 ainsi que le STP (spanning tree protocol), à l'opposé d'un hub qui n'utilise que L2
La différence entre entre un switch et un routeur est que le routeur retient la table de routage, le switch pas.
@lex: normal que ton Bbox ne fonctionne pas, il ne gère pas le subnet, la Bbox est bridée à la base.
Ce qu'il te faut est: soit bridger la Bbox.
Si tu ne le fais pas, c'est ce qu'on appelle la "cascade" de deux routeurs en LAN et NAT ou DMZ et en ayant un bon routeur derrière (flashé en DD-WRT) pour le subnet.
esperlu a écrit :Si ton switch est L3, c'est là que tu dois définir tes routes. La Bbox en mode bridge (comme modem) vers le switch.
- Code : Tout sélectionner
---------> Subnet 1
Modem ----> Switch |
---------> Subnet 2
J'essayerai de te faire un schéma plus détaillé ce soir.
Retour vers Discussion réseaux
Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit